Hi Dragan.
That's exactly what I was looking for and seems a very neat tool.
Thanks a lot , to all conteibutors, for your help, and for sharing code.
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
>
>Not sure that's what you want, but you may check my Alert.prg - download #
9445 - at least the syntax is very close to what you want.