Question

I noticed that the Left property for TTabSheet in the TPageControl is always 4. Because of this there is always at least a 4-pixel margin between the TPageControl border and controls within the TTabSheet. I want to set this margin to 0 (at least for the left border), but I can't set TTabSheet.Left to 0; it always automatically reverts to 4 pixels.

I tried to set the Left property in the OnResize for TTabSheet and for TTabControl, but it doesnt't help.

How can I reduce this margin to 0 (at least for the left border)? I'm using C++ Builder 6.

Was it helpful?

Solution

As origional poster noted in comments.

Solution was

Making a TPageControl flat in Delphi 7

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top