Delphi. Remove a border of TabSheet of PageControl
问题 Your help is needed. Is it possible to remove a border of TabSheet (~4px)? I am using PageControl as a switch-panel instead of frames, windows etc. I want everything will be straight. Big thanks for help! 回答1: unit Unit1; interface uses ..., CommCtrl; type TPageControl = class(ComCtrls.TPageControl) private procedure TCMAdjustRect(var Msg: TMessage); message TCM_ADJUSTRECT; end; TForm1 = class(TForm) ... end; ... procedure TPageControl.TCMAdjustRect(var Msg: TMessage); begin inherited; if Msg