I have a re-sizable GUI with GRID like input boxes. Each box will only contain 2-3 insertable characters. There are few features i would like to add, just a newbie and can't figure out it.
When i resize the gui, the input boxes width expands to size of the GUI, but the Height remains the same, is there anyway to increase to Height when the gui is resized?
Also, would like to add a "reset" button at the bottom to Clear any text that has been typed into all the fields. Any help or pointers would be greatly appreciated. Thank you
#include <GUIConstants.au3>
Example()
Func Example()
Local $hGUI = GUICreate("DG", 132, 125, -1, -1, $WS_SIZEBOX + $WS_EX_LAYERED)
GUISetState(@SW_SHOW, $hGUI)
WinSetTrans($hGUI, "", 170)
GUICtrlCreateInput("", 0, 0, 33, 25)
GUICtrlCreateInput("", 33, 0, 34, 25)
GUICtrlCreateInput("", 67, 0, 34, 25)
GUICtrlCreateInput("", 100, 0, 34, 25)
GUICtrlCreateInput("", 0, 25, 33, 25)
GUICtrlCreateInput("", 33, 25, 34, 25)
GUICtrlCreateInput("", 67, 25, 34, 25)
GUICtrlCreateInput("", 100, 25, 34, 25)
GUICtrlCreateInput("", 0, 50, 33, 25)
GUICtrlCreateInput("", 33, 50, 34, 25)
GUICtrlCreateInput("", 67, 50, 34, 25)
GUICtrlCreateInput("", 100, 50, 34, 25)
GUICtrlCreateInput("", 0, 75, 33, 25)
GUICtrlCreateInput("", 33, 75, 34, 25)
GUICtrlCreateInput("", 67, 75, 34, 25)
GUICtrlCreateInput("", 100, 75, 34, 25)
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
ExitLoop
EndSwitch
WEnd
GUIDelete($hGUI)
EndFunc ;==>Example