How can I get the height of a tab in the Panel?

Hello

I designed a tab page. In the user interface editor I can adjust the height of the Panel including the tab (tabs are on top). How much vertical space is left for the tab of the usable, i.e. excluding the tab panel - worded differently, what is the tab? In the user interface editor, I can play with the tabs at the top and left to estimate the height of the Panel, but can it be determined (a) in a more professional way and (b) by programming?

Thank you!

Wolfgang,

You can always get the handle of Panel tab programmatically, using GetPanelHandleFromTabPage, and then call GetPanelAttribute(...,ATR_HEIGHT,...). Then, you can subtract this value from the height of the tab control.

You may also need to subtract a few pixels for the frame of the Panel, depending on what you use the height of the tab for.

Luis

Tags: NI Software

Similar Questions

Maybe you are looking for