There's a very simple Delphi component I found online: an Unframed Radio Group. Here's the entirety of its code:
unit UnFramedRadioGroup;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TUnFramedRadioGroup = class(TRadioGroup)
private
{ Private declarations }
protected
Procedure Paint; override;
{ Protected declarations }
public
{ Public declarations }
published
{ Published declarations }
end;
procedure Register;
implementation
procedure TUnFramedRadioGroup.Paint;
begin
//Nothing and no inherited
end;
procedure Register;
begin
RegisterComponents('Samples', [TUnFramedRadioGroup]);
end;
end.
What it does is take the normal TRadioGroup and override the Paint method with a blank method so that the frame doesn't get painted. Unfortunately, in Lazarus, TRadioGroup doesn't have a Paint method, so this component doesn't translate. What do I need to do to get this running properly?