Tab Button question

Kay C Lan lan.kc.macmail at gmail.com
Thu Dec 10 21:00:31 EST 2009


The docs seem to fully explain the situation, in the Dictionary, under the
entry for menuPick it says:

(However, no menuPick message is sent when an already-chosen tab in a tabbed
button is clicked, since no menu is displayed.)

Might not be how you want it to behave, but it's clearly documented that
that's the way it is. Seems reasonable to me, FireFox, Safari and tRev don't
seem to do anything when I select the already active tab again. In my stacks
that use tabs I appreciate not wasting cycles on something that has already
been done.

On Fri, Dec 11, 2009 at 7:36 AM, <DunbarX at aol.com> wrote:

> I make a tab button and click on a tab. The tab hilites. A menuPick message
> is sent to the button.
>
> But the menuPick message is not sent if the hilited tab is clicked again.
> Why should this be so? MouseDown and mouseUp are always sent. Thank
> goodness.
>
> MenuPick is sent with similarly constructed objects like a combo box, where
> reselecting a previously selected (and showing) menuItem still sends the
> menuPick message.
>
> Seems logical it ought to.
>
> Thanks.
>
> Craig Newman
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the Use-livecode mailing list