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:
Comments
Post a Comment