BananJoe
asked on
transparent radiobutton
how can i make a radiobutton transparent like the TLabel can do.
if you set the form color to clred and the radiobutton color to clgreen you can see the green
i want to just see the text not color :D
if you set the form color to clred and the radiobutton color to clgreen you can see the green
i want to just see the text not color :D
Ignore the last post, I got lazy and didn't test the code. :( Sorry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
TClearRadioBtn = class( TRadioButton )
private
published
procedure CreateParams( var Params: TCreateParams ); override;
end;
procedure TClearRadioBtn.CreateParam
begin
inherited CreateParams( Params );
Params.ExStyle := Params.ExStyle or WS_EX_TRANSPARENT;
end;