I did some searching on the forums and didn't see an answer to this. I have also messed with examples from AutoIt, but i couldnt get it working.
The script below has many checkboxes and I want to add a lot more. The problem is that I run out of room in the GUI. I know I can expand the GUI window, but I want to keep it the same size and just add a scroll bar to scroll through the check boxes. Can anyone assist me or point me in a good direction?
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
HotKeySet("{ESC}", "EndScript")
#Region ### START Koda GUI section ### Form=D:\Frank's Documents\Auto-It Scripts Archive\Scripts in Devlopment\Form1.kxf
$Form1 = GUICreate("GUI WITH SCROLLBARS", 327, 370, 193, 125)
$Chk_1 = GUICtrlCreateCheckbox("1", 25, 10, 200, 15)
$Chk_2 = GUICtrlCreateCheckbox("2", 25, 30, 200, 15)
$Chk_3 = GUICtrlCreateCheckbox("3", 25, 50, 200, 15)
$Chk_4 = GUICtrlCreateCheckbox("4", 25, 70, 200, 15)
$Chk_5 = GUICtrlCreateCheckbox("5", 25, 90, 200, 15)
$Chk_6 = GUICtrlCreateCheckbox("6", 25, 110, 200, 15)
$Chk_7 = GUICtrlCreateCheckbox("7", 25, 130, 200, 15)
$Chk_8 = GUICtrlCreateCheckbox("8", 25, 150, 200, 15)
$Chk_9 = GUICtrlCreateCheckbox("9", 25, 170, 200, 15)
$Chk_10 = GUICtrlCreateCheckbox("10", 25, 190, 200, 15)
$Chk_11 = GUICtrlCreateCheckbox("11", 25, 210, 200, 15)
$Chk_12 = GUICtrlCreateCheckbox("12", 25, 230, 200, 15)
$Chk_13 = GUICtrlCreateCheckbox("13", 25, 250, 200, 15)
$btnok = GUICtrlCreateButton("OK", 1, 340, 75, 25)
GUISetState(@SW_SHOW)
$Checked_State = False
#EndRegion ### END Koda GUI section ###
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
EndSwitch
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func EndScript()
Exit
EndFunc