Would be nice if it could show an image as well.
best regards
Thomas
"dk_sz" <dk...@hotmail.com> wrote in message
news:43a61490$1...@newsgroups.borland.com...
Maybe this is enough?
procedure TPushlikeCheckBox.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
Params.Style := Params.Style or BS_PUSHLIKE;
end;
>Would be nice if it could show an image as well.
You could try the above the other way round: Derive from TBitBtn
and add BS_CHECKBOX in CreateParams.
--- posted by geoForum on http://delphi.newswhat.com