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

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -