I have a gui with multiple treeview.
I am having problems with TV_getselect(). I read somewhere in the forum that if there are more than one treeview in the gui and a selection is made in the first treeview, Tv_getselect() returns 0.
Is this true and is there a way around it ?
Many thanks in advance.
Get help with using AutoHotkey and its commands and hotkeys
5 posts • Page 1 of 1
I am trying to make a GUI using tkinter. How can i have 3 treeviews -Plex Kodi Lucky Patcher two on the top side by side and third on the bottom below the two treeviews on the top. I managed to get 2 side by side. I provided the side value as left for the first two but when I use bottom for the third it comes in the middle of the previous two treeviews.
Built-in Functions for TreeViews wrote:All of the TreeView functions operate upon the current thread's default GUI window (which can be changed via Gui, 2:Default). If the default window does not exist or has no TreeView controls, all functions return zero to indicate the problem.
If the window has more than one TreeView control, by default the functions operate upon the one most recently added. To change this, specify Gui, TreeView, TreeViewName, where TreeViewName is the name of the TreeView's associated variable, its ClassNN as shown by Window Spy or [in v1.1.04+] its HWND. Once changed, all existing and future threads will use the indicated TreeView. [v1.1.23+]: A_DefaultTreeView contains the current setting.
How do you specify the treeview when using TV_getselect() ?
Sorry .. I get it .. I have to use the line before using the built in functions
Who is online
Users browsing this forum: No registered users and 86 guests