Modify ↓
#490 closed Feature Request (Rejected)
Ability to have GUICtrlCreate... accept hide, show, enable and disable state options
Reported by: | HeidiR | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | None | |
Keywords: | Cc: |
Description (last modified by Valik)
Example:
GUICtrlCreateButton("", 10, 10, 60, 25, $GUI_HIDE)
GUICtrlCreateButton("", 10, 10, 60, 25, $GUI_SHOW)
GUICtrlCreateButton("", 10, 10, 60, 25, $GUI_ENABLE)
GUICtrlCreateButton("", 10, 10, 60, 25, $GUI_DISABLE)
Attachments (0)
Change History (2)
comment:1 Changed 16 years ago by Valik
- Description modified (diff)
- Resolution set to Rejected
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
To create a control disabled, use the WS_DISABLED style at creation time. Otherwise, the control is created enabled. AutoIt forces the control to be visible so there's no way to create a control that is initially not visible. However, you can just change the state before you show the GUI so I don't see much point in any of this.