Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Cover a Combobox with a text Box
Message
From
26/08/2000 22:27:37
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00409524
Message ID:
00409587
Views:
19
>I am trying to set up a class which has the folowing functionality:
>1. I have a Combobox control
>2. In the same position on the screen, I have a text box which exactly covers the combo box (except for the Down Arrow)
>3. I will normally have the Text Box showing
>4. After I select the Combo Box (the down arrow will be visible) and choose my data, I move the contents to the text box
>5. At this point, I want the Text Box visible
>
>I can get most of the above to work,, except Point 5. After I leave the combo box,all the combo box still shows, unless I click in this location.
>
>(The reason I am doing this is to overcome limitations in ComboBoxes where I want to display descriptions from a file)
>
>Any help would be appreciated.
>
>Thanks
>
>Gerard

When do you move the contents to the textbox?
If it's not in a Valid() event, you can call textbox.SetFocus()
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform