I have this source
Code: Select all
SetWorkingDir %A_ScriptDir%
Gui, Add, Text, x26 y30 w60 h20 +Center, Ancho
Gui, Add, Edit, x86 y30 w80 h20 vmonitorancho, 0
Gui, Show, x99 y98 h547 w854, Test
Return
Thanks very much!
Code: Select all
SetWorkingDir %A_ScriptDir%
Gui, Add, Text, x26 y30 w60 h20 +Center, Ancho
Gui, Add, Edit, x86 y30 w80 h20 vmonitorancho, 0
Gui, Show, x99 y98 h547 w854, Test
Return
Code: Select all
Gui, Add, Edit, x86 y30 w80 h20 ReadOnly vmonitorancho, 0
Excellent, thanks to you I tried also with Hide.jNizM wrote:Code: Select all
Gui, Add, Edit, x86 y30 w80 h20 ReadOnly vmonitorancho, 0
Code: Select all
SetWorkingDir %A_ScriptDir%
Gui, Add, Text, x26 y30 w60 h20 +Center, Ancho
Gui, Add, Edit, x86 y30 w80 h20 Readonly vmonitorancho, 0
Gui,Add, DropDownList, x86 y60 w240 h180 vcombox guyg AltSubmit,Red|Blue|Green|Yellow|Black|Violet
Gui, Show, x99 y98 h547 w854, Test
Return
uyg:
GuiControlGet,combox
if combox=1
vmonitorancho = "Red"
else
vmonitorancho = Black
return
Code: Select all
SetWorkingDir %A_ScriptDir%
Gui, Add, Text, x26 y30 w60 h20 +Center, Ancho
Gui, Add, Edit, x86 y30 w80 h20 Readonly vMonitorancho, 0
Gui, Add, DropDownList, x86 y60 w240 h180 vCombox guyg,Red|Blue|Green|Yellow|Black|Violet
Gui, Show, x99 y98 h547 w854, Test
Return
uyg:
GuiControlGet, Combox
GuiControl,, Monitorancho, % Combox
return
Users browsing this forum: peter_ahk and 343 guests