Modify ↓
Opened 7 years ago
Closed 7 years ago
#3714 closed Bug (Fixed)
_GUICtrlTreeView_Sort crash with 1 element TreeView
| Reported by: | Owned by: | J-Paul Mesnage | |
|---|---|---|---|
| Milestone: | 3.3.15.1 | Component: | Standard UDFs |
| Version: | 3.3.14.5 | Severity: | None |
| Keywords: | Cc: |
Description
#include <GUIConstantsEx.au3>
#include <TreeViewConstants.au3>
#include <WindowsConstants.au3>
#include <GuiTreeView.au3>
#Region ### START Koda GUI section ###
$Form1 = GUICreate("Form1", 402, 290, 302, 218)
$TreeView = GUICtrlCreateTreeView(8, 8, 385, 273)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
_GUICtrlTreeView_AddChild($TreeView, _GUICtrlTreeView_AddFirst($TreeView, 0, "Parent"), "Child")
_GUICtrlTreeView_Sort($TreeView)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Result
"C:\Program Files (x86)\AutoIt3\Include\GuiTreeView.au3" (2501) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: $aTreeView[$aTreeView[0]] = $hChild ^ ERROR ->13:15:26 AutoIt3.exe ended.rc:1
Attachments (0)
Change History (1)
comment:1 by , 7 years ago
| Milestone: | → 3.3.15.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed by revision [12214] in version: 3.3.15.1