Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2775 closed Bug (No Bug)

GUICtrlRead - Return Value <> state of the button

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

Description

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 6 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)
GUISetState()

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.

M23

comment:2 Changed 6 years ago by mLipok

gosh,
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

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.