Jump to content

TUniTreeView adding items in runtime


Guest

Recommended Posts

Message from: "Pedro Santos"

 

Hello im trying to use the TUniTreeView Component to add some nodes and

subnodes in runtime it works in VCL mode but in web mode i get an access

violation.

 

example code:

 

UniTreeView1.Items.Clear;

UniTreeView1.Items.Add(nil, ThePath); <--- line that i get "Access

violation at address 00000000. Read of address 00000000."

 

feature not implemented yet, or im i doing something wrong?

 

 

 

 

 

.

 

Link to comment
Share on other sites

Message from: "Farshad Mohajeri"

 

"Pedro Santos" wrote in message

news:EZOp8F20LHA.2720@anaxagvs227...

> Hello im trying to use the TUniTreeView Component to add some nodes and

> subnodes in runtime it works in VCL mode but in web mode i get an access

> violation.

>

> example code:

>

> UniTreeView1.Items.Clear;

> UniTreeView1.Items.Add(nil, ThePath); <--- line that i get "Access

> violation at address 00000000. Read of address 00000000."

>

> feature not implemented yet, or im i doing something wrong?

 

 

Use AddNode or AddChild instead.

 

Please see TreeView demo.

 

 

.

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...