say for example i have
Code: Select all
Gui Add, Button, x560 y495 w160 h30, Test
Code: Select all
Gui Add, Button, x560 y495 w160 h30, Test
Code: Select all
Gui Add, Button, x560 y495 w160 h30 vBtn, Test
Gui, Show
GuiControlGet, BtnText,, Btn, Text
msgbox % BtnText
i am trying to do the same withTLM wrote:for more info see:Code: Select all
Gui Add, Button, x560 y495 w160 h30 vBtn, Test Gui, Show GuiControlGet, BtnText,, Btn, Text msgbox % BtnText
GUI Variables
GuiControlGet
Code: Select all
Gui Add, Button, x830 y161.5 w160 h30 gChartShow_Main15 hwndClr_Btn15 vBtn15, test
ChartShow_Main15:
GuiControlGet, CW_Name15,, Btn15, Text
msgbox % CW_Name15
Code: Select all
Gui Add, Button, x830 y161.5 w160 h30 gChartShow_Main15 hwndClr_Btn15 vBtn15, test
Gui Show
Return
ChartShow_Main15:
GuiControlGet, CW_Name15,, Btn15, Text
msgbox % CW_Name15
Return
Code: Select all
Gui Add, Button, x830 y161.5 w160 h30 gChartShow_Main15 hwndClr_Btn15 vBtn15, test
ChartShow_Main15:
GuiControlGet, CW_Name15,, Btn15, Text
msgbox % CW_Name15
Users browsing this forum: Xtra and 349 guests