Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5351

Inserting a panel with a control array as a tab page returns error accessing the control array

$
0
0

I am trying to develop a adaptive UI in CVI 2015 but I am getting unexpected errors.

 

Based on the display size, a specific panel in my application can either be shown as a stand-alone panel (actually a popup panel) or included in an existing tab control on the main application panel. The problem lies in that on the panel there are some control arrays and I have problems trying to access them when the panel is loaded into the tab page, with GetCtrlArrayFromResourceID () returning error -24 (Invalid panel ID or menu bar ID in resource file). Non problem when the panel is shown standalone.

 

Now, there is a similar situation when panels are duplicated that should be fixed in CVI2013 (CAR ID 364746), and the thread I am referring to specifically speaks about tab pages, but I have even tried duplicating a tab page with control arrays and get the same error so there seems that the error has presented again in CVI2015.


Viewing all articles
Browse latest Browse all 5351

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>