Modify

Opened 10 years ago

Closed 9 years ago

Last modified 17 months 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 Changed 10 years ago by Melba23

  • Owner set to Jon
  • Status changed from new to assigned

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 Changed 10 years ago by Jpm

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

comment:3 Changed 9 years ago by Jon

  • Milestone set to 3.3.15.0
  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed by revision [11411] in version: 3.3.15.0

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.