Modify

Opened 11 years ago

Closed 11 years ago

Last modified 3 years ago

#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 Melba23, 11 years ago

Owner: set to Jon
Status: newassigned

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

M23

comment:2 by J-Paul Mesnage, 11 years ago

In fact it is an AutoIt bug , I send a fix for integration to Jon

comment:3 by Jon, 11 years ago

Milestone: 3.3.15.0
Resolution: Fixed
Status: assignedclosed

Fixed by revision [11411] in version: 3.3.15.0

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.