Delphi. Remove a border of TabSheet of PageControl

前端 未结 4 1542

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 wil

4条回答
  •  既然无缘
    2021-02-05 20:15

    nowadays, that is the answer. No need any code hacks
    Probably you use themes, if not, you should use that technology:

    • Project Options > Application> Appearance

    • Check on one of them as Default Style)

      than :

    • Tools > Bitmap Style Designer > Open Style
    • Navigate your vsf style file
      (probably right here "C:\Users\Public\Documents\Embarcadero\Studio[VERSION]\Styles

    • Now In Bitmap Style Designer.. navigate to:
      Objects > Tabs > Frame > Bitmap

    • Click [...] three dot button of Bitmap In Inspector
    • Zoom to 800%
    • Pan/Scroll and Focus on to bitmap rectangle range.
    • Right Mouse Click to change Upper-Left, Left Mouse Click to change Lower-Right region.
      (so select inner rectangle to eliminate border bitmap now you have borderless page controls)

提交回复
热议问题