Re: Workaround For No selectionChanged Message?

2010-10-13 Thread Scott Rossi
Recently, I wrote: I have recently begun to struggle again with a simple text editor project and it seems when the contents of a field are selected via script (select text of fld 1), no selectionChanged message is sent. On a related note, how do folks handle maintaining text selections? I

Re: Workaround For No selectionChanged Message?

2010-10-13 Thread Monte Goulding
Hey Scott I currently have text formatting controls in a palette There's got to be an easier way. Are you sure you are using a palette? This should work without you doing anything? Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical

Re: Workaround For No selectionChanged Message?

2010-10-13 Thread Scott Rossi
Recently, Monte Goulding wrote: I currently have text formatting controls in a palette There's got to be an easier way. Are you sure you are using a palette? This should work without you doing anything? Um, yes, I'm pretty sure that palette stack xyz sets the stack's style to palette...

Re: Workaround For No selectionChanged Message?

2010-10-13 Thread Richard Gaskin
Scott Rossi wrote: Recently, Monte Goulding wrote: I currently have text formatting controls in a palette There's got to be an easier way. Are you sure you are using a palette? This should work without you doing anything? Um, yes, I'm pretty sure that palette stack xyz sets the stack's

Re: Workaround For No selectionChanged Message?

2010-10-13 Thread Monte Goulding
Um, yes, I'm pretty sure that palette stack xyz sets the stack's style to palette... :-) I thought you might know that ;-) But you got me thinking, I am trying to maintain the user's selection after the text has been styled, and it seems that even the LiveCode IDE doesn't do this

Workaround For No selectionChanged Message?

2010-10-12 Thread Scott Rossi
Am I living on another planet or is the selectionChanged message not triggered by selecting the contents of a field via script? I have recently begun to struggle again with a simple text editor project and it seems when the contents of a field are selected via script (select text of fld 1), no

Re: Workaround For No selectionChanged Message?

2010-10-12 Thread Phil Davis
Hi Scott, Your experience is consistent with mine. So when my code makes selection change, it sends selectionChanged to the target field right after doing so. Phil Davis On 10/12/10 5:42 PM, Scott Rossi wrote: Am I living on another planet or is the selectionChanged message not triggered

Re: Workaround For No selectionChanged Message?

2010-10-12 Thread Scott Rossi
Thanks for the confirmation Phil (couldn't believe I never ran across this in all my years dealing with Rev). Your solution is simple and appears to solve my dilemma. Thanks so much. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Phil Davis wrote: Your