the selection returns empty

Devin Asay devin_asay at byu.edu
Mon Jan 9 15:02:10 EST 2012


Roger,

For list fields use the hilitedLine(s) instead of the selection or the selectedLine.

Devin


On Jan 9, 2012, at 12:59 PM, Roger Eller wrote:

> I am probably missing something simple, but if I select a line in a list
> field, then click a button that puts the selection into a variable, it
> works the first time.  However, if focus changes to another object, but the
> selection is still visibly shown in the list field, the button now returns
> empty.
> 
> How can I get my button to always return the visibly selected content of
> this specific list field?
> 
> ~Roger
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University







More information about the use-livecode mailing list