Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use OptionButton instead of ComboBox
#1
Hello, Im pretty new to VB, and im trying to learn it.
Im trying to make all the Selection's (like male/female, pick character, Class selection) as pictures instead of those nasty "lists" etc...
So my question is: How can i set the Class selection as Option buttons?


This is the current one as a ComboBox but i need it in OptionButtons:

Code:
Private Sub cmbClass_Click()
    lblHP.Caption = STR(Class(cmbClass.ListIndex).HP)
    lblMP.Caption = STR(Class(cmbClass.ListIndex).MP)
    lblSP.Caption = STR(Class(cmbClass.ListIndex).SP)
    
    lblSTR.Caption = STR(Class(cmbClass.ListIndex).STR)
    lblDEF.Caption = STR(Class(cmbClass.ListIndex).DEF)
    lblSPEED.Caption = STR(Class(cmbClass.ListIndex).speed)
    lblMAGI.Caption = STR(Class(cmbClass.ListIndex).MAGI)
    
    lblClassDesc.Caption = Class(cmbClass.ListIndex).desc
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)