Search found 345 matches

by stam
Mon Apr 19, 2021 6:57 pm
Forum: Off-Topic
Topic: Comparison with Xojo . . .
Replies: 18
Views: 1454

Re: Comparison with Xojo . . .

Xojo just sent me an e-mail: For what it's worth: I came from XOJO and had been using it for a number of years. If you think there aren't serious problems on that side of the fence, then I'd like to have some of whatever it is you're smoking ;) I won't mention all the weirdness that comes with part...
by stam
Mon Apr 19, 2021 6:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: splitting a long icon path into several lines - possible ?
Replies: 8
Views: 301

Re: splitting a long icon path into several lines - possible ?

The easiest way to import an SVG is to use the "Import as control" menu item to import an image. Ah, thank you Jacque... i think i kinda knew that already, but because i had gone through the lesson in detail early on, that kinda stuck with me even though i've actually imported my own custom SVGs as...
by stam
Sun Apr 18, 2021 8:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Case of the Missing Message Box
Replies: 9
Views: 1470

Re: Case of the Missing Message Box

Any offers for a fix? Hi Ross, Maybe try and delete the liveCode preferences file ? I did this to correct bizarre behaviour in the script editor and it worked a treat. Try to trash your LC prefs, use the message box to locate the file: put the filename of stack "revpreferences" Quit LC and move the...
by stam
Sun Apr 18, 2021 8:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: splitting a long icon path into several lines - possible ?
Replies: 8
Views: 301

Re: splitting a long icon path into several lines - possible ?

I must say SVG paths are just one of those things i just don't understand - so i just copy code from the internet which is really quite a rich source. Unfortunately getting that data into LC remains a challenge (unless i'm missing something? - the only way i know of is to strip the svg path from non...
by stam
Sun Apr 18, 2021 11:30 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 623

Re: On TextChanged not firing when field changed by script

Thanks for the really interesting answers everyone - hugely varied approaches, have given me a lot to think about. I can see that textChanged should not be altered - maybe in the future a new message called textModified or some such could fill this gap. If more people agree that's a useful addition ...
by stam
Sat Apr 17, 2021 5:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 623

Re: On TextChanged not firing when field changed by script

dunbarx wrote:
Sat Apr 17, 2021 3:52 pm
As a matter of opinion (mine) I also think that the textChanged message should be more universal. It should fire if the, er, text has changed, period.

Craig
+1!
by stam
Sat Apr 17, 2021 5:02 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 623

Re: On TextChanged not firing when field changed by script

Check out the post just above yours. I used "idle" as the engine to do just that. Hi Craig - the documentation/dictionary advises against this. In their examples, the advise against using the idle handler like this: on idle -- avoid if possible global startTime if the seconds > startTime + 60 then ...
by stam
Sat Apr 17, 2021 12:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 623

Re: On TextChanged not firing when field changed by script

I suppose it wouldn't be too difficult to write a script that periodically checks for changes in the field. I.e. store previous value in script variable, compare with current variable and if a change then run the script that updates the database, then call itself again in xx time. Bit messy though, ...
by stam
Sat Apr 17, 2021 1:12 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 623

Re: On TextChanged not firing when field changed by script

IIRC the textChanged message was added for interaction only, to provide one-stop shopping for human interaction... thanks Richard - as i'm inherently lazy, I had been hoping that wasn't the case, as this field will be modified from any of about 30 other controls, which on the face of it would mean ...
by stam
Sat Apr 17, 2021 12:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 623

Re: On TextChanged not firing when field changed by script

when the button is clicked "xXx'" is appended to the text in field "ff", but the textChanged script in the field script does NOT fire. Thanks Richmond, i too created a simplified example and like you created a button to put the long time in the field. The textChanged handler doesn't fire unless i m...
by stam
Fri Apr 16, 2021 4:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 623

On TextChanged not firing when field changed by script

Hi all, according to the documentation, this Is dispatched by the field whenever a user (or simulated user) action causes the content of the field to change. I have a setup where a complex set of graphics that creates a summary parameter - i was hoping to use that as a trigger to update a database e...
by stam
Tue Apr 13, 2021 11:15 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: IDE windowed mode
Replies: 40
Views: 2393

Re: IDE windowed mode

This is all that I could find, and I see very little connexion with the way the LC IDE might be displayed: SShot 2021-04-13 at 11.53.42.png This is how you would integrate with Dash on Mac: https://kapeli.com/dash_guide#integration Apparently Dash docsets (e.g. LiveCode) can be read by native apps ...
by stam
Tue Apr 13, 2021 9:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: IDE windowed mode
Replies: 40
Views: 2393

Re: IDE windowed mode

Single window IDE or not you are going to need a lot of parking space if you don't want any of those overlapping. Probably not as much as you think - I imagine it would fit in the standard width of a palette and the height of the screen, with say 3 tabs (as icons), 1 for all properties, 1 for brows...
by stam
Tue Apr 13, 2021 8:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: IDE windowed mode
Replies: 40
Views: 2393

Re: IDE windowed mode

I’m not fussed about a single window system. Mostly LC works just fine, hence everyone here is using it frequently. My pet peeve is about the multitude of floating palettes. If there was a sensible way to consolidate and dominate them that would be just fine. Not uncommon to have the app browser, st...
by stam
Mon Apr 12, 2021 10:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: IDE windowed mode
Replies: 40
Views: 2393

Re: IDE windowed mode

Not everyone lives in Stockholm. I'm in southern California... A great place to live! And i do use your 4wDevo all the time - and recommend it (and arguably creating Devolution was a way to break out of the Stockholm syndrome ;)) But it doesn't really solve the issue with with multiple overlapping ...

Go to advanced search