On 5/6/17 12:10 PM, Jim Lambert via use-livecode wrote:
Set the tabstops to a number greater than the width of the field.
Set the itemdelimter to tab.
Then put the OtherData of each line into the second item of each line.
As long as there’s no horizontal scrollbar on the field the user will never see
the OtherData.
Getting item 2 of the hilitedline will always give you the corresponding
OtherData for the word the user has selected.
I've done this often, it's a nice clean solution. And now that we can
set tabstops to 0, the second item won't be visible whether there's a
horizontal scrollbar or not.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode