|
-
July 7th, 2001, 03:18 AM
#1
About combo box
'Event controls on Gender combo box
private Sub cboGender_DropDown()
'cboGender.Locked = true
'Elements in the combo box
With cboGender
.List(0) = "Female"
.List(1) = "Male"
End With
End Sub
as the code above, i wanna prohibit users from typing words into combo box and limit them to choose either male or female, but the cboGender.Locked doesn't help. How to solve? Or do i use the wrong event procedure?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|