Remove tcategorypanel border

后端 未结 1 369
不思量自难忘°
不思量自难忘° 2021-01-18 02:22

How can you remove the border from TCategoryPanel and TCategoryPanelGroup in XE3?

Tried this and didn\'t work:

type
   TCategoryPanel =  class (Vcl.E         


        
相关标签:
1条回答
  • 2021-01-18 02:23

    For TCategoryPanel you need to set the protected property BevelOuter to bvNone.

    For TCategoryPanelGroup you can indeed remove the border in CreateParams. Like so:

    Params.Style := Params.Style and (not WS_BORDER);
    

    It looks like this:

    enter image description here

    0 讨论(0)
提交回复
热议问题