Modify ↓
#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 , 16 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
| Version: | 3.3.6.1 |
comment:2 by , 16 years ago
Crap! I could swear I tried "Default" as well.
Pardon me wasting your time.
comment:3 by , 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?
Note:
See TracTickets
for help on using tickets.

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.