Modify

Opened 11 years ago

Closed 11 years ago

#325 closed Bug (Fixed)

Radio menu items not firing events

Reported by: Ultima Owned by: Jpm
Milestone: 3.2.13.0 Component: AutoIt
Version: 3.2.12.0 Severity: None
Keywords: Cc:

Description

Exactly as the title implies, radio menu items do not fire events. It seems the regression occurred somewhere between v3.2.11.5 and v3.2.11.9 (the in-between builds didn't display any context menus at all).

GUICreate(@AutoItVersion)

$menu = GUICtrlCreateContextMenu()
$item = GUICtrlCreateMenuItem("Click Me!", $menu, -1, 1) ; won't fire event
;$item = GUICtrlCreateMenuItem("Click Me!", $menu) ; will fire event

GUISetState()
While 1
    Switch GUIGetMsg()
        Case -3
            Exit
        Case $item
            MsgBox(0, "Clicked", "You clicked me!")
    EndSwitch
WEnd

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by Jpm

  • Milestone set to 3.2.13.0
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version: 3.2.13.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 Jpm.
Author


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

 
Note: See TracTickets for help on using tickets.