GuiCtrl.Type - DropDownList Topic is solved

Share your ideas as to how the documentation can be improved.
User avatar
kczx3
Posts: 1640
Joined: 06 Oct 2015, 21:39

GuiCtrl.Type - DropDownList

Post by kczx3 » 23 Sep 2022, 08:07

I think it would be help in the area for the DropDownList control to have a note stating that the Type property returns "DDL" and not "DropDownList". I assumed the latter because DDL is sort of an afterthought in the documentation since its mentioned in parenthesis as an optional alternative to add that control to a Gui. The same caveat applies to the Picture control. Adding it with "Picture" still results in the Type property being returned as "Pic".

Code: Select all

#Requires AutoHotkey v2-
g := Gui()
g.Add("DropDownList", "vList", ["One", "Two", "Three"])

MsgBox(g["List"].Type) ; DDL

User avatar
Ragnar
Posts: 608
Joined: 30 Sep 2013, 15:25

Re: GuiCtrl.Type - DropDownList  Topic is solved

Post by Ragnar » 27 Sep 2022, 05:52

Thanks for reporting. Changes added in PR #579.

Post Reply

Return to “Suggestions on Documentation Improvements”