04-05-2012 06:48 AM
I am developing a small application in which I need to display different panels when user clicks on a tree control item....how to make it display a panel inside a parent panel when a user clicks an item in a tree control....any help would be greatly appreciated. thank you
04-05-2012 10:00 AM
The tree control can handle several events that you can rely on to handle user interaction. I suggest you take a llok at treeevent.prj example that comes with CVI. In your situation, one possible event to handle is EVENT_SELECTION_CHANGE, that marks the operation the user does when clicking on a new tree item.
04-05-2012 10:36 AM
Another sample program that is useful is events.prj. It lists all events, indicates which are swallowable (and lets you swallow them), lets you select which events to track, and displays the eventData1 and eventData2 values for each event.