How can I remove the margin between a page control and its tab sheets?
-
22-04-2021 - |
質問
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.
解決
所属していません StackOverflow