GuiControl Type inconsistent Topic is solved
GuiControl Type inconsistent
I couldn't find a better way to bring this up, but it seems that GuiControl.Type is sometimes inconsistent with the string to Gui.Add a control, like "Checkbox" and "CheckBox". Not a huge thing, just makes matching not quite as simple. I love the new way Gui is done and the improved functionality, by the way. v2 is already so much better than v1, in my opinion.
Re: GuiControl Type inconsistent Topic is solved
What's "the string to Gui.Add a control"?
"Checkbox", "CheckBox", "CHECKBOX", "checkbox", "cHeCkBoX", etc. are all valid strings for Gui.Add.
Gui.Add isn't case sensitive. Neither is =/</>/etc. or InStr (by default). I fail to see how "CheckBox" vs "Checkbox" would make matching less simple.
Gui.Add also accepts multiple strings for DDL/DropDownList and Pic/Picture.
As for inconsistency, consider "Checkbox" vs "ComboBox" and "ListBox".
"Checkbox", "CheckBox", "CHECKBOX", "checkbox", "cHeCkBoX", etc. are all valid strings for Gui.Add.
Gui.Add isn't case sensitive. Neither is =/</>/etc. or InStr (by default). I fail to see how "CheckBox" vs "Checkbox" would make matching less simple.
Gui.Add also accepts multiple strings for DDL/DropDownList and Pic/Picture.
As for inconsistency, consider "Checkbox" vs "ComboBox" and "ListBox".
Return to “AutoHotkey Development”
Who is online
Users browsing this forum: No registered users and 107 guests