#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 Changed 15 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
- Version 3.3.6.1 deleted
comment:2 Changed 15 years ago by Spiff59
Crap! I could swear I tried "Default" as well.
Pardon me wasting your time.
comment:3 Changed 15 years ago by Spiff59
"Default" uses the coordinates of the previously referenced control, not the control being specified in the GUICtrlSetPos() function. Is this then a bug fix?
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.
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.