Modify

Opened 17 years ago

Closed 17 years ago

Last modified 5 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

Change History (3)

comment:1 Changed 17 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

comment:2 Changed 5 years ago by anonymous

Last edited 5 years ago by Melba23 (previous) (diff)

comment:3 Changed 5 years ago by anonymous

Last edited 5 years ago by Melba23 (previous) (diff)

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

Author


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

 
Note: See TracTickets for help on using tickets.