Showing Buttons on a popup.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
s0gy
Posts: 7
Joined: 26 May 2022, 13:57

Showing Buttons on a popup.

Post by s0gy » 26 May 2022, 14:00

I was wondering how I would show buttons on a popup, what I want to happen is when I click a button a new gui with more buttons appears.

Thanks any help is appreciated.

User avatar
mikeyww
Posts: 26889
Joined: 09 Sep 2014, 18:38

Re: Showing Buttons on a popup.

Post by mikeyww » 26 May 2022, 15:12

Welcome to this AutoHotkey forum!

Code: Select all

Gui, Font, s10
Gui, Add, Text  , w250        , This is a GUI.
Gui, 2:New,, GUI #2
Gui, Font, s10
Gui, Add, Button, w250 Default, GUI
Gui, Show, x200 y200
Return

2ButtonGUI:
Gui, 1:Show,, GUI #1
Return

GuiEscape:
Gui, Hide
Return

2GuiEscape:
Gui, 2:Hide
Return

Post Reply

Return to “Ask for Help (v1)”