Custom Query
Results (250 - 252 of 3893)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #924 | Fixed | _ArrayDelete removes last entry when element beyond Ubound is specified | Jpm | DaleHohm |
| Description |
In the following example, _ArrayDelete is instructed to delete element 15 even though only elements 0-9 exist. The call deletes the last element, 9, without error. It would be nice if the function were reengineered to fail in a case like this (perhaps optionally), but minimally, the documentation should note this behaviour. Possible wording: Warning: if $iElement references a position beyond the end of the array, the last array element will be deleted. #include <Array.au3> Local $avArray[10] $avArray[0] = "JPM" $avArray[1] = "Holger" $avArray[2] = "Jon" $avArray[3] = "Larry" $avArray[4] = "Jeremy" $avArray[5] = "Valik" $avArray[6] = "Cyberslug" $avArray[7] = "Nutster" $avArray[8] = "JdeB" $avArray[9] = "Tylo" _ArrayDisplay($avArray, "$avArray BEFORE _ArrayDelete()") _ArrayDelete($avArray, 15) ConsoleWrite(@error & @CRLF) _ArrayDisplay($avArray, "$avArray AFTER _ArrayDelete()") |
|||
| #931 | Fixed | GuiCtrlSetResizing error with graphic controls | Jpm | martin |
| Description |
The resizing for a graphic control set by GuiCtrlSetResizing does not override the resizing set in AutoItSetOption using GUIResizeMode. This example demonstrates the problem [code] #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Opt("GuiREsizeMode", $GUI_DOCKALL) $gui = GUICreate("graphic resizing",-1,-1,-1,-1,BitOr($GUI_SS_DEFAULT_GUI,$WS_SIZEBOX)) $btn = GUICtrlCreateButton("button",30,50,80,22) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHEIGHT, $GUI_DOCKWIDTH, $GUI_DOCKLEFT, $GUI_DOCKBOTTOM)) $g1 = GUICtrlCreateGraphic(50,120,100,100) GUICtrlSetBkColor(-1,0xffffff) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHEIGHT, $GUI_DOCKWIDTH, $GUI_DOCKLEFT, $GUI_DOCKBOTTOM)) GUISetState() while GUIGetMsg() <> -3 WEnd code |
|||
| #934 | Fixed | MouseGetCursor consumes left mouse clicks | Jpm | martin |
| Description |
if a script continually calls MouseGetCursor() then double clicking in other applications can be disabled. This thread http://www.autoitscript.com/forum/index.php?showtopic=42268&hl=problem+MouseGetCursor has three reports of the problem, and this example demonstrates. While the script is running double clicking on a desktop shortcut is liable to fail. $g = GUICreate("check mousegetcursor")
GUISetState()
while GUIGetMsg()<> -3
MouseGetCursor()
sleep(30)
Wend
|
|||
