04-22-2022 10:36 AM
Hi,
I would like to create subpanels in LabWindows / CVI as in LabVIEW ie where a panel is displayed as a subpanel of a panel that includes it. Where can I find an example?
Regards,
Maurizio.
04-22-2022 11:18 AM
Hi,
in LabWindows/CVI these are called child panels. You can configure LoadPanel so that panels appear within other panels in your user interface. When ...
04-22-2022 11:24 AM
Thanks Wolfgang.
I'll try it shortly.
Regards,
Maurizio.
04-26-2022 02:10 AM - edited 04-26-2022 02:22 AM
It's been a long time since I played with LabVIEW so I'm not sure this is the correct answer: I suppose the closest equivalent to subpanels probably are CVI child panels: you could try running panels.cws example program that shows you what child panels are and how do they behave.
To locate the example you can run the Example Finder (Help >> Find Examples... menu item) and serarch for 'panels' in the search tab.
What an idiot I am! I saw the discussion as new and replied without focusing on Wolfgang'2 answer! 😏
04-26-2022 02:36 AM
Thanks Roberto. I have tried all the examples but from what I have seen, the functionality is different. In LV you can define an area where you can make one panel or another appear. In CVI the mechanism is that of parent / child where one panel can host another. It is about having to adapt to what is available.
Regards,
Maurizio.
*** started in 1993 with LV 4.x and CVI 3.x 😉
09-28-2022 08:47 AM
I know this is an old thread. But to help people out here there is a workaround. Setup a tab control, hide the tabs (tab control property), delete the tabs (DeleteTabPage) each time you switch panels, and load in your panel via the function InsertPanelAsTabPage. Works great as a sub panel.