* Added TJSONDataset to component palette (distributed with FPC since long time)

This commit is contained in:
Michaël Van Canneyt 2022-03-29 19:08:04 +02:00
parent 9da44c1c9b
commit b983ea45d0
6 changed files with 5 additions and 2 deletions

Binary file not shown.

After

(image error) Size: 1.2 KiB

Binary file not shown.

After

(image error) Size: 2.2 KiB

Binary file not shown.

After

(image error) Size: 2.4 KiB

Binary file not shown.

View File

@ -202,6 +202,9 @@ components/tinipropstorage_200.png
components/tjsonpropstorage.png
components/tjsonpropstorage_150.png
components/tjsonpropstorage_200.png
components/tjsondataset.png
components/tjsondataset_150.png
components/tjsondataset_200.png
components/tlabel.png
components/tlabel_150.png
components/tlabel_200.png

View File

@ -41,7 +41,7 @@ uses
{$ifdef mswindows}
ServiceManager,
{$endif}
Classes, SysUtils, Process, DB, BufDataset, csvdataset, SimpleIPC, XMLConf, EventLog,
Classes, SysUtils, Process, DB, BufDataset, csvdataset, fpjsondataset, SimpleIPC, XMLConf, EventLog,
UTF8Process, ComponentEditors;
procedure RegisterFCLBaseComponents;
@ -62,7 +62,7 @@ end;
procedure RegisterDB;
begin // this bites dbflaz
RegisterComponents('Data Access',[TDatasource, TBufDataset, TCSVDataset]);
RegisterComponents('Data Access',[TDatasource, TBufDataset, TCSVDataset, TJSONDataset]);
RegisterComponentRequirements([TBufDataset, TCSVDataset], TDatasetRequirements);
end;