Hi
When clicking on the arrow of a combo box, the drop down list appears below it, outside the boundries of the component. I would like to do something similar, can any one help please.
Thanks
BigAl
Printable View
Hi
When clicking on the arrow of a combo box, the drop down list appears below it, outside the boundries of the component. I would like to do something similar, can any one help please.
Thanks
BigAl
Think of it as a window resize:
just change the MyControl.Height, and .Refresh
Hi
Thanks for that and that is sort of what I am looking for. My real objective is to have component in the style of a textbox. When it is double clicked a numeric keypad apears on the screen(in a seperate form) when the enter key on this keypad is pressed the value entered is passed to the original text box and the keypad form is unloaded. I have already written the keypad component and have completed as shown below
I have created an activex that is basically a text box, the component also contains a form with the keypad activex on it.
My problem is then passing the value from the keypad to the textbox. i.e. how do I address it?
When I call the keypad form from the text box dblclick event I just say- frm_keypad.show but how do I say text1=keypad.output, I can't find a way. Please help!!!
Thanks Big Al
Talking about making something like the combobox, try www.vbaccelerator.com
Look for the DropDownToolWindow class and article, you will find a way of making any control appear like the drop down list of the combo box.
Resizing the usercontrol doesn't always help because some times you need the window to drop off the form. You know what I mean...
Cheers.