Information générale
Catégorie:
Codage, syntaxe et commandes
Trey,
I move it in the Valid Event
regards,
Gerard
>>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()
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement