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
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
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...
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
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
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
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