Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2775 closed Bug (No Bug)

GUICtrlRead - Return Value <> state of the button

Reported by: mLipok Owned by:
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:


in Return Value there is sucha a description:

Checkbox, Radio state of the button. See State table

But this is not true.

for example for Checkbox it is selected text.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by Melba23

  • Resolution set to No Bug
  • Status changed from new to closed

Small spherical objects!

#include <MsgBoxConstants.au3>

$hGUI = GUICreate("Test", 500, 500)
$cCheck = GUICtrlCreateCheckbox("Checkbox", 10, 10, 200, 20)
$cRadio = GUICtrlCreateRadio("Radio", 10, 50, 200, 20)

MsgBox($MB_SYSTEMMODAL, "Return", "Reading Checkbox: " & GUICtrlRead($cCheck) & _
@CRLF & "Reading Radio: " & GUICtrlRead($cRadio))

Both return the state ($GUI_UNCHECKED (4) or $GUI_CHECKED (1)) of the control.


comment:2 Changed 9 years ago by mLipok

you're right, I was wrong,
I have today, the day of the Freak

sorry, for confusion.

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

as closed The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.