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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Cursor in ListBox

Status
Not open for further replies.

bwk5502

Programmer
Aug 9, 2000
5
US
In VB6, how do I force the cursor to be active and initialize in an object like ListBox (with out the user have to click the box)? What instruction do I put in the form?
 
Private Sub Command1_Click()<br>&nbsp;&nbsp;&nbsp;&nbsp;List1.SetFocus<br>End Sub<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top