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:
01229035
Vues:
9
This sounds like a case for a short-cut, pop-up menu (activated with right-click), which you can design from the menu designer, or from code??????

>hI Tery, thanks for your reply.
>Basically wat I am looking for is a parameriscable POPUP facility which can be called from say a Text Box, Commandbutton etc.
>
>The effect would be to POP UP say a list of 5 options, and the user would select one. The popup would not exiat as a 'Permanent. control on the form.
>
>Regards,
>
>Gerard
>
>>>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
Répondre
Fil
Voir

Click here to load this message in the networking platform