AW: How to access the text of an option btn before menuPick?

J. Landman Gay jacque at
Fri Oct 9 14:23:05 EDT 2015

On 10/9/2015 8:51 AM, Tiemo Hollmann TB wrote:
> 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.

On Mac, the menu expands to fit long text when the option button pops 
down. You don't have to do anything.

If it doesn't do that on Windows, the only thing I can think of is to 
make the button as wide as the longest text on mouseDown, and when the 
menu closes (in menuPick and mouseRelease,) set the width back to the 
original size.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the use-livecode mailing list