Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lisbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Lisbox
Divers
Thread ID:
01229002
Message ID:
01229004
Vues:
16
>Hi.
>I have some controls and , from within the control, I want to be able to call a lean Listbox, with a few options.
>I could call another form with a dropdown, but am wondering is there any pre built control that I can pass a few parameters
>
>The sort of thing...
>I am in a Commandbutton, and depending on other parameters, I want a popup and the user to select say, 1 of 3 options
>
>I am in a text box and again, depending on other parameters, I want a popup and the user to select 1 of a few options
>
>Ideally, call a routine like:
>X=MyPopup('Apple','Orrange','Pear') , the user selects, and the value is returned to x
>
>Any help appreciated.
>Regards,
>Gerard

Gerard

Not quite sure what you mean by "in a command button" etc. but, if you mean that the pressing of the command button changes the options in the listbox then iyt's a simple matter to have a form method that programmatically sets the listbox's RowSource, RowSourceType, etc.

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform