AW: How to access the text of an option btn before menuPick?
Tiemo Hollmann TB
toolbook at kestner.de
Fri Oct 9 09:51:04 EDT 2015
Hi Craig,
I don't want to display the full text of the option button, but only one
line of the text while hovering the text (or right click buttonDown on a
single line), so that the user can see, what he would choose, if he clicks
any line.
I think my problem is that "the hilitedline" works only with fields and not
with the text of an option button, as far as I see it.
Thank you
Tiemo
-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag
von dunbarx at aol.com
Gesendet: Freitag, 9. Oktober 2015 15:00
An: use-livecode at lists.runrev.com
Betreff: Re: How to access the text of an option btn before menuPick?
Why not set the toolTip to the text of the button? I don't know how large a
display that would be, or whether that format would be tenable.
You could always use the "mouseWithin" message to display a field, offset a
bit from the combo. and display the text of the button. At least you can
control the properties of the field.
Craig Newman
-----Original Message-----
From: Tiemo Hollmann TB <toolbook at kestner.de>
To: LiveCode User Liste senden <use-livecode at lists.runrev.com>
Sent: Fri, Oct 9, 2015 8:50 am
Subject: How to access the text of an option btn before menuPick?
Hello,
I have an option button with long text lines as options, but the button
itself is smaller (width) as the text lines (because of layout
restrictions), so that you can't read the full text of the options.
Now I would like to find any solution to show the user the full content of
the text lines before he clicks any choice. Either by hovering or right
click or anything else I would like to put the line into the tooltip or
anything else. By now I failed to grab the hilitedLine of the option menu.
Any idea how to access the text by hovering or right click?
Thanks
Tiemo
_______________________________________________
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
_______________________________________________
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
More information about the use-livecode
mailing list