Jump to content

H. Itman

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by H. Itman

  1. Hey All I recently made af small program for backup purposes. Now i found out that i needed to convert my ListView into a TreeView, no problem, except that @TABS does not display correctly. In the ListView i used the $LBS_USETABSTOPS style to show @TABS, but i cant find a similar style for TreeView in the help file. I have also searched this forum for almost 6 hours, and still nothing. I tried everything i can possible think of, so i hope that some of you out there might have a solution for my problem. In advance thanks. SciTE version 1.68 AutoIt version 3.1.1.0 ;------------------------------------------------- ; EXAMPLE BEGIN #include <GuiConstants.au3> Opt("GUIOnEventMode", 1) Dim $Text = "My TAB" & @TAB & "Test" ; TAB DISPLAYS WRONG IN TREEVIEW $GUI = GUICreate("TreeView",300,200,-1,-1) $TV_1 = GUICtrlCreateTreeView(5,5,290,155,$TVS_DISABLEDRAGDROP+$TVS_SHOWSELALWAYS+$TVS_CHECKBOXES,$WS_EX_CLIENTEDGE) $TVI = GUICtrlCreateTreeViewitem($Text,$TV_1) $Btn = GUICtrlCreateButton("Exit",5,165,78,20) GUICtrlSetOnEvent($Btn,"Quit") GUISetState() While 1 Sleep(250) WEnd Func Quit() Exit EndFunc ; EXAMPLE END ;-------------------------------------------------
×
×
  • Create New...