Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HELP TIWTreeView
#3
(04-17-2019, 01:53 PM)Jose Nilton Pace Wrote: Hi Denville, see this demo in IW15.

Thanks for the reply.  Being a c++ man Pascal is a bit obscure to me - nevertheless, using the demo code and peeking at the .hpp file I am now able to create a sub-node..

        TIWTreeViewItem* tnp = LogTreeView->Items->Add( NULL, Node_text );

                    LogTreeView->Items->Add( tnp, Subnode_text );

However the main node is displayed expanded with the sub-nodes all visible; clicking on the + or - has no effect, and this is the case regardless of whethrer I set tnp->Expanded to false, true, or leave it alone.  I need it to start not expanded and expand when the user clicks on + !

Also, I implemented the TreeItemClick event but nothing seems to fire this - I notice that it is not designate an Async event, I also noticed the AsyncMode property and tried this True and (default) false, but with no success.

Denville.


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
HELP TIWTreeView - by denville - 04-17-2019, 11:33 AM
RE: HELP TIWTreeView - by Jose Nilton Pace - 04-17-2019, 01:53 PM
RE: HELP TIWTreeView - by denville - 04-17-2019, 03:57 PM
RE: HELP TIWTreeView - by pete@pdmagic.com - 04-17-2019, 11:00 PM
RE: HELP TIWTreeView - by denville - 04-21-2019, 05:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)