[prev in list] [next in list] [prev in thread] [next in thread] 

List:       visual-tcl
Subject:    Re: [vtcl] How to emulate pressing a button from pull down menu?
From:       Rick Macdonald <rickm () vsl ! com>
Date:       1999-08-15 2:03:21
[Download RAW message or body]

On Sat, 14 Aug 1999, rjent@rjent.pair.com wrote:

> I have a program that has buttons to access different windows.  I would like to
> add pulldown menus that would just represent a button click.
> Thoughts welcome.

You just put the same command on the menu as on the button. Or, you could
give the button an alias, such as "but1", and then put this command on the
menu item:   

     $widget(but1) invoke

...RickM...

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to majordomo@neuron.com with "unsubscribe vtcl you@your.address" in the
message body (where you@your.address is your e-mail address).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic