it is stated in documentation of GuiControl here that GuiControl has 3 parameters: Font, ControlID, Options. This isn't true, because if I run the following code:
Code: Select all
Gui, Add, Text, HwndMyTextHandle, This is example of Text
GuiControl, Font, %MyTextHandle%, Verdana
Parameter #3 must be blank in this case.
My suggestion:
Alter Font sub-command definition:
Code: Select all
GuiControl, Font, ControlID