Modify ↓
#2892 closed Bug (Fixed)
GUICtrlSetData on dummy control - AutoIt bug or Document Incorrect?
| Reported by: | anonymous | Owned by: | Jon |
|---|---|---|---|
| Milestone: | 3.3.15.0 | Component: | AutoIt |
| Version: | 3.3.12.0 | Severity: | None |
| Keywords: | Cc: |
Description
In GUICtrlSetData:
It says that the function can set data for a dummy control.
In GUICtrlRead:
It says that you can read the data stored in a dummy control, which is set either by GUICtrlSetData or GUICtrlSendToDummy.
A quick test point out that GUICtrlRead can only read data which is set by GUICtrlSendToDummy.
GUICreate(@AutoItVersion) GUICtrlCreateDummy() GUICtrlSetData(-1, 100, 101) ConsoleWrite(@CRLF & GUICtrlRead(-1)) GUICtrlSendToDummy(-1, "Wow! It can store a string") ConsoleWrite(@CRLF & GUICtrlRead(-1))
I don't know it is autoit bug or documentation bug, but this is absolutely a bug. But I think it may be easy to fix. Hope it's fixed ASAP.
Attachments (0)
Change History (3)
comment:1 by , 11 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:3 by , 11 years ago
| Milestone: | → 3.3.15.0 |
|---|---|
| Resolution: | → Fixed |
| Status: | assigned → closed |
Fixed by revision [11411] in version: 3.3.15.0
Note:
See TracTickets
for help on using tickets.

You are correct. I feel the response will be to alter the documentation - but I will leave that to the Devs to decide.
M23