DropDownList undocumented behaviour
Posted: 27 May 2019, 01:47
https://autohotkey.com/docs/commands/GuiControls.htm#DropDownList wrote:When the Gui Submit command is used, the control's associated output variable (if any) receives the text of the currently selected item.
But it should also mention the output variable receives the item's text before the Gui Submit command is used, if the user is hovering the mouse over a DDL item.
This was causing some strange behaviour in my script where I have a timer which does things based on the value of the drop down list's var, which requires some code from the DDL's gsub to execute in order to be consistent with the rest of my script, which never gets executed during that moment when the user is hovering over the DDL items.