Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1594 closed Feature Request (Rejected)

Allow "-1" default parameters for GUICtrlSetPos()

Reported by: Spiff59 Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

Could you implement "-1" parms (top, left, width, height) for the GUICtrlSetPos() function?

When working with dynamically sized GUI's with dynamically placed controls, it would be very useful to be able to adjust one of the position values without having to have stored the other three values that you wish to leave intact.

Thank you.

Attachments (0)

Change History (3)

comment:1 by Valik, 16 years ago

Resolution: Rejected
Status: newclosed
Version: 3.3.6.1

I assume you are completely oblivious to the fact that -1 is a perfectly valid position. I also assume you never bothered to look into the Default keyword which was designed for exactly this situation.

comment:2 by Spiff59, 16 years ago

Crap! I could swear I tried "Default" as well.
Pardon me wasting your time.

comment:3 by Spiff59, 16 years ago

"Default" uses the coordinates of the previously referenced control, not the control being specified in the GUICtrlSetPos() function. Is this then a bug fix?

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.