質問

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.

役に立ちましたか?

解決

As origional poster noted in comments.

Solution was

Making a TPageControl flat in Delphi 7

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top