xenium Posted July 16, 2007 Share Posted July 16, 2007 Say this imaginarey code below is real. and I want 2 copies of it each in their own tab. How would I go about doing that? I can't seem to figure this out. Thanks! $Checkbox_12 = GuiCtrlCreateCheckbox("Say it (/say)", 220, 160, 130, 20) $Input_13 = GuiCtrlCreateInput("Additional Channel (eg /4)", 10, 220, 190, 20) GuiCtrlSetState(-1, $GUI_DISABLE) $C_Delay = GuiCtrlCreateInput("Channel delay (min)", 10, 190, 190, 20) $UpDownInput_14 = GUICtrlCreateUpDown($C_Delay) GuiSetState() While 1 $case = GuiGetMsg() Select Case $case = $rpg_but EndSelect WEnd Link to comment Share on other sites More sharing options...
mrbond007 Posted July 16, 2007 Share Posted July 16, 2007 is this what you want ? #include <GUIConstants.au3> GUICreate("My GUI Tab",250,150) $tab=GUICtrlCreateTab (10,10, 200,100) $tab0=GUICtrlCreateTabitem ("tab0") GuiCtrlCreateCheckbox("Say it (/say)", 220, 160, 130, 20) GuiCtrlCreateInput("Additional Channel (eg /4)", 10, 220, 190, 20) GuiCtrlSetState(-1, $GUI_DISABLE) GuiCtrlCreateInput("Channel delay (min)", 10, 190, 190, 20) GUICtrlCreateUpDown($C_Delay) $tab1=GUICtrlCreateTabitem ( "tab----1") GuiCtrlCreateCheckbox("Say it (/say)", 220, 160, 130, 20) GuiCtrlCreateInput("Additional Channel (eg /4)", 10, 220, 190, 20) GuiCtrlSetState(-1, $GUI_DISABLE) GuiCtrlCreateInput("Channel delay (min)", 10, 190, 190, 20) GUICtrlCreateUpDown($C_Delay) GUISetState () GuiSetState() While 1 $case = GuiGetMsg() Select Case $case = $rpg_but EndSelect WEnd Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now