Setting MenuButton on openCard

Martin Blackman martinblackman at gmail.com
Sun Dec 16 08:20:32 EST 2007


OK.
Btw, reversing the order by setting the label and then text works OK too.

On 16/12/2007, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:
>
> Martin,
>
> I think this is a Rev bug and I also believe it has been reported
> already.
>
> Best regards,
>
> Mark Schonewille
>
> --
>
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
>
> Quickly extract data from your HyperCard stacks with DIFfersifier.
> http://differsifier.economy-x-talk.com
>
>
> Op 16-dec-2007, om 14:11 heeft Martin Blackman het volgende geschreven:
>
> > A belated reply, but similar issue - I want to let the user create
> > option
> > menus on demand in my program.  After creating an option menu
> > button, it
> > displays the name of the button as its label. Then I put some text
> > into the
> > button and try to set the label to line 1 of the text - to no
> > avail, the
> > name of the button sticks in the display.
> > A workaround is to set the label to something else, eg. empty, and
> > then set
> > it back again.  My reasoning is that when you set the text of the
> > button
> > initially, it automatically gets the first line as its label but
> > the display
> > doesnt update, then when you set the label to line 1 of the text,
> > it sees
> > this as No Change (No menupick sent) and hence still doesn't update.
> >
> > regards
> > Martin
> >
> _______________________________________________
> 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