Search found 533 matches

by trevix
Thu Sep 03, 2020 8:49 am
Forum: Raspberry Pi
Topic: RaspberryPi Stacks
Replies: 120
Views: 110612

Re: RaspberryPi Stacks

Hi. Really incredible all the stacks you created. That's why, may be, you can help me out with this: Like I wrote in another post, I have been using the graph widget, but I found it way too limited for my uses: I would like to convert a scattered set of points (X,Y) to a smooth curved line (like in ...
by trevix
Mon Aug 24, 2020 9:14 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cubic Spline? Anyone?
Replies: 5
Views: 652

Re: Cubic Spline? Anyone?

Gasp!
Not very helpful to me.
I need some LC code
by trevix
Mon Aug 24, 2020 6:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cubic Spline? Anyone?
Replies: 5
Views: 652

Cubic Spline? Anyone?

Hi. I have been using the graph widget but I would like to convert a scattered set of points (X,Y) to a smooth curved line (like in the attachment). So, giving up the graph widget, I did some research and I realized that: - my math sucks - probably i need to do "cubic spline interpolation" (!?) Some...
by trevix
Sun Aug 16, 2020 12:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Filter data entry on DataGrid Form
Replies: 3
Views: 541

Re: Filter data entry on DataGrid Form

Thanks.
I also added this, otherwise "@" can be keyed on OSX:

Code: Select all

On OptionKeyDown then
     Beep
end OptionKeyDown
by trevix
Sun Aug 16, 2020 11:37 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Filter data entry on DataGrid Form
Replies: 3
Views: 541

Filter data entry on DataGrid Form

I am having some problem on filtering the user input keys for a Datagrid Form. This, on the script of the editable field of the row template, does not intercept the keydown. on keyDown inKey if inkey is not in "0123456789abcdefghijklmnopqrstuvwxyz" OR the number of chars of me > 16 then beep else pa...
by trevix
Wed Aug 12, 2020 10:33 pm
Forum: Android Deployment
Topic: API level 29
Replies: 1
Views: 566

API level 29

OSX 10.14.6 LC 9.6.0 jdk 1.8.0_231.jdk After reading this: https://forums.livecode.com/viewtopic.php?f=53&t=31563&p=171738&hilit=api+level+29#p171738 I opened the SDK manager and updated to API 29 But I still get this on the Google Play Console, updating 4 separated APK: Your app currently targets A...
by trevix
Tue Aug 04, 2020 1:12 pm
Forum: Android Deployment
Topic: [SOLVED] Refocus On Edit Field
Replies: 9
Views: 2717

Re: [SOLVED] Refocus On Edit Field [NOW IS SOLVED]

OK. I I put this on the 2 fields, the keyboards behave correctly.

Code: Select all

on openField
     if environment() = "mobile" then
          wait 10 milliseconds
          focus on me
     end if
end openField
It shouldn't need this, tought
by trevix
Tue Aug 04, 2020 12:24 pm
Forum: Android Deployment
Topic: [SOLVED] Refocus On Edit Field
Replies: 9
Views: 2717

Re: [SOLVED] Refocus On Edit Field

Whatever it means, I discovered that if I put this in the 2 fields, the keyboard behave correctly:

Code: Select all

on openField
     if environment() = "mobile" then
          answer "something"
     end if
end openField
Now I only need to find something a little less "intrusive"...
by trevix
Tue Aug 04, 2020 11:38 am
Forum: Android Deployment
Topic: [SOLVED] Refocus On Edit Field
Replies: 9
Views: 2717

Re: [SOLVED] Refocus On Edit Field

"set the keyboardActivated to true" will never work, because is a message sent to the current card. Can't be set. I am having the same problem, that is: - click on a Android (7.0 hardware) field in order to edit. OK - write your stuff and click on a different field in order to write or edit the seco...
by trevix
Wed Jul 29, 2020 10:14 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to add ChromeCast compatibility
Replies: 0
Views: 845

How to add ChromeCast compatibility

As the title says, I would like to know if it is possible (and how) to add ChromeCast compatibility to a LC standalone for iOS. On Android I assume I can just share the screen. But, for what I know, this is not possible on iOS devices. (ChromeCast is a little cheap (€35) google device that attached ...
by trevix
Sun Jul 12, 2020 8:34 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Visual effects going to substack?
Replies: 13
Views: 4062

Re: Visual effects going to substack?

Ok: in order to make it work I had to do a send in time > loop.
Boh. Thanks anyway for your answers.
by trevix
Sat Jul 11, 2020 12:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Visual effects going to substack?
Replies: 13
Views: 4062

Re: Visual effects going to substack?

I was referring to this: repeat with U = 0 to 100 set the blend level of image "something" to U end repeat Somehow is not fading/redrawing on the simulator (ok on OSX). No matter if inter a delay in the loop But I don't see why it could not be: repeat with U = 0 to 100 set the blend level of image "...
by trevix
Sat Jul 11, 2020 12:01 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Visual effects going to substack?
Replies: 13
Views: 4062

Re: Visual effects going to substack?

but you could fake a visual effect with stacks, at least the "dissolve" one. 1. Use a repeat loop and set the blendlevel of stack one until it is totally transparent. 2. Hide this stack 3. Use another repeat loop and set the blendlevel of stack two to "fade" this one in Hi. This does not seems to w...
by trevix
Wed Jun 24, 2020 4:36 pm
Forum: Bug Triage
Topic: Datagrid form: errorDialog on DeleteFieldEditor command
Replies: 4
Views: 887

Re: Datagrid form: errorDialog on DeleteFieldEditor command

Forgot to mention that on IDE, turning off the scrip debug mode (off course), I get the same error. In this case (a customise error handling) I tried to replace the editable field (that's why the fld ID is different) Schermata 2020-06-24 alle 17.05.25.png Anyway, I've got a test stack that behaves a...
by trevix
Wed Jun 24, 2020 2:50 pm
Forum: Bug Triage
Topic: Datagrid form: errorDialog on DeleteFieldEditor command
Replies: 4
Views: 887

Re: Datagrid form: errorDialog on DeleteFieldEditor command

Ok, I got it. The var "theEditor" is field id 14810 of group 11097 of group ID 11090 of group id 11078 of card ID 10833 of stack "MyMainstack" where: group ID 11090 of group id 11078 of card ID 10833 of stack "MyMainstack" is my DG form group as for "field id 14810 of group 11097", I have no idea. P...

Go to advanced search