09-05-2011 01:53 AM
Hi,
is it possible to hide/display only a section of a panel in labwindows CVI?
thanks a lot
09-05-2011 02:09 AM
Hi sahin,
What do you exactly want to do? What do you mean by a "section of a panel"?
Do you actually want to hide a group of controls?
If so, you can;
- put those controls' ID's in an array and call SetCtrlAttribute (panel, ctrl_arr[i], ATTR_VISIBLE, 1 /*or 0*/) in a loop,
OR
- put those controls on a transparent tab panel (you can hide tab labels if you want) and display/hide the tab panel
Hope this helps,
09-05-2011 03:32 AM
Hi,
i want to use two different panels commutatively, and these panels heve common graphs
I want only cotrols other than graphs will change when I exchange graphs. I know it's possible
to use whole program in a single tab and controls other than graphs under a tab control,
but this metod makes it difficult to corect control IDs, panelHandles, etc.
thank you very much
09-06-2011 10:25 AM
Hi Sahin,
Please refer to Ebalci's post. From what you have described, his recommendation seems to be the best option. Good luck!
Regards,
Jackie