{ "ClassName": "TForm", "Name": "Form1", "Properties": { "Top": 0, "Left": 0, "Height": 555, "Width": 517, "Animations": { }, "Background": { }, "Border": { }, "Constraints": { }, "Corners": { }, "InsetShadow": { }, "Layout": { "Position": 7 }, "Margins": { }, "OutsetShadow": { }, "Padding": { }, "OnShow": "Form1Show" }, "Controls": [ { "ClassName": "TLabel", "Name": "Label1", "Properties": { "Top": 16, "Left": 8, "Height": 22, "Width": 56, "Animations": { }, "Background": { }, "Border": { }, "Corners": { }, "Caption": "Country", "Constraints": { }, "DisplayOrder": 3, "Font": { "Name": "Segoe UI", "Color": 4285562249 }, "Format": { }, "Layout": { "Consumption": 5, "Position": 1 }, "LayoutOrder": 0, "Margins": { "Left": 10, "Top": 16, "Bottom": 10 }, "OutsetShadow": { }, "Padding": { } } }, { "ClassName": "TButtonComboBox", "Name": "CountryComboBox", "Properties": { "Top": 10, "Left": 73, "Height": 34, "Width": 319, "Animations": { }, "Constraints": { }, "DisplayOrder": 2, "Font": { "Name": "Segoe UI", "Color": 4294967295 }, "ItemHeight": 34, "Layout": { "Consumption": 7, "Position": 1, "Reset": true, "Stretch": 5 }, "LayoutOrder": 1, "Margins": { "Left": 6, "Top": 10, "Right": 10, "Bottom": 10 }, "TabOrder": 1, "Text": "", "OnChange": "CountryComboBoxChange" } }, { "ClassName": "TLabel", "Name": "RowsLabel", "Properties": { "Top": 8, "Left": 920, "Height": 22, "Width": 56, "Animations": { }, "Background": { }, "Border": { }, "Corners": { }, "Caption": "", "Constraints": { }, "DisplayOrder": 1, "Font": { "Name": "Segoe UI", "Color": 4285562249 }, "Format": { }, "Layout": { "Consumption": 7, "Position": 3, "Reset": true }, "LayoutOrder": 2, "Margins": { "Left": 10, "Right": 10, "Bottom": 10 }, "OutsetShadow": { }, "Padding": { } } }, { "ClassName": "TGrid", "Name": "Grid1", "Properties": { "Top": 56, "Left": 0, "Height": 336, "Width": 544, "AllowAppends": false, "AllowDeletes": false, "AllowInserts": false, "Animations": { }, "Background": { "Fill": { "Color": 4294967295 } }, "Border": { "Top": { "Color": 4289509054, "Width": 2, "Visible": true }, "Left": { "Color": 4289509054, "Width": 2, "Visible": true }, "Right": { "Color": 4289509054, "Width": 2, "Visible": true }, "Bottom": { "Color": 4289509054, "Width": 2, "Visible": true } }, "ColumnHeadersHeight": 40, "Constraints": { }, "Corners": { }, "DataSet": "IPCountry", "DisplayOrder": 0, "Layout": { "Position": 1, "Stretch": 8 }, "LayoutOrder": 3, "Margins": { }, "RowHeight": 34, "RowSelect": true, "TabOrder": 0 }, "Controls": [ { "ClassName": "TGridColumn", "Name": "GridColumn1", "Properties": { "CalendarWidth": 0, "CalendarHeight": 0, "DataColumn": "DotIPAddressFrom", "Font": { "Name": "Segoe UI", "Color": 4282204992 }, "Header": { "Name": "", "AllowClick": false, "Caption": "IP Address - From", "Font": { "Name": "Segoe UI", "Color": 4294967295 } }, "Index": 0, "ImageLayout": { "Name": "" }, "Width": 250 } }, { "ClassName": "TGridColumn", "Name": "GridColumn2", "Properties": { "CalendarWidth": 0, "CalendarHeight": 0, "DataColumn": "DotIPAddressTo", "Font": { "Name": "Segoe UI", "Color": 4282204992 }, "Header": { "Name": "", "AllowClick": false, "Caption": "IP Address - To", "Font": { "Name": "Segoe UI", "Color": 4294967295 } }, "Index": 1, "ImageLayout": { "Name": "" }, "StretchToFit": true, "Width": 250 } } ] } ], "Components": [ { "ClassName": "TDataSet", "Name": "IPCountry", "Left": 72, "Top": 168, "Properties": { "Columns": { "Count": 7, "Items": [ { "Name": "IPAddressFrom", "DataType": 3 }, { "Name": "IPAddressTo", "DataType": 3 }, { "Name": "CountryCode2", "DataType": 1, "Length": 2 }, { "Name": "CountryCode3", "DataType": 1, "Length": 3 }, { "Name": "CountryName", "DataType": 1, "Length": 50 }, { "Name": "DotIPAddressFrom", "DataType": 1, "Length": 40, "Calculated": true }, { "Name": "DotIPAddressTo", "DataType": 1, "Length": 40, "Calculated": true } ] }, "DataSetName": "IPCountry", "OnLoadError": "IPCountryLoadError", "AfterLoad": "IPCountryAfterLoad", "OnCalculateRow": "IPCountryCalculateRow" } }, { "ClassName": "TDataSet", "Name": "Countries", "Left": 184, "Top": 168, "Properties": { "Columns": { "Count": 1, "Items": [ { "Name": "CountryName", "DataType": 1, "Length": 50 } ] }, "DataSetName": "Countries", "OnLoadError": "CountriesLoadError", "AfterLoad": "CountriesAfterLoad" } } ] }