-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathufrmFMXStyleBrowserMain.fmx
More file actions
231 lines (231 loc) · 7.25 KB
/
ufrmFMXStyleBrowserMain.fmx
File metadata and controls
231 lines (231 loc) · 7.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
object frmFMXStyleBrowser: TfrmFMXStyleBrowser
Left = 0
Top = 0
Caption = 'Style Browser for Firemonkey'
ClientHeight = 616
ClientWidth = 448
StyleBook = AStyleBook
FormFactor.Width = 320
FormFactor.Height = 480
FormFactor.Devices = [Desktop]
OnActivate = FormActivate
OnCreate = FormCreate
OnClose = FormClose
DesignerMasterStyle = 0
object grpStyleConfig: TGroupBox
Align = Client
Margins.Left = 10.000000000000000000
Margins.Top = 10.000000000000000000
Margins.Right = 10.000000000000000000
Margins.Bottom = 10.000000000000000000
Size.Width = 428.000000000000000000
Size.Height = 477.000000000000000000
Size.PlatformDefault = False
Text = 'Options'
TabOrder = 1
object brnRefreshStyles: TButton
Position.X = 8.000000000000000000
Position.Y = 246.000000000000000000
Size.Width = 137.000000000000000000
Size.Height = 35.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'Button1Style1'
TabOrder = 8
Text = 'Refresh Styles'
OnClick = brnRefreshStylesClick
end
object chkWindowsDefault: TCheckBox
IsChecked = True
Position.X = 8.000000000000000000
Position.Y = 181.000000000000000000
Size.Width = 185.000000000000000000
Size.Height = 19.000000000000000000
Size.PlatformDefault = False
TabOrder = 9
Text = 'Windows Default (no style)'
OnChange = chkWindowsDefaultChange
end
object radFolder1: TRadioButton
GroupName = 'Folders'
IsChecked = True
Position.X = 8.000000000000000000
Position.Y = 29.000000000000000000
Size.Width = 113.000000000000000000
Size.Height = 19.000000000000000000
Size.PlatformDefault = False
TabOrder = 0
Text = 'Preset Folder 1'
OnClick = radFolder1Click
end
object ProgressBar1: TProgressBar
Anchors = [akLeft, akRight, akBottom]
Orientation = Horizontal
Position.X = 8.000000000000000000
Position.Y = 426.000000000000000000
Size.Width = 412.000000000000000000
Size.Height = 11.000000000000000000
Size.PlatformDefault = False
Value = 35.000000000000000000
end
object lbStyleList: TListBox
Anchors = [akLeft, akTop, akRight, akBottom]
Position.X = 184.000000000000000000
Position.Y = 208.000000000000000000
Size.Width = 217.000000000000000000
Size.Height = 190.000000000000000000
Size.PlatformDefault = False
TabOrder = 7
OnDblClick = lbStyleListDblClick
DisableFocusEffect = True
Items.Strings = (
'ListBox Item one'
'ListBox Item two'
'ListBox Item three'
'ListBox Item four')
DefaultItemStyles.ItemStyle = ''
DefaultItemStyles.GroupHeaderStyle = ''
DefaultItemStyles.GroupFooterStyle = ''
Viewport.Width = 213.000000000000000000
Viewport.Height = 186.000000000000000000
end
object cmbStyle: TComboBox
Items.Strings = (
'Show All styles'
'Show only "Dark" styles'
'Show only "Light" styles')
ItemIndex = 0
Position.X = 240.000000000000000000
Position.Y = 170.000000000000000000
Size.Width = 161.000000000000000000
Size.Height = 30.000000000000000000
Size.PlatformDefault = False
TabOrder = 6
OnChange = cmbStyleChange
end
object edtFolder1: TEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Anchors = [akLeft, akTop, akRight]
TabOrder = 1
Position.X = 128.000000000000000000
Position.Y = 24.000000000000000000
Size.Width = 273.000000000000000000
Size.Height = 30.000000000000000000
Size.PlatformDefault = False
end
object TrackBar1: TTrackBar
Anchors = [akLeft, akRight, akBottom]
CanParentFocus = True
Orientation = Horizontal
Position.X = 8.000000000000000000
Position.Y = 445.000000000000000000
Size.Width = 412.000000000000000000
Size.Height = 19.000000000000000000
Size.PlatformDefault = False
TabOrder = 10
Value = 35.000000000000000000
end
object radFolder2: TRadioButton
GroupName = 'Folders'
Position.X = 8.000000000000000000
Position.Y = 62.000000000000000000
TabOrder = 2
Text = 'Preset Folder 2'
OnClick = radFolder2Click
end
object radFolder3: TRadioButton
GroupName = 'Folders'
Position.X = 8.000000000000000000
Position.Y = 94.000000000000000000
TabOrder = 4
Text = 'Preset Folder 3'
OnClick = radFolder3Click
end
object edtFolder2: TEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Anchors = [akLeft, akTop, akRight]
TabOrder = 3
Position.X = 128.000000000000000000
Position.Y = 56.000000000000000000
Size.Width = 273.000000000000000000
Size.Height = 30.000000000000000000
Size.PlatformDefault = False
end
object edtFolder3: TEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Anchors = [akLeft, akTop, akRight]
TabOrder = 5
Position.X = 128.000000000000000000
Position.Y = 89.000000000000000000
Size.Width = 273.000000000000000000
Size.Height = 30.000000000000000000
Size.PlatformDefault = False
end
object AniIndicator: TAniIndicator
Position.X = 128.000000000000000000
Position.Y = 94.000000000000000000
Size.Width = 89.000000000000000000
Size.Height = 82.000000000000000000
Size.PlatformDefault = False
Visible = False
end
object Label1: TLabel
Anchors = [akLeft, akBottom]
Position.X = 8.000000000000000000
Position.Y = 401.000000000000000000
Size.Width = 201.000000000000000000
Size.Height = 22.000000000000000000
Size.PlatformDefault = False
Text = 'Trackbar and Progressbar for testing'
TabOrder = 40
end
end
object lblDescr: TLabel
Align = Top
Margins.Left = 10.000000000000000000
Margins.Top = 10.000000000000000000
Margins.Right = 10.000000000000000000
Position.X = 10.000000000000000000
Position.Y = 10.000000000000000000
Size.Width = 428.000000000000000000
Size.Height = 63.000000000000000000
Size.PlatformDefault = False
TextSettings.VertAlign = Leading
Text =
'This program allows you to preview Firemonkey Styles. You can de' +
'fine up to three folders, then switch between them easily for qu' +
'ick comparison. Your defined folders will be saved in the regist' +
'ry between sessions.'
TabOrder = 0
end
object pnlBottom: TPanel
Align = Bottom
Margins.Left = 10.000000000000000000
Margins.Right = 10.000000000000000000
Margins.Bottom = 10.000000000000000000
Position.X = 10.000000000000000000
Position.Y = 570.000000000000000000
Size.Width = 428.000000000000000000
Size.Height = 36.000000000000000000
Size.PlatformDefault = False
TabOrder = 2
end
object AStyleBook: TStyleBook
Styles = <
item
end>
Left = 136
Top = 376
end
object BindingsList1: TBindingsList
Methods = <>
OutputConverters = <>
Left = 292
Top = 517
object LinkControlToPropertyValue: TLinkControlToProperty
Category = 'Quick Bindings'
Control = TrackBar1
Component = ProgressBar1
ComponentProperty = 'Value'
end
end
end