PDA

View Full Version : Seet Focus - Combo Box


OMID SOFT
04-19-04, 08:41 PM
I have a combo box with this style :
2-Dropdown List
When I want to focus on a specific field I get this error :
Text Property is read only.
When I use this code :
cmbReconnect.Text = PReconnect
Please note that the variable "PReconnect" is available in the Combo Box.
Thank you.
Omid Soroori of OMID SOFT.

dazz417
04-30-04, 10:04 AM
I have a combo box with this style :
2-Dropdown List
When I want to focus on a specific field I get this error :
Text Property is read only.
When I use this code :
cmbReconnect.Text = PReconnect
Please note that the variable "PReconnect" is available in the Combo Box.
Thank you.
Omid Soroori of OMID SOFT.
NOTE:
You can't assign a value to the text property of a Dropdown List combo at run time.

If "PReconnect" is already in the list at design time try putting double quotes around the edge.

cmbReconnect.Text = "PReconnect"