Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#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)

Change History (2)

comment:1 Changed 17 years ago by Valik

  • Description modified (diff)
  • Resolution set to Rejected
  • Status changed from new to closed

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 Changed 17 years ago by TicketCleanup

  • Version 3.2.12.0 deleted

Automatic ticket cleanup.

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.

Add Comment

Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.