Code: Select all
Gui,Color,Yellow
Gui, Font, s20, Times New Roman
Gui,Add,Text, x25 y20 w300 h30 BackgroundTrans ,Line 1
Gui,Add,Text, x25 y50 w300 h30 BackgroundTrans ,Line 2
Gui,Add,Text, x25 y80 w300 h30 BackgroundTrans ,Line 3
Gui, Font, s26
Gui,Add,Progress, x90 y125 w60 h50 Disabled BackgroundLime vP1
Gui,Add,Text, xp yp w60 h50 border BackgroundTrans Center gRTN1,OK
Gui, Show, x300 y300 w500 h200 ,test
return
guiescape:
guiclose:
exitapp
GuiSize:
GuiControlGet, Progress1, focus
GuiControlGet, Text4, pos, OK
GuiControl, Move, Progress1, % "x" (A_GuiWidth)//2
GuiControl, Move, Text1, % "x" (A_GuiWidth)//2
return
RTN1:
msgbox My name is %A_GuiControl%
exitapp