Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set Focus for combobox

Status
Not open for further replies.

VladimirKim

Programmer
Jan 20, 2005
49
US
Hi,
How do I set the focus for the combobox?
When I use:
combobox1.Focus = True
It gives me an error:
Expression is a value and therefore cannot be the target of an assignment.
Thanks
 
Oops, never mind.
It should be:
Combobox1.Focus()

It's a method, not a property.
Thanks:))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top