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 by Valik, on Aug 2, 2008 at 1:15:15 AM

Description: modified (diff)
Resolution: Rejected
Status: newclosed

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.

comment:2 by TicketCleanup, on Aug 2, 2008 at 2:00:12 AM

Version: 3.2.12.0

Automatic ticket cleanup.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.