Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use OptionButton instead of ComboBox
#6
Vegeta Wrote:The way I would do it (although some may argue against it, it may be bad coding practice) is just make the images and when you click the image have it set cmbClass.ListIndex = 0. Or 1 or 2 or whatever. Then hide the combo box off the screen.

Dunno if its right but, i made three new Option Buttons....

Code:
Private Sub Option1_Click()
cmbClass.ListIndex = 0
End Sub

Private Sub Option2_Click()
cmbClass.ListIndex = 1
End Sub

Private Sub Option3_Click()
cmbClass.ListIndex = 2
End Sub

Im sure its 100% wrong? Smile
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)