tabs

valetia at mac.com valetia at mac.com
Thu Feb 20 06:08:01 EST 2003


Assuming you already have a "mouseUp" function within the tabbed button that
takes care of what happens when a tab is clicked on, you could do this:

    set the menuHistory of button "My Tabbed Button" to 3
    send "mouseUp" to button "My Tabbed Button"

Hope this helps.

Valetia



> From: runrev at technetx.com
> Organization: Technetx
> Reply-To: use-revolution at lists.runrev.com
> Date: Thu, 20 Feb 2003 01:22:41 -0800
> To: "Run Time Revolution USE" <use-revolution at lists.runrev.com>
> Subject: tabs
> 
> OK, I'm losing it.  I had this just last week and for the life of me I can't
> think of how I did it.  I know it's a simple one liner but please, somebody
> jog my memory.
> 
> Let's say I have 4 tabs in a grouped control.  The text of the tabs from
> left to right is one, two, three and four.  Now, if I had another button
> (outside of the tabs), and when clicked, simply sent a mouseup to a specific
> tab, what is the code.  Supposing the selected tab is currently one, and I
> want it to switch to three without physically clicking tab three...
> 
> Sorry everybody, total brain dump.
> Thanks all.
> 
> Ron
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list