|
1 | 1 | object MainForm: TMainForm |
2 | 2 | Left = 0 |
3 | 3 | Top = 0 |
4 | | - Caption = 'MainForm' |
5 | | - ClientHeight = 483 |
6 | | - ClientWidth = 606 |
| 4 | + BorderIcons = [biSystemMenu, biMinimize, biHelp] |
| 5 | + BorderStyle = bsSingle |
| 6 | + Caption = 'DevExpress Reports Localization Example' |
| 7 | + ClientHeight = 399 |
| 8 | + ClientWidth = 558 |
7 | 9 | Color = clBtnFace |
8 | 10 | Font.Charset = DEFAULT_CHARSET |
9 | 11 | Font.Color = clWindowText |
10 | 12 | Font.Height = -12 |
11 | 13 | Font.Name = 'Segoe UI' |
12 | 14 | Font.Style = [] |
| 15 | + OnCreate = FormCreate |
13 | 16 | TextHeight = 15 |
14 | | - object btnShowDesigner: TcxButton |
15 | | - Left = 24 |
16 | | - Top = 32 |
17 | | - Width = 145 |
18 | | - Height = 25 |
19 | | - Caption = 'Show Designer' |
20 | | - TabOrder = 0 |
21 | | - OnClick = btnShowDesignerClick |
22 | | - end |
23 | | - object btnViewReport: TcxButton |
24 | | - Left = 192 |
25 | | - Top = 32 |
26 | | - Width = 193 |
27 | | - Height = 25 |
28 | | - Caption = 'View Report' |
29 | | - TabOrder = 1 |
30 | | - OnClick = btnViewReportClick |
31 | | - end |
32 | | - object cxGrid1: TcxGrid |
33 | | - Left = 24 |
34 | | - Top = 176 |
35 | | - Width = 521 |
36 | | - Height = 265 |
| 17 | + object cxGroupBox2: TcxGroupBox |
| 18 | + Left = 8 |
| 19 | + Top = 110 |
| 20 | + Caption = 'Example Data Source' |
37 | 21 | TabOrder = 2 |
38 | | - object gvCategories: TcxGridDBTableView |
39 | | - DataController.DataSource = DataModule1.dsCategories |
40 | | - DataController.KeyFieldNames = 'CategoryID' |
41 | | - object gvCategoriesCategoryID: TcxGridDBColumn |
42 | | - DataBinding.FieldName = 'CategoryID' |
43 | | - end |
44 | | - object gvCategoriesCategoryName: TcxGridDBColumn |
45 | | - DataBinding.FieldName = 'CategoryName' |
46 | | - end |
47 | | - object gvCategoriesDescription: TcxGridDBColumn |
48 | | - DataBinding.FieldName = 'Description' |
| 22 | + Height = 277 |
| 23 | + Width = 537 |
| 24 | + object cxGrid1: TcxGrid |
| 25 | + Left = 16 |
| 26 | + Top = 24 |
| 27 | + Width = 505 |
| 28 | + Height = 241 |
| 29 | + TabOrder = 0 |
| 30 | + DragOpening = False |
| 31 | + object gvCategories: TcxGridDBTableView |
| 32 | + DataController.DataSource = DataModule1.dsCategories |
| 33 | + DataController.KeyFieldNames = 'CategoryID' |
| 34 | + object gvCategoriesCategoryID: TcxGridDBColumn |
| 35 | + DataBinding.FieldName = 'CategoryID' |
| 36 | + end |
| 37 | + object gvCategoriesCategoryName: TcxGridDBColumn |
| 38 | + DataBinding.FieldName = 'CategoryName' |
| 39 | + end |
| 40 | + object gvCategoriesDescription: TcxGridDBColumn |
| 41 | + DataBinding.FieldName = 'Description' |
| 42 | + end |
| 43 | + end |
| 44 | + object gvProducts: TcxGridDBTableView |
| 45 | + DataController.DataSource = DataModule1.dsProducts |
| 46 | + DataController.DetailKeyFieldNames = 'CategoryID' |
| 47 | + DataController.KeyFieldNames = 'ProductID' |
| 48 | + DataController.MasterKeyFieldNames = 'CategoryID' |
| 49 | + object gvProductsProductID: TcxGridDBColumn |
| 50 | + DataBinding.FieldName = 'ProductID' |
| 51 | + end |
| 52 | + object gvProductsProductName: TcxGridDBColumn |
| 53 | + DataBinding.FieldName = 'ProductName' |
| 54 | + Width = 244 |
| 55 | + end |
| 56 | + object gvProductsSupplierID: TcxGridDBColumn |
| 57 | + DataBinding.FieldName = 'SupplierID' |
| 58 | + end |
| 59 | + object gvProductsCategoryID: TcxGridDBColumn |
| 60 | + DataBinding.FieldName = 'CategoryID' |
| 61 | + end |
| 62 | + object gvProductsQuantityPerUnit: TcxGridDBColumn |
| 63 | + DataBinding.FieldName = 'QuantityPerUnit' |
| 64 | + Width = 124 |
| 65 | + end |
| 66 | + object gvProductsUnitPrice: TcxGridDBColumn |
| 67 | + DataBinding.FieldName = 'UnitPrice' |
| 68 | + end |
| 69 | + object gvProductsUnitsInStock: TcxGridDBColumn |
| 70 | + DataBinding.FieldName = 'UnitsInStock' |
| 71 | + end |
| 72 | + object gvProductsUnitsOnOrder: TcxGridDBColumn |
| 73 | + DataBinding.FieldName = 'UnitsOnOrder' |
| 74 | + end |
| 75 | + object gvProductsReorderLevel: TcxGridDBColumn |
| 76 | + DataBinding.FieldName = 'ReorderLevel' |
| 77 | + end |
| 78 | + object gvProductsDiscontinued: TcxGridDBColumn |
| 79 | + DataBinding.FieldName = 'Discontinued' |
| 80 | + Width = 34 |
| 81 | + end |
| 82 | + object gvProductsEAN13: TcxGridDBColumn |
| 83 | + DataBinding.FieldName = 'EAN13' |
| 84 | + Width = 76 |
| 85 | + end |
| 86 | + end |
| 87 | + object cxGrid1Level1: TcxGridLevel |
| 88 | + GridView = gvCategories |
| 89 | + object cxGrid1Level2: TcxGridLevel |
| 90 | + GridView = gvProducts |
| 91 | + end |
49 | 92 | end |
50 | 93 | end |
51 | | - object gvProducts: TcxGridDBTableView |
52 | | - DataController.DataSource = DataModule1.dsProducts |
53 | | - DataController.DetailKeyFieldNames = 'CategoryID' |
54 | | - DataController.KeyFieldNames = 'ProductID' |
55 | | - DataController.MasterKeyFieldNames = 'CategoryID' |
56 | | - object gvProductsProductID: TcxGridDBColumn |
57 | | - DataBinding.FieldName = 'ProductID' |
58 | | - end |
59 | | - object gvProductsProductName: TcxGridDBColumn |
60 | | - DataBinding.FieldName = 'ProductName' |
61 | | - Width = 244 |
62 | | - end |
63 | | - object gvProductsSupplierID: TcxGridDBColumn |
64 | | - DataBinding.FieldName = 'SupplierID' |
65 | | - end |
66 | | - object gvProductsCategoryID: TcxGridDBColumn |
67 | | - DataBinding.FieldName = 'CategoryID' |
68 | | - end |
69 | | - object gvProductsQuantityPerUnit: TcxGridDBColumn |
70 | | - DataBinding.FieldName = 'QuantityPerUnit' |
71 | | - Width = 124 |
72 | | - end |
73 | | - object gvProductsUnitPrice: TcxGridDBColumn |
74 | | - DataBinding.FieldName = 'UnitPrice' |
75 | | - end |
76 | | - object gvProductsUnitsInStock: TcxGridDBColumn |
77 | | - DataBinding.FieldName = 'UnitsInStock' |
78 | | - end |
79 | | - object gvProductsUnitsOnOrder: TcxGridDBColumn |
80 | | - DataBinding.FieldName = 'UnitsOnOrder' |
81 | | - end |
82 | | - object gvProductsReorderLevel: TcxGridDBColumn |
83 | | - DataBinding.FieldName = 'ReorderLevel' |
84 | | - end |
85 | | - object gvProductsDiscontinued: TcxGridDBColumn |
86 | | - DataBinding.FieldName = 'Discontinued' |
87 | | - Width = 34 |
88 | | - end |
89 | | - object gvProductsEAN13: TcxGridDBColumn |
90 | | - DataBinding.FieldName = 'EAN13' |
91 | | - Width = 76 |
92 | | - end |
| 94 | + end |
| 95 | + object cxGroupBox1: TcxGroupBox |
| 96 | + Left = 211 |
| 97 | + Top = 17 |
| 98 | + Caption = 'Display a Localized Report Dialog:' |
| 99 | + TabOrder = 1 |
| 100 | + Height = 86 |
| 101 | + Width = 192 |
| 102 | + object btnViewReport: TcxButton |
| 103 | + Left = 15 |
| 104 | + Top = 52 |
| 105 | + Width = 145 |
| 106 | + Height = 25 |
| 107 | + Caption = 'Report Viewer' |
| 108 | + TabOrder = 1 |
| 109 | + OnClick = btnViewReportClick |
93 | 110 | end |
94 | | - object cxGrid1Level1: TcxGridLevel |
95 | | - GridView = gvCategories |
96 | | - object cxGrid1Level2: TcxGridLevel |
97 | | - GridView = gvProducts |
98 | | - end |
| 111 | + object btnShowDesigner: TcxButton |
| 112 | + Left = 15 |
| 113 | + Top = 21 |
| 114 | + Width = 145 |
| 115 | + Height = 25 |
| 116 | + Caption = 'Report Designer' |
| 117 | + TabOrder = 0 |
| 118 | + OnClick = btnShowDesignerClick |
99 | 119 | end |
100 | 120 | end |
101 | | - object btnSetLanguageUS: TcxButton |
102 | | - Left = 72 |
103 | | - Top = 88 |
104 | | - Width = 121 |
105 | | - Height = 25 |
106 | | - Caption = 'English' |
107 | | - TabOrder = 3 |
108 | | - OnClick = btnSetLanguageUSClick |
109 | | - end |
110 | | - object btnSetLanguageDE: TcxButton |
111 | | - Left = 199 |
112 | | - Top = 88 |
113 | | - Width = 131 |
114 | | - Height = 25 |
115 | | - Caption = 'German' |
116 | | - TabOrder = 4 |
117 | | - OnClick = btnSetLanguageDEClick |
118 | | - end |
119 | | - object lblSelectLanguage: TcxLabel |
120 | | - Left = 56 |
121 | | - Top = 64 |
122 | | - Caption = 'Select Language' |
123 | | - TabOrder = 5 |
| 121 | + object cxRadioGroup1: TcxRadioGroup |
| 122 | + Left = 8 |
| 123 | + Top = 17 |
| 124 | + Caption = 'Localize Report Dialogs in:' |
| 125 | + Properties.Items = <> |
| 126 | + TabOrder = 0 |
| 127 | + Height = 86 |
| 128 | + Width = 185 |
| 129 | + object cxRadioButton1: TcxRadioButton |
| 130 | + Left = 16 |
| 131 | + Top = 25 |
| 132 | + Width = 113 |
| 133 | + Height = 17 |
| 134 | + Caption = 'English (en-US)' |
| 135 | + TabOrder = 0 |
| 136 | + OnClick = cxRadioButton1Click |
| 137 | + end |
| 138 | + object cxRadioButton2: TcxRadioButton |
| 139 | + Left = 16 |
| 140 | + Top = 56 |
| 141 | + Width = 113 |
| 142 | + Height = 17 |
| 143 | + Caption = 'German (de-DE)' |
| 144 | + Checked = True |
| 145 | + TabOrder = 1 |
| 146 | + TabStop = True |
| 147 | + OnClick = cxRadioButton2Click |
| 148 | + end |
124 | 149 | end |
125 | 150 | object dxReport1: TdxReport |
126 | 151 | Parameters = <> |
127 | | - Left = 48 |
128 | | - Top = 128 |
| 152 | + Left = 416 |
| 153 | + Top = 32 |
129 | 154 | end |
130 | 155 | object dxBackendDataConnectionManager1: TdxBackendDataConnectionManager |
131 | | - Left = 112 |
132 | | - Top = 128 |
| 156 | + Left = 472 |
| 157 | + Top = 32 |
133 | 158 | object dxBackendDataConnectionManager1dxBackendDataSetJSONConnection1: TdxBackendDataSetJSONConnection |
134 | 159 | DisplayName = 'DataSetConnection' |
135 | 160 | object itmProducts: TdxBackendDataSetCollectionItem |
|
0 commit comments