02-04-2013 05:08 PM
Hello ckcook,
This very well might be a documented bug. I'll be looking into this.
02-05-2013 07:40 AM
Keep me posted, and let me know any known work arounds.
02-13-2013 12:38 PM
Hey Ianidas300,
Did you find anymore details on this bug?
Thanks,
Chris
02-14-2013 10:29 AM
Hi ckcook,
I did not find any documented issues related to missing tab controls. I think that the best next step is to examine the code to determine where exactly the error is occurring. If you could post the smallest piece of code that reproduces the issue, it would help speed up the process.
Regards,
Jason D
Applications Engineer
National Instruments
03-07-2013 09:36 AM
Hallo, all,
I'm facing this issue too.
My application creates according the content of three configuration files on tabs control elements (some by copying of already exists, some new). On the first switching the tab there are some missing, after next tab switching mostly all of them are visible.
Unfortunately, the application is already quite extensive and extract a portion of the code is much work ... which requires time to do it ... you know ....
Any hints or news?
Thanks,
George
03-07-2013 09:50 AM
Hi George,
I haven't found a true solution to the issue, but I have a possible (albeit very annoying) work around. You can explicitly in code hide and make every control visible when the tab is shown. This will allow everything to actually appear, though it is a real pain to code when the tabs have a lot of controls on them.
Any real solution would be greatly appreciated,
Chris
03-07-2013 10:22 AM - edited 03-07-2013 10:24 AM
While I have no real idea on a solution to this problem, I can suggest a method to make Chris workaround a bit more easy: you can iterate on all controls in a panel with a simple loop like this:
// Find first control in the panel GetPanelAttribute (panelHandle, ATTR_PANEL_FIRST_CTRL, &ctrl); // Iterate through all controls while (ctrl) { // Apply control settings, make it visible/unvisible and so on ... // Find next control (returns 0 on the last one) GetCtrlAttribute (panelHandle, ctrl, ATTR_NEXT_CTRL, &ctrl); }
You can put this code in a function called passing the panel handle.
Hope this helps.
03-07-2013 10:50 AM
Hi Roberto,
Thanks for the suggestion, I wasn't aware of the ATTR_NEXT_CTRL.
Chris