Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix a Tab as first tab on TPageControl and keep it showing while navigating on tabs?

Tags:

delphi

I have this form:

enter image description here

Green arrow: Tab General, and I'd like to keep it always visible, but when the form is smaller than the tabs, TPageControl creates a navigator (the red arrow).

It's good, but I'd like to allow the user navigate but keep showing the possibility to click on the General Tab.

Example:

enter image description here

In this picture, I used the navigator and I can't see General Tab anymore. I'd like to keep it as the first tab on the PageControl, like a "fixed column" in Excel for instance.

like image 924
Rodrigo Farias Rezino Avatar asked Aug 04 '16 14:08

Rodrigo Farias Rezino


1 Answers

Yes, I didn't found a way to fix the tab! But I solved my problem creating a custom page control based on our discussion on this thread.

enter image description here enter image description here enter image description here You can check it here

like image 75
Rodrigo Farias Rezino Avatar answered Nov 18 '22 17:11

Rodrigo Farias Rezino