View Full Version : Tree Variables
GalacTekM
09-19-2005, 02:21 PM
If i were to insert a Tree and a user selects and item in the sub menu by checking the box, how would i assign a value to that check?
Currently, when a user clicks a button, we assign a value in an ini file. How can i do the same if a user checks and checkbox in the tree?
GalacTekM
09-22-2005, 07:54 AM
I'm assuming by lack of response that there is no way to assign a vriable to the checkboxes :huh
Jonas DK
09-22-2005, 09:11 AM
I'm assuming by lack of response that there is no way to assign a vriable to the checkboxes :huh
Where there is AMS there is a way.....
at least that is what I belive you just have to look hard....
I was actually looking for the same answer as you so I do hope someone has a good idea.
I think it must be something in the lines of the menu funktion like e_ID
I mean the tree.SetProporties ends up setting a table value. the checkbos is a boolean (true, false) value to show it or not. The fact that you have the abillity so set this parameter must logically mean that when someone at run time ticks a checkbox it must set a value in a table but I cant seem to find the name of that table or how the value is set.
Jonas DK
Brett
09-22-2005, 09:12 AM
I made a sample project that shows how this is done. Specifically take a look at the Page's "On Preload" and "On Menu" events.
EDIT: Oops. Did you mean the Tree object? My answer was for a Menu bar. I though that is what you meant...
Brett
09-22-2005, 09:20 AM
In case you are talking about the Tree object here is another sample project.
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.