GuiControl: list of Sub-commands in alphabetical order

Share your ideas as to how the documentation can be improved.
User avatar
mslonik
Posts: 91
Joined: 21 Feb 2019, 04:38
GitHub: mslonik
Location: Poland
Contact:

GuiControl: list of Sub-commands in alphabetical order

Post by mslonik » 11 Apr 2021, 04:03

Dear Forum,

I'd love to get list of sub-commands of GuiControl in alphabetical order.
So instead of the following order:
For SubCommand, specify one of the following:

(Blank): Puts new contents into the control.
Text: Changes the text/caption of the control.
Move: Moves and/or resizes the control.
MoveDraw: Moves and/or resizes the control and repaints the region occupied by it.
Focus: Sets keyboard focus to the control.
Disable: Disables (grays out) the control.
Enable: Enables the control.
Hide: Hides the control.
Show: Shows the control.
Delete: Not yet implemented.
Choose: Selects the specified item number in a multi-item control.
ChooseString: Selects a item in a multi-item control whose leading part matches a string.
Font: Changes the control's font typeface, size, color, and style.
Options: Add or remove various control-specific or general options and styles.
I'd like to have that one:
For SubCommand, specify one of the following:

(Blank): Puts new contents into the control.
Choose: Selects the specified item number in a multi-item control.
ChooseString: Selects a item in a multi-item control whose leading part matches a string.
Delete: Not yet implemented.
Disable: Disables (grays out) the control.
Enable: Enables the control.
Focus: Sets keyboard focus to the control.
Font: Changes the control's font typeface, size, color, and style.
Hide: Hides the control.
Move: Moves and/or resizes the control.
MoveDraw: Moves and/or resizes the control and repaints the region occupied by it.
Options: Add or remove various control-specific or general options and styles.
Show: Shows the control.
Text: Changes the text/caption of the control.
This is only my suggestion. As a newbie I frequently open that sub-command list even as quick reference and each time I don't see a sense to scan this list. Of course I'm aware that for other commands the list order has to do a lot with "frequency of use". But not in case of GuiControl I suppose or at least not from my subjective point of view.

Kind regards, mslonik

Courses on AutoHotkey :ugeek:
User avatar
Ragnar
Posts: 389
Joined: 30 Sep 2013, 15:25

Re: GuiControl: list of Sub-commands in alphabetical order

Post by Ragnar » 13 Apr 2021, 08:19

Not only for "frequency of use", but also for "grouping" of some sub-commands such as Disable/Enable, Hide/Show, etc. No matter which sorting is applied, it will always eliminate the advantage of the other one. For this reason, I prefer to leave it as-is.
Post Reply

Return to “Suggestions on documentation improvements”