Modify ↓
Opened 6 years ago
Closed 6 years ago
#3714 closed Bug (Fixed)
_GUICtrlTreeView_Sort crash with 1 element TreeView
Reported by: | matwachich@… | Owned by: | Jpm |
---|---|---|---|
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 Changed 6 years ago by Jpm
- Milestone set to 3.3.15.1
- Owner set to Jpm
- Resolution set to Fixed
- Status changed from new to closed
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.
Note: See
TracTickets for help on using
tickets.
Fixed by revision [12214] in version: 3.3.15.1