Jump to content

Treeview problem


Recommended Posts

I have a lots of Labels and input boxes under one treeviewitem($Clientitem), and something else under another($generalitem)

How can i in the best way switch between these treeviewitems, without overlapping each other?

$treeview = GUICtrlCreateTreeView (6,45,120,280,BitOr($TVS_HASBUTTONS,$TVS_HASLINES,$TVS_LINESATROOT,$TVS_DISABLEDRAGDROP,$TVS_SHOWSELALWAYS),$WS_EX_CLIENTEDGE)

$generalitem = GUICtrlCreateTreeViewitem ("General",$treeview)

$aboutitem = GUICtrlCreateTreeViewitem ("About",$generalitem)

$Logsitem = GUICtrlCreateTreeViewitem ("Logs",$generalitem)

$Clientitem = GUICtrlCreateTreeViewitem ("Client Info",$treeview)

Link to comment
Share on other sites

Maybe this will helps you a little bit.

Just resize/create the child-windows to the size of the area with the additional controls:

http://www.autoitscript.com/forum/index.php?showtopic=8753

If this is what you mean...

Another possibility is to make 2 small functions for instance.

In one you hide the controls for one item and show the other controls and in the other you hide the other controls and show the one for the other item... :lmao:

Hopefully you understand a little bit what I mean o:):)

Edited by Holger
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...