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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...