The GuiControl doc says this:
For a Text/Button/GroupBox/StatusBar/Link control, it says this:Leave SubCommand blank to put new contents into the control via Value.
Here's a small script that I think should work based on that doc, but it doesn't:Specify for Value the control's new text.
Code: Select all
Gui,New,AlwaysOnTop,Test Gui,Add,Text,vCurrentTime,%A_Now% Gui,Show,w200 SetTimer,Timer,1000 Return Timer: GuiControl,,CurrentTime,%A_Now% Return GuiClose: GuiEscape: ExitApp
Anyone know why the GuiControl,,CurrentTime,%A_Now% does not work? Thanks much, Joe