Value of the SelectedLine

Richard Gaskin ambassador at fourthworld.com
Fri Apr 18 11:57:55 EDT 2008


Gregory Lypny wrote:
> When I type
> 	
> 	put the value of the selectedLine of fld "X" of stack "S"
> 
> into the message box, I get a result.  But when I place it in the  
> button of stack Z, I get nothing.  Why is that?

What's in the selectedText?  Maybe it evaluates to empty?

Or is it the case that clicking on the button is causing the text to be 
unselected?

-- 
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com




More information about the use-livecode mailing list