delphi - Remove tcategorypanel border -


how can remove border tcategorypanel , tcategorypanelgroup in xe3?

tried , didn't work:

type    tcategorypanel =  class (vcl.extctrls.tcategorypanel) protected    procedure  createparams ( var  params: tcreateparams);  override ; end ;  procedure  tcategorypanel.createparams ( var  params: tcreateparams); begin   inherited ;   params.style:= params.style  ,  not  ws_border; end ; 

for tcategorypanel need set protected property bevelouter bvnone.

for tcategorypanelgroup can indeed remove border in createparams. so:

params.style := params.style , (not ws_border); 

it looks this:

enter image description here


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -