Gui, Add, Edit, vMyEdit
; Setting x and y prevents the button from changing the size
; of the GUI window when using autosize
Gui, Add, Button, Default Hidden x0 y0 gSubmit
Gui, Show, AutoSize
Return
Submit:
Gui, Submit
MsgBox Value in MyEdit was %MyEdit%
ExitApp
Forum Post
No comments:
Post a Comment