Custom Query (3926 matches)
Results (406 - 408 of 3926)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2839 | Fixed | GUISetAccelerators - accelerators 1D Array - AutoIt HardCrash | ||
| Description |
Here is repro script: #include <GUIConstantsEx.au3>
#include <MsgBoxConstants.au3>
Example()
Func Example()
GUICreate("Custom MsgBox", 225, 80)
GUICtrlCreateLabel("Please select a button.", 10, 10)
Local $idYes = GUICtrlCreateButton("Yes", 10, 50, 65, 25)
Local $idNo = GUICtrlCreateButton("No", 80, 50, 65, 25)
Local $idExit = GUICtrlCreateButton("Exit", 150, 50, 65, 25)
; Set GUIAccelerators for the button controlIDs, these being Ctrl + y and Ctrl + n
; Below Original line from HelpFile
; Local $aAccelKeys[2][2] = [["^y", $idYes], ["^n", $idNo]]
; Below my modified line
Local $aAccelKeys[2] = ["^y", $idYes]
; HereIs HardCrash
GUISetAccelerators($aAccelKeys)
GUISetState(@SW_SHOW) ; Display the GUI.
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
MsgBox($MB_SYSTEMMODAL, "You selected", "Close")
ExitLoop
Case $idYes
MsgBox($MB_SYSTEMMODAL, "You selected", "Yes") ; Displays if the button was selected or the hotkey combination Ctrl + y was pressed.
Case $idNo
MsgBox($MB_SYSTEMMODAL, "You selected", "No") ; Displays if the button was selected or the hotkey combination Ctrl + n was pressed.
Case $idExit
MsgBox($MB_SYSTEMMODAL, "You selected", "Exit")
ExitLoop
EndSwitch
WEnd
GUIDelete() ; Delete the GUI.
EndFunc ;==>Example
tested on Relase and Beta version |
|||
| #2845 | Rejected | Empty Array isn't Empty | ||
| Description |
Local isntEmpty = [] Local isntEmpty2 [] = [] These two arrays shouldn't contain an empty string. They should be empty. |
|||
| #2862 | Fixed | StringRegExp $STR_REGEXPARRAYGLOBALFULLMATCH option regress | ||
| Description |
In release 3.3.12.0 $STR_REGEXPARRAYGLOBALFULLMATCH work correct, but in 3.3.13.18 always return the last match. So the 4 example for function do not work. Or this code demonstrate error: #include <array.au3> $data = 'a1,b2,c3,d4' $out = StringRegExp($data,'\w(\d)',4) For $i = 0 To UBound($out) - 1 $match = $out[$i] _ArrayDisplay($match) Next In 3.3.12.0 arraydisplay: a1 1 b2 2 c3 3 b4 4 In 3.3.13.18 b4 4 b4 4 b4 4 b4 4 |
|||
Note:
See TracQuery
for help on using queries.
