![]() Additional the event handlers like OnDoubleClick and OnSelect also do not work though the labels are contained in the objects. This also occurred with the listview and can also be produced with the AFC "Example-Many-Controls.ahk". > 066: Gui,%h%:Add,%ctrlName%,hwndctrlHwnd %glabelAttr% v#%pCtrl% %options%,valueĭebugging with SciTE4AutoHotkey showed that the field in the "tv" object contained "TreeView", but the field "ctrlName" is empty. (w - .position.w - 30)) TreeViewWidth - 30))ĭuring this development I got the following error message:Įrror in #include file "D:\ahk_source\forum\AFC2\Lib\CWindow.ahk":Ġ61: pCtrl := &oCtrl, ctrlName := oCtrl._CtrlName, glabelAttr := "g_CWindowGlabel" (foldercount = 1 ? " Folder" : " Folders")) SplashTextOn, 200, 25, TreeView and StatusBar Example, Folder is loading. SelectedFullPath := tv.root "\" selecteditemtext Selecteditemtext = %parenttext%\%selecteditemtext% Sb.SetPartText("You have already clicked me") This.AddSubFoldersToTree(A_LoopFileFullPath, tv.Addnode(A_LoopFileName, "Icon4")) ![]() Loop %Ordner%\*.*, 2 Retrieve all of Folder's sub-folders. SplashTextOn, 200, 25, TreeView and StatusBar Example, Loading the tree.ĪddSubFoldersToTree(Ordner, tv, node := "") LV.Modif圜ol(2, "integer N" this.Col2Width) LV.Modif圜ol(1, "N" this.ListViewWidth - this.Col2Width - 30) Lv := new CCtrlListView(this, "Name|Size|Modified", "x+10 r20 grid w" this.ListViewWidth) ![]() This.ListViewWidth := A_ScreenWidth - this.TreeViewWidth - 30 Tv.root := "D:\ahk_source" %A_StartMenuCommon% ![]() Tv := new CCtrlTreeView(this, "r20 w" this.TreeViewWidth) Base._New("#" ov " - File Manager with AFC") ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |