LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

A section of a panel

Hi,

is it possible to hide/display only a section of a panel in labwindows CVI?

thanks a lot

 

0 Kudos
Message 1 of 4
(3,022 Views)

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,

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 4
(3,020 Views)

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

0 Kudos
Message 3 of 4
(3,018 Views)

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

DAQ Product Marketing Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,999 Views)