You've already forked lazarus-ccr
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1129 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -189,6 +189,7 @@ type
|
||||
procedure KeyPress(var Key: char); override;
|
||||
constructor CreatePopUp(AOwner: TComponent;
|
||||
APopUpFormOptions:TPopUpFormOptions; AFieldList:string; BtnWidtn:integer);
|
||||
destructor Destroy; override;
|
||||
property DataSet:TDataSet read GetDataSet write SetDataSet;
|
||||
property LookupDisplayIndex:integer read GetLookupDisplayIndex write SetLookupDisplayIndex;
|
||||
end;
|
||||
@ -507,6 +508,12 @@ begin
|
||||
FRowCount:=FPopUpFormOptions.DropDownCount + 2 + ord(dgTitles in FGrid.Options);
|
||||
end;
|
||||
|
||||
destructor TPopUpForm.Destroy;
|
||||
begin
|
||||
FGrid.DataSource:=nil;
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
{ TPopUpFormOptions }
|
||||
|
||||
procedure TPopUpFormOptions.SetAutoSort(const AValue: boolean);
|
||||
|
Reference in New Issue
Block a user