LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding child panels

Is it possible to add 'Panels' within 'Panels' using the UIR editor or programmatically?

0 Kudos
Message 1 of 2
(2,802 Views)

The UIR editor does not permit you to create a panel inside an existing panel, you must do it a load time instead. The trick is to pass a valid panel handle in the first parametere of the function; as you ca read in the online help;

 

parentPanelHandle integer Handle of the panel into which to load the panel as a child panel. Pass 0 to load the panel as a top-level window.

 

Take a look at \userint\panels.prj for an example on how to create and treat child panels.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,800 Views)