Disabling items in an option-style button
janschenkel at yahoo.com
Sat Aug 17 00:24:01 EDT 2002
I already had a sneaky suspicion this was the case ;-)
So I built myself a simple pop-up stack and set that
as the menuName, like I described below. It would have
been easier if it worked in the default opion button,
but that's okay.
Plus, now I finally got to toy around with that more
advanced part of MC/RR, and I like it *beam*
Thanks for your reply,
--- Ken Ray <kray at sonsothunder.com> wrote:
> Both the "option" and "combobox" buttons actually
> use fields to display
> their contents (under the hood), and there is no way
> to draw a line in a
> field (right now).
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> ----- Original Message -----
> From: "Jan Schenkel" <janschenkel at yahoo.com>
> To: <use-revolution at lists.runrev.com>
> Sent: Friday, August 16, 2002 5:52 AM
> Subject: Disabling items in an option-style button
> > Hi all,
> > In the process of preparing a conversion of an
> > existing FoxPro program to RunRev, I ran into a
> > problem.
> > Here's the deal:
> > The user can choose a country from a popup-menu
> > 14 items: the first is the selected item; the
> second a
> > disabled horizontal line; then the 10 pre-selected
> > items from the preferences; then another disabled
> > horizontal line; then the item 'Other...' which
> > displays a complete list where the user can pick
> > it's not in the 10 pre-selected items.
> > So for testing purposes i made an option menu
> > Belgium
> > (-
> > Belgium
> > Netherlands
> > Luxembourg
> > United Kingdom
> > France
> > Germany
> > Italy
> > Spain
> > Portugal
> > United States
> > (-
> > Other...
> > However, RunRev stubbornly refuses to disable the
> > horizontal lines, if you're working with an option
> > combo-box style button.
> > Admittedly, I can mimick the behaviour by building
> > substack, setting the menuName of the option
> button to
> > that substack, and have it show a
> > 'preOpenStack'-prepared version of a collection of
> > buttons and two horizontal lines.
> > But is this workaround really necessary or am I
> > missing something obvious? Btw, I'm running
> > 1.1.1r2 under WinME.
> > Jan Schenkel.
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
More information about the Use-livecode