[futurebasic] Re : [FB] Toggle this

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: "jonathan" <jonnnathan@...>
Date: Sun, 24 Oct 1999 03:12:51 +0200
> Hi gang:
> I'm trying to use a small popup menu for selecting what the user wants to
> print from a database (i.e., several fields). The popup filter in PG Pro
> will setup a popup menu very nicely. However, the PG Pro popup is set such
> that the user can select only one of the items shown in the popup. However,
> I want to use the popup so that the user can select any, and all,
> combinations of the items listed in the popup. Additionally, I want the
> popup to show a check mark beside every item the user selects and I can't
> seem to get that to work.
> The built in PG function like FN checkPopItem will place a check mark along
> side the item chosen -- but it removes all other checkmarks. I want the
> check marks to be removed only when the user selects the item a second time
> -- like a toggle. Now, I can do this easily enough with a standard menu,
> but can't seem to get it to work for a small popup menu. Anyone have any
> ideas of how to place multiple check marks in a popup menu? Keep in mind,
> that one also has to be able to tell which items were selected.

tedd, this sounds like you're trying to save window space by putting a
series of check boxes into a tighter place...

aas others have pointed out, your demand is very anti-HIG... but this
doesn't solve your problem if it is space induced...

here's a suggestion: a button, for example 'set params' next to the button
is a field titled 'current params'. When the user clicks on the button they
get a small dialog window with the check boxes. When they close this, you
grab the items that thet selected, pass them thru a table to get strings,
and put the strings, comma-separated into the 'current params' field.

This is probably not the answer to your question... but it may help get you
closer to the track.

All the best
(late-nite HIG gnome)