 
					
				
		
 RobertoBozzolo
		
			RobertoBozzolo
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		09-02-2016
	
		
		09:33 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		11-18-2024
	
		
		12:09 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
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.
09-04-2016 02:57 PM
Attached a small example that exhibits the described error when duplicating a top-level panel, adding a panel into a tab control and duplicating the tab control.
09-05-2016 03:20 AM
It seems indeed the same behaviour but I replicated same error -24 with CVI 2013.
I think that the only option here is to fill another CAR.
09-05-2016 03:41 AM
Ok, please keep us informed on this matter when there will be some updates.
In the meanwhile I went back to the old array of control IDs method 
09-07-2016 03:25 AM
Good!
In the meantime I filled a CAR (#603790). I will keep you informed on the next steps! 🙂
			
    
	
		
		
		05-26-2017
	
		
		09:47 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		11-18-2024
	
		
		12:09 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
This problem is listed as solved in CVI2017 Bug Fix list