Tree View control

lenniedg2000

New Member
Licensed User
Hi,

I've downloaded the trial version of Basic4ppc Desktop, I need to write a small demo before buying... where can I find the tree view control? When I create a new form it doesn't show it on the screen.

Regards,

Lennie
 

derez

Expert
Licensed User
Longtime User
Treeview is part of ControlsEx library. You can see it if you open the library from the "help" in the IDE.

To use it you need to include the library by "Tools" & "Components" menu.

As far as I know it is available for the trial version.
 
Last edited:

derez

Expert
Licensed User
Longtime User
After including the library using tools & components, create an object of treeview by tools & add object, name it as you wish.

then in the code you have to init the object by:
New1 (FormName As Control, left As Int32 , top As Int32, width As Int32, height As Int32)

example: for an object named tv:
tv.New1("Form1", 5, 10, 200, 200)

see this tutorial for working with libraries:http://www.b4x.com/forum/tutorials/...braries-new-tutorial-reference.html#post25179
 
Top