Jump to content

Boss007

Active Members
  • Posts

    26
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Boss007 reacted to pieeater in script to manipulate Koda document   
    well this will make your gui work. i dont really see the point of making the select gender a button


    #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=gender select.kxf $Form2 = GUICreate("Select your Gender", 279, 213, 468, 254) $GroupBox1 = GUICtrlCreateGroup("", 48, 33, 185, 129) GUICtrlSetBkColor(-1, 0x008080) GUICtrlCreateGroup("", -99, -99, 1, 1) $Button1 = GUICtrlCreateButton("Male", 54, 107, 75, 25) GUICtrlSetBkColor(-1, 0x0054E3) $Button2 = GUICtrlCreateButton("Female", 149, 108, 75, 25) GUICtrlSetBkColor(-1, 0xFF00FF) $Button3 = GUICtrlCreateButton("Select Your Gender", 85, 52, 115, 25) GUICtrlSetBkColor(-1, 0x00FF00) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit Case $Button1 _maleFunction() Case $Button2 _femaleFunction() EndSwitch WEnd Func _maleFunction() ;insert code here EndFunc Func _femaleFunction() ;insert code here EndFunc
×
×
  • Create New...