Registriert seit: 8. Jun 2009
Ort: Bayern
1.138 Beiträge
Delphi 11 Alexandria
|
AW: VCL TCheckListBox -> FMX ?????
22. Jul 2018, 00:23
aktuelle Lösung:
Delphi-Quellcode:
unit TCheckListBox.FMX;
interface
uses
System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.Layouts,
FMX.ListBox;
type
TCheckListBox = class(TListBox)
private
{ Private declarations }
protected
{ Protected declarations }
public
{ Public declarations }
constructor Create (AOwner: TComponent); override;
published
{ Published declarations }
end;
procedure Register;
implementation
procedure Register;
begin
RegisterComponents(' Samples', [TCheckListBox]);
end;
{ TCheckListBox }
constructor TCheckListBox.Create (AOwner: TComponent);
begin
inherited;
self.ShowCheckboxes := true;
end;
end.
|
|
Zitat
|