ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/examples/arrays/2Darray/Unit1.lfm
Revision: 380
Committed: Mon Jan 10 10:13:17 2022 UTC (2 years, 3 months ago) by tony
File size: 4073 byte(s)
Log Message:
propset for eol-style

File Contents

# Content
1 object Form1: TForm1
2 Left = 397
3 Height = 432
4 Top = 360
5 Width = 994
6 Caption = '2D Array Example'
7 ClientHeight = 432
8 ClientWidth = 994
9 DefaultMonitor = dmPrimary
10 OnCreate = FormCreate
11 OnShow = FormShow
12 Position = poDefaultSizeOnly
13 LCLVersion = '1.8.1.0'
14 object IBArrayGrid1: TIBArrayGrid
15 Left = 24
16 Height = 335
17 Top = 56
18 Width = 945
19 DataField = 'MYARRAY'
20 DataSource = DataSource1
21 ColumnLabels.Strings = (
22 'Col1'
23 'Col2'
24 'Col3'
25 'Col4'
26 'Col5'
27 'Col6'
28 'Col7'
29 'Col8'
30 )
31 ColumnLabelFont.Height = -13
32 ColumnLabelFont.Style = [fsBold]
33 RowLabels.Strings = (
34 'Row 1'
35 'Row 2'
36 'Row 3'
37 )
38 RowLabelAlignment = taRightJustify
39 RowLabelFont.Height = -13
40 RowLabelFont.Name = 'Sans'
41 RowLabelFont.Style = [fsBold]
42 RowLabelColumnWidth = 80
43 TextAlignment = taRightJustify
44 Anchors = [akTop, akLeft, akRight, akBottom]
45 AutoFillColumns = True
46 DefaultColWidth = 40
47 Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
48 TabOrder = 0
49 ColCount = 29
50 RowCount = 21
51 ColWidths = (
52 80
53 30
54 30
55 30
56 30
57 30
58 30
59 30
60 30
61 30
62 30
63 30
64 30
65 30
66 30
67 30
68 30
69 30
70 30
71 30
72 30
73 30
74 30
75 30
76 30
77 30
78 30
79 30
80 39
81 )
82 end
83 object DBEdit1: TDBEdit
84 Left = 24
85 Height = 24
86 Top = 16
87 Width = 232
88 DataField = 'TITLE'
89 DataSource = DataSource1
90 CharCase = ecNormal
91 MaxLength = 0
92 TabOrder = 1
93 end
94 object DBNavigator1: TDBNavigator
95 Left = 24
96 Height = 25
97 Top = 400
98 Width = 241
99 Anchors = [akLeft, akBottom]
100 BevelOuter = bvNone
101 ChildSizing.EnlargeHorizontal = crsScaleChilds
102 ChildSizing.EnlargeVertical = crsScaleChilds
103 ChildSizing.ShrinkHorizontal = crsScaleChilds
104 ChildSizing.ShrinkVertical = crsScaleChilds
105 ChildSizing.Layout = cclLeftToRightThenTopToBottom
106 ChildSizing.ControlsPerLine = 100
107 ClientHeight = 25
108 ClientWidth = 241
109 DataSource = DataSource1
110 Options = []
111 TabOrder = 2
112 end
113 object IBDatabase1: TIBDatabase
114 Connected = False
115 AfterConnect = IBDatabase1AfterConnect
116 CreateIfNotExists = True
117 AllowStreamedConnected = False
118 DatabaseName = '$DATADIR$2Dtest.fdb'
119 Params.Strings = (
120 'lc_ctype=UTF8'
121 'user_name=SYSDBA'
122 )
123 DefaultTransaction = IBTransaction1
124 IdleTimer = 0
125 TraceFlags = []
126 UseDefaultSystemCodePage = False
127 OnCreateDatabase = IBDatabase1CreateDatabase
128 left = 624
129 top = 24
130 end
131 object IBTransaction1: TIBTransaction
132 Active = False
133 DefaultDatabase = IBDatabase1
134 Params.Strings = (
135 'read_committed'
136 'rec_version'
137 'nowait'
138 )
139 left = 624
140 top = 86
141 end
142 object DataSource1: TDataSource
143 DataSet = IBDataSet1
144 left = 624
145 top = 184
146 end
147 object IBDataSet1: TIBDataSet
148 AllowAutoActivateTransaction = True
149 Database = IBDatabase1
150 Transaction = IBTransaction1
151 BufferChunks = 1000
152 CachedUpdates = False
153 DeleteSQL.Strings = (
154 'Delete From TESTDATA A'
155 'Where A.ROWID = :ROWID'
156 )
157 InsertSQL.Strings = (
158 'Insert Into TESTDATA(ROWID, TITLE, MYARRAY)'
159 'Values(:ROWID, :TITLE, :MYARRAY)'
160 )
161 RefreshSQL.Strings = (
162 'Select A.ROWID, A.TITLE, A.MYARRAY From TESTDATA A'
163 'Where A.ROWID = :ROWID'
164 )
165 SelectSQL.Strings = (
166 'Select A.ROWID, A.TITLE, A.MYARRAY From TESTDATA A'
167 'order by 1 asc'
168 )
169 ModifySQL.Strings = (
170 'Update TESTDATA A Set '
171 ' A.ROWID = :ROWID,'
172 ' A.TITLE = :TITLE,'
173 ' A.MYARRAY = :MYARRAY'
174 'Where A.ROWID = :OLD_ROWID'
175 )
176 GeneratorField.Generator = 'ROWNUMBER'
177 GeneratorField.Field = 'ROWID'
178 GeneratorField.ApplyOnEvent = gaeOnNewRecord
179 GenerateParamNames = False
180 DataSetCloseAction = dcSaveChanges
181 left = 624
182 top = 144
183 end
184 end

Properties

Name Value
svn:eol-style native