Opened 3 years ago
Last modified 3 years ago
#3854 closed Bug
Setting Control Color has unintended consequences in GUI — at Initial Version
Reported by: | paul.keselman@… | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.14.5 | Severity: | None |
Keywords: | Cc: |
Description
Uncommenting GUICtrlSetColor creates a bug where interacting with the input, also causes the button function to be executed
#include <GUIConstantsEx.au3>
$hGUI = GUICreate("Test", 200, 100)
$hButton = GUICtrlCreateButton("Button", 10, 10, 160, 24)
;GUICtrlSetColor($hConnectionButton, 0xFF0000)
$hInput = GUICtrlCreateInput("", 10, 40, 60, 24)
GUISetState()
While 1
Switch GUIGetMsg()
Case $hButton
ConsoleWrite("Button" & @CR)
Case $hInput
ConsoleWrite("Input" & @CR)
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Note: See
TracTickets for help on using
tickets.