Help about buttons Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
HIAC
Posts: 111
Joined: 11 Oct 2017, 17:59
Location: Republic of Serbia

Help about buttons

26 Oct 2017, 08:19

Code: Select all

...
Gui, Add, Button, x50 y30 w300 h30, %mesec%
Return

GuiClose:
ExitApp

Button%mesec%:
MsgBox Ok
Return
Does not seem to work, any suggestions?
User avatar
Delta Pythagorean
Posts: 494
Joined: 13 Feb 2017, 13:44
GitHub: DelPyth
Location: Somewhere in the US

Re: Help about buttons  Topic is solved

26 Oct 2017, 08:24

Put a GLabel in the button:

Code: Select all

Gui, Add, Button, x50 y30 w300 h30 gButton, %mesec%
Return

GuiClose:
ExitApp

Button:
MsgBox Ok
Return
HIAC
Posts: 111
Joined: 11 Oct 2017, 17:59
Location: Republic of Serbia

Re: Help about buttons

26 Oct 2017, 08:28

Thank you very much, solved.

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], Chunjee, flyingDman, Google [Bot], jgcampbell300, millansoft and 258 guests