Forum > LCL

Hide tabs on TPageControl?

(1/1)

Harrison:
I'm wondering if it's possible to hide and show tabs on a PageControl object?

For example, I have four tabs. I only want 2 of those tabs to show, unless a certain object is checked.

Is this possible?

Ocye:
Simply use the property TabVisible for each TabSheet.

Harrison:
I somehow completely overlooked that when I checked. Thanks a lot.

Navigation

[0] Message Index

Go to full version