-
-
Notifications
You must be signed in to change notification settings - Fork 318
/
Copy pathFMX.Layouts.xml
2724 lines (2452 loc) · 227 KB
/
FMX.Layouts.xml
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" ?><namespace name="FMX.Layouts" platform="Win32">
<class name="TLayout" file="FMX.Layouts.pas" line="24">
<members>
<procedure name="Paint" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="26">
<devnotes><summary>
Renders the control's surface.
FMX.Layouts.TLayout.Paint inherits from FMX.Controls.TControl.Paint. All content below this line refers to FMX.Controls.TControl.Paint.
Renders the control's surface.
The Paint method is called by DoPaint when a control is being painted by the PaintTo method. Before DoPaint, Painting is called. AfterPaint is called immediately after.
FireMonkey internally calls Paint to paint the control when the window is being painted. You must not call Paint explicitly.
The base class TControl implements an empty Paint. The descendants of TControl override Paint to provide specific rendering of the respective controls.
For example, Paint methods in classes of the FMX.Objects unit draw and fill shapes using the properties defined in these classes. See the descriptions of these classes to find the properties of the respective shapes.
</summary></devnotes></procedure>
<constructor name="Create" visibility="public" file="FMX.Layouts.pas" line="28">
<parameters>
<parameter name="AOwner" type="TComponent"/>
</parameters>
<devnotes><summary>
Allocates memory and constructs a safely initialized instance of a component.
Allocates memory and constructs a safely initialized instance of a component.
Allocates memory and constructs a safely initialized instance of a component.
FMX.Layouts.TLayout.Create inherits from System.Classes.TComponent.Create. All content below this line refers to System.Classes.TComponent.Create.
Allocates memory and constructs a safely initialized instance of a component.
All objects have a Create method that constructs the object. TComponent redefines Create so that, for components, Create also:
Establishes the relationship of a component and its Owner, as indicated by the AOwner parameter.
Sets the ComponentStyle property to csInheritable, meaning that the component can be inherited by a descendent form type.
It is not necessary to explicitly create components added in the Form Designer. These components are created automatically when the application is run, and they are destroyed when the application is closed.
For components created programmatically, that is, not created in the Form Designer, call Create and pass in an owner component as the AOwner parameter. The owner disposes of the component when it is destroyed. If the component is not owned, then use Free when it needs to be destroyed.
Tip: When passing in Self as the Owner parameter, consider what Self references. If a component creates another component in one of its methods, then Self refers to the first component and not the component being created, which is then owned by the first component.
Note: The TComponent constructor is virtual in part to allow polymorphic instantiation of class references. This is critical to the streaming system and to the Form Designer. Do not forget to use the override directive when declaring a new component's Create constructor.</summary></devnotes></constructor>
<property name="Align" visibility="published" read="FAlign" write="SetAlign" type="TAlignLayout" default="0" hoisted="true" file="FMX.Layouts.pas" line="30"/>
<property name="Anchors" visibility="published" read="FAnchors" write="SetAnchors" stored="IsAnchorsStored" type="TAnchors" hoisted="true" file="FMX.Layouts.pas" line="31"/>
<property name="ClipChildren" visibility="published" read="FClipChildren" write="SetClipChildren" type="Boolean" default="0" hoisted="true" file="FMX.Layouts.pas" line="32"/>
<property name="ClipParent" visibility="published" read="FClipParent" write="FClipParent" type="Boolean" default="0" hoisted="true" file="FMX.Layouts.pas" line="33"/>
<property name="Cursor" visibility="published" read="GetCursor" write="SetCursor" type="TCursor" default="0" hoisted="true" file="FMX.Layouts.pas" line="34"/>
<property name="DragMode" visibility="published" read="GetDragMode" write="SetDragMode" type="TDragMode" default="0" hoisted="true" file="FMX.Layouts.pas" line="35"/>
<property name="EnableDragHighlight" visibility="published" read="FEnableDragHighlight" write="FEnableDragHighlight" type="Boolean" default="1" hoisted="true" file="FMX.Layouts.pas" line="36"/>
<property name="Enabled" visibility="published" read="FEnabled" write="SetEnabled" stored="EnabledStored" type="Boolean" hoisted="true" file="FMX.Layouts.pas" line="37"/>
<property name="Locked" visibility="published" read="FLocked" write="SetLocked" type="Boolean" default="0" hoisted="true" file="FMX.Layouts.pas" line="38"/>
<property name="Height" visibility="published" read="GetHeight" write="SetHeight" stored="False" type="Single" hoisted="true" file="FMX.Layouts.pas" line="39"/>
<property name="Hint" visibility="published" read="FHint" write="SetHint" stored="HintStored" type="string" default="0" hoisted="true" file="FMX.Layouts.pas" line="40"/>
<property name="HitTest" visibility="published" read="FHitTest" write="SetHitTest" type="Boolean" default="0" hoisted="true" file="FMX.Layouts.pas" line="41"/>
<property name="Padding" visibility="published" read="GetPadding" write="SetPadding" type="TBounds" hoisted="true" file="FMX.Layouts.pas" line="42"/>
<property name="Opacity" visibility="published" read="FOpacity" write="SetOpacity" stored="IsOpacityStored" type="Single" hoisted="true" file="FMX.Layouts.pas" line="43"/>
<property name="Margins" visibility="published" read="GetMargins" write="SetMargins" type="TBounds" hoisted="true" file="FMX.Layouts.pas" line="44"/>
<property name="PopupMenu" visibility="published" read="FPopupMenu" write="SetPopupMenu" stored="IsPopupMenuStored" type="TCustomPopupMenu" hoisted="true" file="FMX.Layouts.pas" line="45"/>
<property name="Position" visibility="published" read="FPosition" write="SetPosition" stored="IsPositionStored" type="TPosition" hoisted="true" file="FMX.Layouts.pas" line="46"/>
<property name="RotationAngle" visibility="published" read="GetRotationAngle" write="SetRotationAngle" type="Single" default="0" hoisted="true" file="FMX.Layouts.pas" line="47"/>
<property name="RotationCenter" visibility="published" read="GetRotationCenter" write="SetRotationCenter" type="TPosition" hoisted="true" file="FMX.Layouts.pas" line="48"/>
<property name="Scale" visibility="published" read="GetScale" write="SetScale" type="TPosition" hoisted="true" file="FMX.Layouts.pas" line="49"/>
<property name="Size" visibility="published" read="FSize" write="SetSize" stored="IsSizeStored" type="TControlSize" hoisted="true" file="FMX.Layouts.pas" line="50"/>
<property name="TouchTargetExpansion" visibility="published" read="FTouchTargetExpansion" write="SetTouchTargetExpansion" type="TBounds" hoisted="true" file="FMX.Layouts.pas" line="51"/>
<property name="Visible" visibility="published" read="FVisible" write="SetVisible" stored="VisibleStored" type="Boolean" default="1" hoisted="true" file="FMX.Layouts.pas" line="52"/>
<property name="Width" visibility="published" read="GetWidth" write="SetWidth" stored="False" type="Single" hoisted="true" file="FMX.Layouts.pas" line="53"/>
<property name="ParentShowHint" visibility="published" read="FParentShowHint" write="SetParentShowHint" type="Boolean" default="1" hoisted="true" file="FMX.Layouts.pas" line="54"/>
<property name="ShowHint" visibility="published" read="FShowHint" write="SetShowHint" stored="IsShowHintStored" type="Boolean" hoisted="true" file="FMX.Layouts.pas" line="55"/>
<property name="TabOrder" visibility="published" read="GetTabOrder" write="SetTabOrder" type="TTabOrder" default="-1" hoisted="true" file="FMX.Layouts.pas" line="56"/>
<property name="TabStop" visibility="published" read="GetTabStop" write="SetTabStop" type="Boolean" default="1" hoisted="true" file="FMX.Layouts.pas" line="57"/>
<event name="OnPainting" visibility="published" read="FOnPainting" write="FOnPainting" type="TOnPaintEvent" hoisted="true" file="FMX.Layouts.pas" line="59"/>
<event name="OnPaint" visibility="published" read="FOnPaint" write="FOnPaint" type="TOnPaintEvent" hoisted="true" file="FMX.Layouts.pas" line="60"/>
<event name="OnResize" visibility="published" read="FOnResize" write="FOnResize" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="61"/>
<event name="OnResized" visibility="published" read="FOnResized" write="FOnResized" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="62"/>
<event name="OnDragEnter" visibility="published" read="FOnDragEnter" write="FOnDragEnter" type="TDragEnterEvent" hoisted="true" file="FMX.Layouts.pas" line="64"/>
<event name="OnDragLeave" visibility="published" read="FOnDragLeave" write="FOnDragLeave" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="65"/>
<event name="OnDragOver" visibility="published" read="FOnDragOver" write="FOnDragOver" type="TDragOverEvent" hoisted="true" file="FMX.Layouts.pas" line="66"/>
<event name="OnDragDrop" visibility="published" read="FOnDragDrop" write="FOnDragDrop" type="TDragDropEvent" hoisted="true" file="FMX.Layouts.pas" line="67"/>
<event name="OnDragEnd" visibility="published" read="FOnDragEnd" write="FOnDragEnd" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="68"/>
<event name="OnClick" visibility="published" read="FOnClick" write="SetOnClick" stored="OnClickStored" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="70"/>
<event name="OnDblClick" visibility="published" read="FOnDblClick" write="FOnDblClick" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="71"/>
<event name="OnMouseDown" visibility="published" read="FOnMouseDown" write="FOnMouseDown" type="TMouseEvent" hoisted="true" file="FMX.Layouts.pas" line="72"/>
<event name="OnMouseMove" visibility="published" read="FOnMouseMove" write="FOnMouseMove" type="TMouseMoveEvent" hoisted="true" file="FMX.Layouts.pas" line="73"/>
<event name="OnMouseUp" visibility="published" read="FOnMouseUp" write="FOnMouseUp" type="TMouseEvent" hoisted="true" file="FMX.Layouts.pas" line="74"/>
<event name="OnMouseWheel" visibility="published" read="FOnMouseWheel" write="FOnMouseWheel" type="TMouseWheelEvent" hoisted="true" file="FMX.Layouts.pas" line="75"/>
<event name="OnMouseEnter" visibility="published" read="FOnMouseEnter" write="FOnMouseEnter" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="76"/>
<event name="OnMouseLeave" visibility="published" read="FOnMouseLeave" write="FOnMouseLeave" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="77"/>
</members>
<devnotes><summary>
A layout is a container for other graphical objects.
Use the layouts when you need to organize multiple graphical controls under the same parent.
For instance, you can use these layouts when you need to create rich FireMonkey applications with many graphical controls that are grouped on the same layer. You can set the visibility of all the controls on a layout at once by affecting the visibility of the layout.
</summary></devnotes></class>
<class name="TScaledLayout" file="FMX.Layouts.pas" line="82">
<members>
<field name="FOriginalWidth" type="Single" visibility="private" size="4" offset="904" file="FMX.Layouts.pas" line="84"/>
<field name="FOriginalHeight" type="Single" visibility="private" size="4" offset="908" file="FMX.Layouts.pas" line="85"/>
<procedure name="SetOriginalWidth" visibility="private" file="FMX.Layouts.pas" line="86">
<parameters>
<parameter name="Value" type="Single" paramflags="const"/>
</parameters>
</procedure>
<procedure name="SetOriginalHeight" visibility="private" file="FMX.Layouts.pas" line="87">
<parameters>
<parameter name="Value" type="Single" paramflags="const"/>
</parameters>
</procedure>
<procedure name="DoRealign" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="89">
<devnotes><summary>
Performs the alignment of a FireMonkey control.
FMX.Layouts.TScaledLayout.DoRealign inherits from FMX.Controls.TControl.DoRealign. All content below this line refers to FMX.Controls.TControl.DoRealign.
Performs the alignment of a FireMonkey control.
See Also
FMX.Types.AlignObjects
</summary></devnotes></procedure>
<function name="GetChildrenMatrix" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="90">
<parameters>
<parameter name="Matrix" type="TMatrix" paramflags="var"/>
<parameter name="Simple" type="Boolean" paramflags="var"/>
<retval type="Boolean"/>
</parameters>
<devnotes><summary>
Returns the children transformation matrix.
FMX.Layouts.TScaledLayout.GetChildrenMatrix inherits from FMX.Controls.TControl.GetChildrenMatrix. All content below this line refers to FMX.Controls.TControl.GetChildrenMatrix.
Returns the children transformation matrix.
The AbsoluteMatrix is calculated as:
AbsoluteMatrix = (LocalMatrix * Parent.GetChildrenMatrix) * Parent.AbsoluteMatrix
TScaledLayout overrides GetChildrenMatrix to prescale layout contents.
</summary></devnotes></function>
<procedure name="SetHeight" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="91">
<parameters>
<parameter name="Value" type="Single" paramflags="const"/>
</parameters>
<devnotes><summary>
Setter function for the Height property.
FMX.Layouts.TScaledLayout.SetHeight inherits from FMX.Controls.TControl.SetHeight. All content below this line refers to FMX.Controls.TControl.SetHeight.
Setter function for the Height property. Value specifies the new value of the Height property.
</summary></devnotes></procedure>
<procedure name="SetWidth" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="92">
<parameters>
<parameter name="Value" type="Single" paramflags="const"/>
</parameters>
<devnotes><summary>
Setter function for the Width property.
FMX.Layouts.TScaledLayout.SetWidth inherits from FMX.Controls.TControl.SetWidth. All content below this line refers to FMX.Controls.TControl.SetWidth.
Setter function for the Width property. Value specifies the new value of the Width property.
</summary></devnotes></procedure>
<procedure name="Paint" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="93">
<devnotes><summary>
Renders the control's surface.
FMX.Layouts.TScaledLayout.Paint inherits from FMX.Controls.TControl.Paint. All content below this line refers to FMX.Controls.TControl.Paint.
Renders the control's surface.
The Paint method is called by DoPaint when a control is being painted by the PaintTo method. Before DoPaint, Painting is called. AfterPaint is called immediately after.
FireMonkey internally calls Paint to paint the control when the window is being painted. You must not call Paint explicitly.
The base class TControl implements an empty Paint. The descendants of TControl override Paint to provide specific rendering of the respective controls.
For example, Paint methods in classes of the FMX.Objects unit draw and fill shapes using the properties defined in these classes. See the descriptions of these classes to find the properties of the respective shapes.
</summary></devnotes></procedure>
<constructor name="Create" visibility="public" file="FMX.Layouts.pas" line="95">
<parameters>
<parameter name="AOwner" type="TComponent"/>
</parameters>
<devnotes><summary>
Allocates memory and constructs a safely initialized instance of a component.
Allocates memory and constructs a safely initialized instance of a component.
Allocates memory and constructs a safely initialized instance of a component.
FMX.Layouts.TScaledLayout.Create inherits from System.Classes.TComponent.Create. All content below this line refers to System.Classes.TComponent.Create.
Allocates memory and constructs a safely initialized instance of a component.
All objects have a Create method that constructs the object. TComponent redefines Create so that, for components, Create also:
Establishes the relationship of a component and its Owner, as indicated by the AOwner parameter.
Sets the ComponentStyle property to csInheritable, meaning that the component can be inherited by a descendent form type.
It is not necessary to explicitly create components added in the Form Designer. These components are created automatically when the application is run, and they are destroyed when the application is closed.
For components created programmatically, that is, not created in the Form Designer, call Create and pass in an owner component as the AOwner parameter. The owner disposes of the component when it is destroyed. If the component is not owned, then use Free when it needs to be destroyed.
Tip: When passing in Self as the Owner parameter, consider what Self references. If a component creates another component in one of its methods, then Self refers to the first component and not the component being created, which is then owned by the first component.
Note: The TComponent constructor is virtual in part to allow polymorphic instantiation of class references. This is critical to the streaming system and to the Form Designer. Do not forget to use the override directive when declaring a new component's Create constructor.</summary></devnotes></constructor>
<destructor name="Destroy" visibility="public" file="FMX.Layouts.pas" line="96">
<parameters>
</parameters>
<devnotes><summary>
Disposes of the component and its owned components.
Disposes of the component and its owned components.
Disposes of the component and its owned components.
FMX.Layouts.TScaledLayout.Destroy inherits from System.Classes.TComponent.Destroy. All content below this line refers to System.Classes.TComponent.Destroy.
Disposes of the component and its owned components.
Do not call Destroy directly. Call Free instead. Free verifies that the component is not nil, and only then calls Destroy.
Never explicitly free a component in one of its own event handlers, nor free a component from the event handler of a component that it owns or contains.
To destroy a form, call its Release method. Release waits for all the form's event handlers and the event handlers of the form's components to finish executing before destroying the form.
Note: A form owns all the controls and nonvisual components that are placed on it in design mode. When it is freed, all of these components are automatically freed as well. By default, all forms are owned by the global Application object. When an application terminates, it frees the global Application object, which frees all forms. For objects that are not components, and for components created with a nil owner, be sure to call Free after finishing with the object; otherwise the memory allocated for the object will be lost until the application terminates.</summary></devnotes></destructor>
<property name="Align" visibility="published" read="FAlign" write="SetAlign" type="TAlignLayout" default="0" hoisted="true" file="FMX.Layouts.pas" line="98"/>
<property name="Anchors" visibility="published" read="FAnchors" write="SetAnchors" stored="IsAnchorsStored" type="TAnchors" hoisted="true" file="FMX.Layouts.pas" line="99"/>
<property name="ClipChildren" visibility="published" read="FClipChildren" write="SetClipChildren" type="Boolean" default="0" hoisted="true" file="FMX.Layouts.pas" line="100"/>
<property name="ClipParent" visibility="published" read="FClipParent" write="FClipParent" type="Boolean" default="0" hoisted="true" file="FMX.Layouts.pas" line="101"/>
<property name="Cursor" visibility="published" read="GetCursor" write="SetCursor" type="TCursor" default="0" hoisted="true" file="FMX.Layouts.pas" line="102"/>
<property name="DragMode" visibility="published" read="GetDragMode" write="SetDragMode" type="TDragMode" default="0" hoisted="true" file="FMX.Layouts.pas" line="103"/>
<property name="EnableDragHighlight" visibility="published" read="FEnableDragHighlight" write="FEnableDragHighlight" type="Boolean" default="1" hoisted="true" file="FMX.Layouts.pas" line="104"/>
<property name="Enabled" visibility="published" read="FEnabled" write="SetEnabled" stored="EnabledStored" type="Boolean" hoisted="true" file="FMX.Layouts.pas" line="105"/>
<property name="Locked" visibility="published" read="FLocked" write="SetLocked" type="Boolean" default="0" hoisted="true" file="FMX.Layouts.pas" line="106"/>
<property name="Height" visibility="published" read="GetHeight" write="SetHeight" stored="False" type="Single" hoisted="true" file="FMX.Layouts.pas" line="107"/>
<property name="Hint" visibility="published" read="FHint" write="SetHint" stored="HintStored" type="string" default="0" hoisted="true" file="FMX.Layouts.pas" line="108"/>
<property name="HitTest" visibility="published" read="FHitTest" write="SetHitTest" type="Boolean" default="0" hoisted="true" file="FMX.Layouts.pas" line="109"/>
<property name="Padding" visibility="published" read="GetPadding" write="SetPadding" type="TBounds" hoisted="true" file="FMX.Layouts.pas" line="110"/>
<property name="Opacity" visibility="published" read="FOpacity" write="SetOpacity" stored="IsOpacityStored" type="Single" hoisted="true" file="FMX.Layouts.pas" line="111"/>
<property name="OriginalWidth" visibility="published" read="FOriginalWidth" write="SetOriginalWidth" type="Single" default="0" file="FMX.Layouts.pas" line="112"><devnotes><summary>
Specifies the original width of the scaled layout control. The original width represents the unscaled X dimension of the scaled layout control.
</summary></devnotes></property>
<property name="OriginalHeight" visibility="published" read="FOriginalHeight" write="SetOriginalHeight" type="Single" default="0" file="FMX.Layouts.pas" line="113"><devnotes><summary>
Specifies the original height of the scaled layout control. The original height represents the unscaled Y dimension of the scaled layout control.
</summary></devnotes></property>
<property name="Margins" visibility="published" read="GetMargins" write="SetMargins" type="TBounds" hoisted="true" file="FMX.Layouts.pas" line="114"/>
<property name="PopupMenu" visibility="published" read="FPopupMenu" write="SetPopupMenu" stored="IsPopupMenuStored" type="TCustomPopupMenu" hoisted="true" file="FMX.Layouts.pas" line="115"/>
<property name="Position" visibility="published" read="FPosition" write="SetPosition" stored="IsPositionStored" type="TPosition" hoisted="true" file="FMX.Layouts.pas" line="116"/>
<property name="RotationAngle" visibility="published" read="GetRotationAngle" write="SetRotationAngle" type="Single" default="0" hoisted="true" file="FMX.Layouts.pas" line="117"/>
<property name="RotationCenter" visibility="published" read="GetRotationCenter" write="SetRotationCenter" type="TPosition" hoisted="true" file="FMX.Layouts.pas" line="118"/>
<property name="Scale" visibility="published" read="GetScale" write="SetScale" type="TPosition" hoisted="true" file="FMX.Layouts.pas" line="119"/>
<property name="Size" visibility="published" read="FSize" write="SetSize" stored="IsSizeStored" type="TControlSize" hoisted="true" file="FMX.Layouts.pas" line="120"/>
<property name="TouchTargetExpansion" visibility="published" read="FTouchTargetExpansion" write="SetTouchTargetExpansion" type="TBounds" hoisted="true" file="FMX.Layouts.pas" line="121"/>
<property name="Visible" visibility="published" read="FVisible" write="SetVisible" stored="VisibleStored" type="Boolean" default="1" hoisted="true" file="FMX.Layouts.pas" line="122"/>
<property name="Width" visibility="published" read="GetWidth" write="SetWidth" stored="False" type="Single" hoisted="true" file="FMX.Layouts.pas" line="123"/>
<property name="ParentShowHint" visibility="published" read="FParentShowHint" write="SetParentShowHint" type="Boolean" default="1" hoisted="true" file="FMX.Layouts.pas" line="124"/>
<property name="ShowHint" visibility="published" read="FShowHint" write="SetShowHint" stored="IsShowHintStored" type="Boolean" hoisted="true" file="FMX.Layouts.pas" line="125"/>
<event name="OnPainting" visibility="published" read="FOnPainting" write="FOnPainting" type="TOnPaintEvent" hoisted="true" file="FMX.Layouts.pas" line="127"/>
<event name="OnPaint" visibility="published" read="FOnPaint" write="FOnPaint" type="TOnPaintEvent" hoisted="true" file="FMX.Layouts.pas" line="128"/>
<event name="OnResize" visibility="published" read="FOnResize" write="FOnResize" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="129"/>
<event name="OnResized" visibility="published" read="FOnResized" write="FOnResized" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="130"/>
<event name="OnDragEnter" visibility="published" read="FOnDragEnter" write="FOnDragEnter" type="TDragEnterEvent" hoisted="true" file="FMX.Layouts.pas" line="132"/>
<event name="OnDragLeave" visibility="published" read="FOnDragLeave" write="FOnDragLeave" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="133"/>
<event name="OnDragOver" visibility="published" read="FOnDragOver" write="FOnDragOver" type="TDragOverEvent" hoisted="true" file="FMX.Layouts.pas" line="134"/>
<event name="OnDragDrop" visibility="published" read="FOnDragDrop" write="FOnDragDrop" type="TDragDropEvent" hoisted="true" file="FMX.Layouts.pas" line="135"/>
<event name="OnDragEnd" visibility="published" read="FOnDragEnd" write="FOnDragEnd" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="136"/>
<event name="OnClick" visibility="published" read="FOnClick" write="SetOnClick" stored="OnClickStored" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="138"/>
<event name="OnDblClick" visibility="published" read="FOnDblClick" write="FOnDblClick" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="139"/>
<event name="OnMouseDown" visibility="published" read="FOnMouseDown" write="FOnMouseDown" type="TMouseEvent" hoisted="true" file="FMX.Layouts.pas" line="140"/>
<event name="OnMouseMove" visibility="published" read="FOnMouseMove" write="FOnMouseMove" type="TMouseMoveEvent" hoisted="true" file="FMX.Layouts.pas" line="141"/>
<event name="OnMouseUp" visibility="published" read="FOnMouseUp" write="FOnMouseUp" type="TMouseEvent" hoisted="true" file="FMX.Layouts.pas" line="142"/>
<event name="OnMouseWheel" visibility="published" read="FOnMouseWheel" write="FOnMouseWheel" type="TMouseWheelEvent" hoisted="true" file="FMX.Layouts.pas" line="143"/>
<event name="OnMouseEnter" visibility="published" read="FOnMouseEnter" write="FOnMouseEnter" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="144"/>
<event name="OnMouseLeave" visibility="published" read="FOnMouseLeave" write="FOnMouseLeave" type="TNotifyEvent" hoisted="true" file="FMX.Layouts.pas" line="145"/>
</members>
<devnotes><summary>
A FireMonkey scaled layout is a wrapper over TControl and acts like a layer for other objects with the possibility of scaling its content according to the physical dimensions of the layout.
A scaled layout is a container for other graphical objects that can scale its contents as shown in the following image.
The label and the button are scaled according to the dimensions of the form that contains the layer aligned as the client so that the layer occupies the entire surface.
</summary></devnotes></class>
<class name="TScrollContent" file="FMX.Layouts.pas" line="152">
<members>
<field name="FScrollBox" type="TCustomScrollBox" visibility="private" size="4" offset="912" file="FMX.Layouts.pas" line="154">
<attributes>
<attribute name="TObject"/>
</attributes>
</field>
<field name="FIsContentChanged" type="Boolean" visibility="private" size="1" offset="916" file="FMX.Layouts.pas" line="155"/>
<function name="GetClipRect" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="157">
<parameters>
<retval type="TRectF"/>
</parameters>
</function>
<function name="GetChildrenRect" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="158">
<parameters>
<retval type="TRectF"/>
</parameters>
</function>
<function name="ObjectAtPoint" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="159">
<parameters>
<parameter name="P" type="TPointF"/>
<retval type="IControl"/>
</parameters>
</function>
<function name="DoGetUpdateRect" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="160">
<parameters>
<retval type="TRectF"/>
</parameters>
</function>
<procedure name="DoAddObject" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="161">
<parameters>
<parameter name="AObject" type="TFmxObject" paramflags="const"/>
</parameters>
</procedure>
<procedure name="DoInsertObject" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="162">
<parameters>
<parameter name="Index" type="Integer"/>
<parameter name="AObject" type="TFmxObject" paramflags="const"/>
</parameters>
</procedure>
<procedure name="DoRemoveObject" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="163">
<parameters>
<parameter name="AObject" type="TFmxObject" paramflags="const"/>
</parameters>
</procedure>
<procedure name="DoRealign" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="164">
</procedure>
<procedure name="ContentChanged" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="165">
</procedure>
<property name="IsContentChanged" visibility="protected" read="FIsContentChanged" write="FIsContentChanged" type="Boolean" file="FMX.Layouts.pas" line="167">
<devnotes>
<summary> This flag is set in the method ContentChanged. Used to optimize ScrollBox </summary>
</devnotes>
</property>
<constructor name="Create" visibility="public" file="FMX.Layouts.pas" line="169">
<parameters>
<parameter name="AOwner" type="TComponent"/>
</parameters>
</constructor>
<property name="ScrollBox" visibility="public" read="FScrollBox" type="TCustomScrollBox" file="FMX.Layouts.pas" line="170"/>
<function name="PointInObjectLocal" visibility="public" procflags="override" file="FMX.Layouts.pas" line="171">
<parameters>
<parameter name="X" type="Single"/>
<parameter name="Y" type="Single"/>
<retval type="Boolean"/>
</parameters>
</function>
</members>
</class>
<class name="TScrollCalculations" file="FMX.Layouts.pas" line="174">
<members>
<field name="FScrollBox" type="TCustomScrollBox" visibility="private" size="4" offset="400" file="FMX.Layouts.pas" line="176">
<attributes>
<attribute name="TObject"/>
</attributes>
</field>
<procedure name="DoChanged" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="178">
</procedure>
<procedure name="DoStart" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="179">
</procedure>
<procedure name="DoStop" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="180">
</procedure>
<constructor name="Create" visibility="public" file="FMX.Layouts.pas" line="182">
<parameters>
<parameter name="AOwner" type="TPersistent"/>
</parameters>
</constructor>
<property name="ScrollBox" visibility="public" read="FScrollBox" type="TCustomScrollBox" file="FMX.Layouts.pas" line="183"/>
</members>
</class>
<type name="TPositionChangeEvent" file="FMX.Layouts.pas" line="188" procflags="closure">
</type>
<type name="TOnCalcContentBoundsEvent" file="FMX.Layouts.pas" line="192" procflags="closure">
</type>
<class name="TCustomScrollBox" file="FMX.Layouts.pas" line="195">
<members>
<const name="SmallChangeFraction" visibility="private" type="Integer" file="FMX.Layouts.pas" line="198">
<value>
$5
</value>
</const>
<field name="DesignBorderColor" type="TAlphaColor" visibility="private" varflags="class" file="FMX.Layouts.pas" line="199"/>
<struct name="TScrollInfo" visibility="private" alias="FMX.Layouts.TScrollInfo" size="24" file="FMX.Layouts.pas" line="201">
<field name="Scroll" type="TScrollBar" visibility="public" size="4" offset="0" file="FMX.Layouts.pas" line="202">
<attributes>
<attribute name="TObject"/>
</attributes>
</field>
<field name="Align" type="TAlignLayout" visibility="public" size="4" offset="4" file="FMX.Layouts.pas" line="203"/>
<field name="Margins" type="TRectF" visibility="public" size="16" offset="8" file="FMX.Layouts.pas" line="204"/>
</struct>
<field name="FSystemInfoSrv" type="IFMXSystemInformationService" visibility="private" size="4" offset="944" file="FMX.Layouts.pas" line="207"/>
<field name="FDisableMouseWheel" type="Boolean" visibility="private" size="1" offset="948" file="FMX.Layouts.pas" line="208"/>
<field name="FAniCalculations" type="TScrollCalculations" visibility="private" size="4" offset="952" file="FMX.Layouts.pas" line="210"/>
<field name="FLastViewportPosition" type="TPointF" visibility="private" size="8" offset="956" file="FMX.Layouts.pas" line="211"/>
<field name="FInInternalAlign" type="Boolean" visibility="private" size="1" offset="964" file="FMX.Layouts.pas" line="212"/>
<field name="FBackground" type="TControl" visibility="private" size="4" offset="968" file="FMX.Layouts.pas" line="214"/>
<field name="FContent" type="TScrollContent" visibility="private" size="4" offset="972" file="FMX.Layouts.pas" line="215"/>
<field name="FContentLayout" type="TControl" visibility="private" size="4" offset="976" file="FMX.Layouts.pas" line="216"/>
<field name="FContentBounds" type="TRectF" visibility="private" size="16" offset="980" file="FMX.Layouts.pas" line="217"/>
<field name="FCachedContentSize" type="TSizeF" visibility="private" size="8" offset="996" file="FMX.Layouts.pas" line="218"/>
<field name="FCachedAutoShowing" type="Boolean" visibility="private" size="1" offset="1004" file="FMX.Layouts.pas" line="219"/>
<field name="FOriginalContentLayoutSize" type="TSizeF" visibility="private" size="8" offset="1008" file="FMX.Layouts.pas" line="220"/>
<field name="FShowScrollBars" type="Boolean" visibility="private" size="1" offset="1016" file="FMX.Layouts.pas" line="222"/>
<field name="FAutoHide" type="Boolean" visibility="private" size="1" offset="1017" file="FMX.Layouts.pas" line="223"/>
<field name="FHScrollInfo" type=":TCustomScrollBox.:1" visibility="private" size="4" offset="1020" file="FMX.Layouts.pas" line="224"/>
<field name="FVScrollInfo" type=":TCustomScrollBox.:2" visibility="private" size="4" offset="1024" file="FMX.Layouts.pas" line="225"/>
<field name="FContentMargins" type="TRectF" visibility="private" size="16" offset="1028" file="FMX.Layouts.pas" line="226"/>
<field name="FVDisablePaint" type="Boolean" visibility="private" size="1" offset="1044" file="FMX.Layouts.pas" line="227"/>
<field name="FHDisablePaint" type="Boolean" visibility="private" size="1" offset="1045" file="FMX.Layouts.pas" line="228"/>
<field name="FGDisablePaint" type="Boolean" visibility="private" size="1" offset="1046" file="FMX.Layouts.pas" line="229"/>
<field name="FSizeGripContent" type="TControl" visibility="private" size="4" offset="1048" file="FMX.Layouts.pas" line="231"/>
<field name="FSizeGripParent" type="TControl" visibility="private" size="4" offset="1052" file="FMX.Layouts.pas" line="232"/>
<field name="FSizeGrip" type="TControl" visibility="private" size="4" offset="1056" file="FMX.Layouts.pas" line="233"/>
<field name="FShowSizeGrip" type="Boolean" visibility="private" size="1" offset="1060" file="FMX.Layouts.pas" line="234"/>
<field name="FOnViewportPositionChange" type="TPositionChangeEvent" visibility="private" size="8" offset="1064" file="FMX.Layouts.pas" line="235"/>
<field name="FOnHScrollChange" type="TNotifyEvent" visibility="private" size="8" offset="1072" file="FMX.Layouts.pas" line="236"/>
<field name="FOnVScrollChange" type="TNotifyEvent" visibility="private" size="8" offset="1080" file="FMX.Layouts.pas" line="237"/>
<field name="FOnCalcContentBounds" type="TOnCalcContentBoundsEvent" visibility="private" size="8" offset="1088" file="FMX.Layouts.pas" line="238"/>
<field name="FMouseEvents" type="Boolean" visibility="private" size="1" offset="1096" file="FMX.Layouts.pas" line="239"/>
<field name="FContentCalculated" type="Boolean" visibility="private" size="1" offset="1097" file="FMX.Layouts.pas" line="240"/>
<function name="HScrollIndex" visibility="private" file="FMX.Layouts.pas" line="241">
<parameters>
<retval type="Integer"/>
</parameters>
</function>
<function name="VScrollIndex" visibility="private" file="FMX.Layouts.pas" line="242">
<parameters>
<retval type="Integer"/>
</parameters>
</function>
<function name="GetHScrollAlign" visibility="private" file="FMX.Layouts.pas" line="243">
<parameters>
<retval type="TAlignLayout"/>
</parameters>
</function>
<function name="GetVScrollAlign" visibility="private" file="FMX.Layouts.pas" line="244">
<parameters>
<retval type="TAlignLayout"/>
</parameters>
</function>
<function name="GetHScrollMargins" visibility="private" file="FMX.Layouts.pas" line="245">
<parameters>
<retval type="TRectF"/>
</parameters>
</function>
<function name="GetVScrollMargins" visibility="private" file="FMX.Layouts.pas" line="246">
<parameters>
<retval type="TRectF"/>
</parameters>
</function>
<function name="GetSceneScale" visibility="private" file="FMX.Layouts.pas" line="247">
<parameters>
<retval type="Single"/>
</parameters>
</function>
<procedure name="SetShowScrollBars" visibility="private" file="FMX.Layouts.pas" line="248">
<parameters>
<parameter name="Value" type="Boolean" paramflags="const"/>
</parameters>
</procedure>
<procedure name="SetShowSizeGrip" visibility="private" file="FMX.Layouts.pas" line="249">
<parameters>
<parameter name="Value" type="Boolean" paramflags="const"/>
</parameters>
</procedure>
<function name="GetVScrollBar" visibility="private" file="FMX.Layouts.pas" line="250">
<parameters>
<retval type="TScrollBar"/>
</parameters>
</function>
<function name="GetHScrollBar" visibility="private" file="FMX.Layouts.pas" line="251">
<parameters>
<retval type="TScrollBar"/>
</parameters>
</function>
<procedure name="UpdateSizeGrip" visibility="private" file="FMX.Layouts.pas" line="252">
</procedure>
<procedure name="UpdateVScrollBar" visibility="private" file="FMX.Layouts.pas" line="253">
<parameters>
<parameter name="Value" type="Single" paramflags="const"/>
<parameter name="ViewportSize" type="Single" paramflags="const"/>
</parameters>
</procedure>
<procedure name="UpdateHScrollBar" visibility="private" file="FMX.Layouts.pas" line="254">
<parameters>
<parameter name="Value" type="Single" paramflags="const"/>
<parameter name="ViewportSize" type="Single" paramflags="const"/>
</parameters>
</procedure>
<procedure name="InternalAlign" visibility="private" file="FMX.Layouts.pas" line="255">
</procedure>
<procedure name="HScrollChangeProc" visibility="private" file="FMX.Layouts.pas" line="256">
<parameters>
<parameter name="Sender" type="TObject"/>
</parameters>
</procedure>
<procedure name="VScrollChangeProc" visibility="private" file="FMX.Layouts.pas" line="257">
<parameters>
<parameter name="Sender" type="TObject"/>
</parameters>
</procedure>
<procedure name="MousePosToAni" visibility="private" file="FMX.Layouts.pas" line="258">
<parameters>
<parameter name="X" type="Single" paramflags="var"/>
<parameter name="Y" type="Single" paramflags="var"/>
</parameters>
</procedure>
<procedure name="SetAutoHide" visibility="private" file="FMX.Layouts.pas" line="259">
<parameters>
<parameter name="Value" type="Boolean" paramflags="const"/>
</parameters>
</procedure>
<procedure name="SaveDisablePaint" visibility="private" file="FMX.Layouts.pas" line="260">
</procedure>
<procedure name="RestoreDisablePaint" visibility="private" file="FMX.Layouts.pas" line="261">
</procedure>
<procedure name="SetDisablePaint" visibility="private" file="FMX.Layouts.pas" line="262">
</procedure>
<function name="GetViewportPosition" visibility="private" file="FMX.Layouts.pas" line="263">
<parameters>
<retval type="TPointF"/>
</parameters>
</function>
<procedure name="SetViewportPosition" visibility="private" file="FMX.Layouts.pas" line="264">
<parameters>
<parameter name="Value" type="TPointF" paramflags="const"/>
</parameters>
</procedure>
<procedure name="StartScrolling" visibility="private" file="FMX.Layouts.pas" line="265">
</procedure>
<procedure name="StopScrolling" visibility="private" file="FMX.Layouts.pas" line="266">
</procedure>
<procedure name="UpdateOriginalContentLayoutSize" visibility="private" file="FMX.Layouts.pas" line="267">
<parameters>
<parameter name="Force" type="Boolean" paramflags="const"/>
</parameters>
</procedure>
<procedure name="ReadPartSize" visibility="private" file="FMX.Layouts.pas" line="268">
<parameters>
<parameter name="Reader" type="TReader"/>
<parameter name="Size" type="Single" paramflags="var"/>
</parameters>
</procedure>
<procedure name="ReadContentLayoutHeight" visibility="private" file="FMX.Layouts.pas" line="269">
<parameters>
<parameter name="Reader" type="TReader"/>
</parameters>
</procedure>
<procedure name="ReadContentLayoutWidth" visibility="private" file="FMX.Layouts.pas" line="270">
<parameters>
<parameter name="Reader" type="TReader"/>
</parameters>
</procedure>
<procedure name="WriteContentLayoutHeight" visibility="private" file="FMX.Layouts.pas" line="271">
<parameters>
<parameter name="Writer" type="TWriter"/>
</parameters>
</procedure>
<procedure name="WriteContentLayoutWidth" visibility="private" file="FMX.Layouts.pas" line="272">
<parameters>
<parameter name="Writer" type="TWriter"/>
</parameters>
</procedure>
<procedure name="AniMouseDown" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="275">
<parameters>
<parameter name="Touch" type="Boolean" paramflags="const"/>
<parameter name="X" type="Single" paramflags="const"/>
<parameter name="Y" type="Single" paramflags="const"/>
</parameters>
<devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></procedure>
<procedure name="AniMouseMove" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="276">
<parameters>
<parameter name="Touch" type="Boolean" paramflags="const"/>
<parameter name="X" type="Single" paramflags="const"/>
<parameter name="Y" type="Single" paramflags="const"/>
</parameters>
<devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></procedure>
<procedure name="AniMouseUp" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="277">
<parameters>
<parameter name="Touch" type="Boolean" paramflags="const"/>
<parameter name="X" type="Single" paramflags="const"/>
<parameter name="Y" type="Single" paramflags="const"/>
</parameters>
<devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></procedure>
<function name="GetScrollingBehaviours" visibility="protected" file="FMX.Layouts.pas" line="279">
<parameters>
<retval type="TScrollingBehaviours"/>
</parameters>
<devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></function>
<procedure name="Loaded" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="280">
<devnotes><summary>
Initializes the component after the form file has been read into memory.
FMX.Layouts.TCustomScrollBox.Loaded inherits from FMX.Controls.TControl.Loaded. All content below this line refers to FMX.Controls.TControl.Loaded.
Initializes the component after the form file has been read into memory.
Loaded inherits TComponent.Loaded, realigns the children, if any, and updates the tab list.
For details, see TComponent.Loaded.
</summary></devnotes></procedure>
<procedure name="PaddingChanged" visibility="protected" procflags="overload override" file="FMX.Layouts.pas" line="281">
<devnotes><summary>
Applies the padding to the content of the TScrollBox.
</summary></devnotes></procedure>
<procedure name="DefineProperties" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="282">
<parameters>
<parameter name="Filer" type="TFiler"/>
</parameters>
<devnotes><summary>
Designates methods for storing an object's unpublished data on a stream such as a form file.
FMX.Layouts.TCustomScrollBox.DefineProperties inherits from System.Classes.TComponent.DefineProperties. All content below this line refers to System.Classes.TComponent.DefineProperties.
Designates methods for storing an object's unpublished data on a stream such as a form file.
TComponent overrides the DefineProperties method defined in TPersistent to define "fake" Top and Left properties. These are defined so that components that are not controls can be manipulated at design time. However, the Top and Left properties are hidden, that is, they are not published, because only controls appear at run time.
DefineProperties is virtual; descendent classes can override it. When overriding DefineProperties, be aware that the Ancestor property of Filer might be set, and that this property can determine whether or not it is appropriate to write properties.
DefineProperties is called automatically as part of the component streaming system; do not call it directly.
</summary></devnotes></procedure>
<procedure name="DoAddObject" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="283">
<parameters>
<parameter name="AObject" type="TFmxObject" paramflags="const"/>
</parameters>
<devnotes><summary>
Adds the AObject object to the Children list of children attached to this parent object (self).
FMX.Layouts.TCustomScrollBox.DoAddObject inherits from FMX.Types.TFmxObject.DoAddObject. All content below this line refers to FMX.Types.TFmxObject.DoAddObject.
Adds the AObject object to the Children list of children attached to this parent object (self).
DoAddObject adds the object provided in the AObject parameter to the list of children stored in the Children property of this object (self). DoAddObject changes the parent of AObject to this object (self) and sets the root of AObject to the Root object of this object (self).
Descendant classes, like TCommonCustomForm and TControl, additionally handle tab stop lists keeping ordered lists of objects to which the user can tab. If such descendant class supports the ITabStopController interface and AObject is an object of a class supporting the IControl interface, then DoAddObject of this descendant adds AObject to the TabList tab stop lists of the (self) object.
DoAddObject is internally called from AddObject.
</summary></devnotes></procedure>
<procedure name="DoRealign" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="284">
<devnotes><summary>
Performs the realignment of the children controls of the TScrollBox object within the object.
It is called internally every time visual properties of TScrollBox are changed.
The children are realigned taking into account their alignment properties, margins, and padding.
DoRealign calls the inherited TControl.DoRealign and then executes the realignment during the inertial scrolling.
</summary></devnotes></procedure>
<function name="IsAddToContent" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="285">
<parameters>
<parameter name="AObject" type="TFmxObject" paramflags="const"/>
<retval type="Boolean"/>
</parameters>
<devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></function>
<procedure name="ContentAddObject" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="286">
<parameters>
<parameter name="AObject" type="TFmxObject" paramflags="const"/>
</parameters>
<devnotes><summary>
Virtual method to be implemented in subclasses to provide further functionality when adding AObject to the scroll box. In TScrollBox, ContentAddObject has no implementation.
</summary></devnotes></procedure>
<procedure name="ContentInsertObject" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="287">
<parameters>
<parameter name="Index" type="Integer"/>
<parameter name="AObject" type="TFmxObject" paramflags="const"/>
</parameters>
<devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></procedure>
<procedure name="ContentBeforeRemoveObject" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="288">
<parameters>
<parameter name="AObject" type="TFmxObject"/>
</parameters>
<devnotes><summary>
Virtual method to be implemented in subclasses to provide further functionality right before removing AObject from the scroll box. In TScrollBox, ContentBeforeRemoveObject has no implementation.
</summary></devnotes></procedure>
<procedure name="ContentRemoveObject" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="289">
<parameters>
<parameter name="AObject" type="TFmxObject" paramflags="const"/>
</parameters>
<devnotes><summary>
Virtual method to be implemented in subclasses to provide further functionality right after removing AObject from the scroll box. In TScrollBox, ContentRemoveObject has no implementation.
</summary></devnotes></procedure>
<procedure name="HScrollChange" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="290">
<devnotes><summary>
Internally called when the horizontal scroll bar changes position. Do not call HScrollChange in applications.
</summary></devnotes></procedure>
<procedure name="VScrollChange" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="291">
<devnotes><summary>
Internally called when the vertical scroll bar changes position. Do not call VScrollChange in applications.
</summary></devnotes></procedure>
<procedure name="ViewportPositionChange" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="292">
<parameters>
<parameter name="OldViewportPosition" type="TPointF" paramflags="const"/>
<parameter name="NewViewportPosition" type="TPointF" paramflags="const"/>
<parameter name="ContentSizeChanged" type="Boolean" paramflags="const"/>
</parameters>
<devnotes><summary>
Executed when the viewport position changes.
ViewportPositionChange receives the following parameters:
OldViewportPosition is the value that the ViewportPosition property had before it changed.
NewViewportPosition is the new value of the ViewportPosition property.
ContentSizeChanged indicates whether the size of the content of the viewport has changed as well (True) or not (False).
ViewportPositionChange calls the handler of the OnViewportPositionChange event.
</summary></devnotes></procedure>
<procedure name="CMGesture" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="294">
<parameters>
<parameter name="EventInfo" type="TGestureEventInfo" paramflags="var"/>
</parameters>
<devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></procedure>
<procedure name="Painting" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="295">
<devnotes><summary>
OnPainting event dispatcher.
FMX.Layouts.TCustomScrollBox.Painting inherits from FMX.Controls.TControl.Painting. All content below this line refers to FMX.Controls.TControl.Painting.
OnPainting event dispatcher.
Painting defines the drawing area of the control by intersecting Canvas with ClipRect if ClipChildren is True and dispatches the OnPainting event.
It is always called internally before DoPaint.
The Painting method can be overridden by derived controls to establish control-specific rendering conditions.
</summary></devnotes></procedure>
<procedure name="AfterPaint" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="296">
<devnotes><summary>
Restores Canvas properties after the painting process.
FMX.Layouts.TCustomScrollBox.AfterPaint inherits from FMX.Controls.TControl.AfterPaint. All content below this line refers to FMX.Controls.TControl.AfterPaint.
Restores Canvas properties after the painting process.
As implemented in TControl, AfterPaint does nothing.
TShape descendants of TControl override AfterPaint to restore Dash and Thickness to default values.
</summary></devnotes></procedure>
<procedure name="ApplyStyle" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="297">
<devnotes><summary>
Customizes styles in complex objects.
FMX.Layouts.TCustomScrollBox.ApplyStyle inherits from FMX.Controls.TStyledControl.ApplyStyle. All content below this line refers to FMX.Controls.TStyledControl.ApplyStyle.
Customizes styles in complex objects.
TStyledControl descendants override it to apply styles in concordance with their primitive components.
Do not call ApplyStyle explicitly in an application. It is called by the ApplyStyleLookup method when object styles are updated.
For an example of an ApplyStyle implementation, see "TCalloutPanel:Style Contracts" in FireMonkey Component Design.
</summary></devnotes></procedure>
<procedure name="FreeStyle" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="298">
<devnotes><summary>
Frees the style of TStyledControl.
FMX.Layouts.TCustomScrollBox.FreeStyle inherits from FMX.Controls.TStyledControl.FreeStyle. All content below this line refers to FMX.Controls.TStyledControl.FreeStyle.
Frees the style of TStyledControl.
Override it to free additional component-specific style resources.
</summary></devnotes></procedure>
<function name="IsOpaque" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="299">
<parameters>
<retval type="Boolean"/>
</parameters>
<devnotes><summary>
Indicates if the control should update effects when you scroll content.
Its default value is False, meaning that the control does not update effects.
In the TFramedScrollBox and TFramedVertScrollBox classes IsOpaque returns True.
</summary></devnotes></function>
<function name="ContentRect" visibility="protected" file="FMX.Layouts.pas" line="300">
<parameters>
<retval type="TRectF"/>
</parameters>
<devnotes><summary>
Returns the rectangle that defines the scrolling area. The result value is of type TRectF.
</summary></devnotes></function>
<function name="VScrollBarValue" visibility="protected" file="FMX.Layouts.pas" line="301">
<parameters>
<retval type="Single"/>
</parameters>
<devnotes><summary>
Returns the position of the vertical scroll bar.
VScrollBarValue returns a value of 0 if the vertical scroll bar is not required by this scroll box or it is not visible.
</summary></devnotes></function>
<function name="HScrollBarValue" visibility="protected" file="FMX.Layouts.pas" line="302">
<parameters>
<retval type="Single"/>
</parameters>
<devnotes><summary>
Returns the position of the horizontal scroll bar.
HScrollBarValue returns a value of 0 if the horizontal scroll bar is not required by this scroll box or it is not visible.
</summary></devnotes></function>
<function name="CreateScrollContent" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="303">
<parameters>
<retval type="TScrollContent"/>
</parameters>
<devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></function>
<function name="CreateAniCalculations" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="304">
<parameters>
<retval type="TScrollCalculations"/>
</parameters>
<devnotes><summary>
Constructs a TScrollCalculations type object in which you can set properties and calculate parameters of the inertial scrolling.
CreateAniCalculations calls the TScrollCalculations.Create constructor to create a TScrollCalculations object. The created object is kept in the AniCalculations property of the current TScrollBox instance. Using this TScrollCalculations object you can set the Animation, DecelerationRate, BoundsAnimation, AutoShowing, and Shown properties of inertial scrolling.
TScrollCalculations is the descendant of the TAniCalculations class, which provides methods to calculate parameters of the inertial scrolling.
UpdateAniCalculations calls CreateAniCalculations to create a TScrollCalculations object and then calls
DoUpdateAniCalculations to set the default inertial scrolling properties under the current platform.
</summary></devnotes></function>
<procedure name="DoUpdateAniCalculations" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="305">
<parameters>
<parameter name="AAniCalculations" type="TScrollCalculations" paramflags="const"/>
</parameters>
<devnotes><summary>
Sets the default inertial scrolling properties for the current platform.
DoUpdateAniCalculations is called from UpdateAniCalculations to set the default values to the Animation,
TouchTracking, BoundsAnimation, and AutoShowing properties of the inertial scrolling under the current platform. DoUpdateAniCalculations sets the properties of the TScrollCalculations object kept in the AniCalculations property.
</summary></devnotes></procedure>
<procedure name="UpdateAniCalculations" visibility="protected" file="FMX.Layouts.pas" line="306">
<devnotes><summary>
Initializes the inertial scrolling and sets its properties.
UpdateAniCalculations calls
CreateAniCalculations to create a TScrollCalculations object handling calculations of the inertial scrolling and calls DoUpdateAniCalculations to update the
TouchTracking, BoundsAnimation, and AutoShowing properties of the inertial scrolling.
</summary></devnotes></procedure>
<function name="DoCalcContentBounds" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="307">
<parameters>
<retval type="TRectF"/>
</parameters>
<devnotes><summary>
Calculates the ContentBounds rectangle bounding all controls in the scrolling region.
DoRealign calls DoCalcContentBounds to calculate the ContentBounds rectangle. If the OnCalcContentBounds event handler is defined, then DoRealign calls this event handler and passes into it the calculated content bounding rectangle for additional calculations.
</summary></devnotes></function>
<procedure name="DoRealignContent" visibility="protected" procflags="virtual" file="FMX.Layouts.pas" line="308">
<parameters>
<parameter name="R" type="TRectF"/>
</parameters>
<devnotes><summary>
Changes the bounding rectangle of the content of the control to the specified rectangle, and realigns its child controls accordingly.
</summary></devnotes></procedure>
<function name="GetContentBounds" visibility="protected" file="FMX.Layouts.pas" line="309">
<parameters>
<retval type="TRectF"/>
</parameters>
<devnotes><summary>
Returns the boundaries of the rectangle that defines the scrolling area. The result value is of type TRectF.
</summary></devnotes></function>
<procedure name="MouseDown" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="310">
<parameters>
<parameter name="Button" type="TMouseButton"/>
<parameter name="Shift" type="TShiftState"/>
<parameter name="X" type="Single"/>
<parameter name="Y" type="Single"/>
</parameters>
<devnotes><summary>
Internally executed while a mouse button is pressed over the surface of this scroll box.
You can call MouseDown programmatically in applications to simulate a mouse button down event over this scroll box.
The Button parameter specifies the mouse button that has just been pressed (for instance, TMouseButton.mbLeft).
The Shift parameter specifies the keyboard state (for instance the CTRL key pressed at the same time with the mouse click).
The X and Y parameters specify the position of the mouse cursor on the screen.
</summary></devnotes></procedure>
<procedure name="MouseMove" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="311">
<parameters>
<parameter name="Shift" type="TShiftState"/>
<parameter name="X" type="Single"/>
<parameter name="Y" type="Single"/>
</parameters>
<devnotes><summary>
Internally executed while the mouse is moved over the surface of this scroll box.
You can call MouseMove programmatically in applications to simulate a mouse move event over this scroll box.
The Shift parameter specifies the keyboard state (for instance, the CTRL key pressed at the same time with the mouse click).
The X and Y parameters specify the position of the mouse cursor on the screen.
</summary></devnotes></procedure>
<procedure name="MouseUp" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="312">
<parameters>
<parameter name="Button" type="TMouseButton"/>
<parameter name="Shift" type="TShiftState"/>
<parameter name="X" type="Single"/>
<parameter name="Y" type="Single"/>
</parameters>
<devnotes><summary>
Internally executed while a mouse button is released over the surface of this scroll box.
You can call MouseUp programmatically in applications to simulate a mouse button up event over this scroll box.
The Button parameter specifies the mouse button that has just been released (for instance, TMouseButton.mbLeft).
The Shift parameter specifies the keyboard state (for instance, the CTRL key pressed at the same time with the mouse click).
The X and Y parameters specify the position of the mouse cursor on the screen.
</summary></devnotes></procedure>
<procedure name="DoMouseLeave" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="313">
<devnotes><summary>
OnMouseLeave event dispatcher.
FMX.Layouts.TCustomScrollBox.DoMouseLeave inherits from FMX.Controls.TControl.DoMouseLeave. All content below this line refers to FMX.Controls.TControl.DoMouseLeave.
OnMouseLeave event dispatcher.
DoMouseLeave is called automatically when the mouse pointer leaves the control's area.
DoMouseLeave starts the animation by calling StartTriggerAnimation and applies effects by calling ApplyTriggerEffect to background the control.
Override the protected DoMouseLeave method to provide other responses when the mouse pointer leaves the control's area.
</summary></devnotes></procedure>
<procedure name="MouseWheel" visibility="protected" procflags="override" file="FMX.Layouts.pas" line="314">
<parameters>
<parameter name="Shift" type="TShiftState"/>
<parameter name="WheelDelta" type="Integer"/>
<parameter name="Handled" type="Boolean" paramflags="var"/>
</parameters>
<devnotes><summary>
Internally executed while the mouse wheel is used over the surface of this scroll box.
You can call MouseWheel programmatically in applications to simulate a mouse wheel spin event over this scroll box.
The Shift parameter specifies the keyboard state (for instance, the CTRL key pressed at the same time with the mouse click).
The WheelDelta parameter specifies the position of the mouse wheel.
The Handled parameter specifies whether the mouse wheel events are handled by this scroll box control.
</summary></devnotes></procedure>
<property name="ContentLayout" visibility="protected" read="FContentLayout" type="TControl" file="FMX.Layouts.pas" line="315"><devnotes><summary>
Protected read-only property that specifies the content layout of this scroll box.
</summary></devnotes></property>
<property name="Content" visibility="protected" read="FContent" type="TScrollContent" file="FMX.Layouts.pas" line="316"><devnotes><summary>
Keeps an object that represents a scrollable content.
A TScrollBox object uses a TScrollContent object in order to provide an area onto which you can place any other graphical components. Content keeps this TScrollContent object.
</summary></devnotes></property>
<property name="HScrollAlign" visibility="protected" read="GetHScrollAlign" type="TAlignLayout" file="FMX.Layouts.pas" line="317"><devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></property>
<property name="VScrollAlign" visibility="protected" read="GetVScrollAlign" type="TAlignLayout" file="FMX.Layouts.pas" line="318"><devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></property>
<property name="HScrollMargins" visibility="protected" read="GetHScrollMargins" type="TRectF" file="FMX.Layouts.pas" line="319"><devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></property>
<property name="VScrollMargins" visibility="protected" read="GetVScrollMargins" type="TRectF" file="FMX.Layouts.pas" line="320"><devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></property>
<property name="InInternalAlign" visibility="protected" read="FInInternalAlign" type="Boolean" file="FMX.Layouts.pas" line="321"><devnotes><summary>
Embarcadero Technologies does not currently have any additional information.
</summary></devnotes></property>
<property name="HScrollBar" visibility="protected" read="GetHScrollBar" type="TScrollBar" file="FMX.Layouts.pas" line="322"><devnotes><summary>
Specifies the horizontal scroll bar attached to this scroll box.
Read the HScrollBar read-only property to obtain the horizontal scroll bar object attached to this scroll box component.
</summary></devnotes></property>
<property name="VScrollBar" visibility="protected" read="GetVScrollBar" type="TScrollBar" file="FMX.Layouts.pas" line="323"><devnotes><summary>
Specifies the vertical scroll bar attached to this scroll box.
Read the VScrollBar read-only property to obtain the vertical scroll bar object attached to this scroll box component.
</summary></devnotes></property>
<constructor name="Create" visibility="public" file="FMX.Layouts.pas" line="325">
<parameters>
<parameter name="AOwner" type="TComponent"/>
</parameters>
<devnotes><summary>
Allocates memory and constructs a safely initialized instance of a component.
Allocates memory and constructs a safely initialized instance of a component.
FMX.Layouts.TCustomScrollBox.Create inherits from System.Classes.TComponent.Create. All content below this line refers to System.Classes.TComponent.Create.
Allocates memory and constructs a safely initialized instance of a component.
All objects have a Create method that constructs the object. TComponent redefines Create so that, for components, Create also:
Establishes the relationship of a component and its Owner, as indicated by the AOwner parameter.
Sets the ComponentStyle property to csInheritable, meaning that the component can be inherited by a descendent form type.
It is not necessary to explicitly create components added in the Form Designer. These components are created automatically when the application is run, and they are destroyed when the application is closed.
For components created programmatically, that is, not created in the Form Designer, call Create and pass in an owner component as the AOwner parameter. The owner disposes of the component when it is destroyed. If the component is not owned, then use Free when it needs to be destroyed.
Tip: When passing in Self as the Owner parameter, consider what Self references. If a component creates another component in one of its methods, then Self refers to the first component and not the component being created, which is then owned by the first component.
Note: The TComponent constructor is virtual in part to allow polymorphic instantiation of class references. This is critical to the streaming system and to the Form Designer. Do not forget to use the override directive when declaring a new component's Create constructor.</summary></devnotes></constructor>
<destructor name="Destroy" visibility="public" file="FMX.Layouts.pas" line="326">
<parameters>
</parameters>
<devnotes><summary>
Disposes of the component and its owned components.
Disposes of the component and its owned components.
FMX.Layouts.TCustomScrollBox.Destroy inherits from System.Classes.TComponent.Destroy. All content below this line refers to System.Classes.TComponent.Destroy.
Disposes of the component and its owned components.
Do not call Destroy directly. Call Free instead. Free verifies that the component is not nil, and only then calls Destroy.
Never explicitly free a component in one of its own event handlers, nor free a component from the event handler of a component that it owns or contains.
To destroy a form, call its Release method. Release waits for all the form's event handlers and the event handlers of the form's components to finish executing before destroying the form.
Note: A form owns all the controls and nonvisual components that are placed on it in design mode. When it is freed, all of these components are automatically freed as well. By default, all forms are owned by the global Application object. When an application terminates, it frees the global Application object, which frees all forms. For objects that are not components, and for components created with a nil owner, be sure to call Free after finishing with the object; otherwise the memory allocated for the object will be lost until the application terminates.</summary></devnotes></destructor>
<property name="AniCalculations" visibility="public" read="FAniCalculations" type="TScrollCalculations" file="FMX.Layouts.pas" line="327"><devnotes><summary>
Allows you to set various parameters that control the inertial scrolling effect animation.
AniCalculations keeps a TScrollCalculations object created by CreateAniCalculations. Using properties of this object you can programmatically set values for inertial scrolling properties in order to emulate on the current platform the inertial scrolling behavior typical for other platforms. For example, you can select the emulation of the iOS scrolling behavior under Windows and vice-versa.
TScrollCalculations is the descendant of the TAniCalculations class, which provides methods to calculate parameters of the inertial scrolling.
By using AniCalculations you can set:
Whether the scrolling is animated (via the TAniCalculations.Animation property).
The deceleration rate of the inertial scrolling (via the TAniCalculations.DecelerationRate property).
Whether the inertial scrolling is bound to the area (via the TAniCalculations.BoundsAnimation property).
Whether the scrolling bars appear automatically when the scroll action is initiated (via the TAniCalculations.AutoShowing property).
Whether the scrolling bars are hidden automatically when they are not needed (via the TAniCalculations.Shown property).
other properties of the TScrollCalculations object.</summary></devnotes></property>
<property name="ViewportPosition" visibility="public" read="GetViewportPosition" write="SetViewportPosition" type="TPointF" file="FMX.Layouts.pas" line="328"><devnotes><summary>
Coordinates of the origin of the scrolling viewport specified as the offset from the origin of the content layout of this scroll box.
Coordinates are specified as the TPointF point defining the origin of the scrolling viewport in relation to the origin of the content layout of this scroll box.
A scrolling viewport (or viewport) is a rectangle bounding all controls placed on the content layout of this scroll box.
</summary></devnotes></property>
<procedure name="Sort" visibility="public" procflags="override" file="FMX.Layouts.pas" line="329">
<parameters>
<parameter name="Compare" type="TFmxObjectSortCompare"/>
</parameters>
<devnotes><summary>
Sorts components of the layout based on the comparison function Compare.
TFmxObjectSortCompare is declared as:
TFmxObjectSortCompare = function(item1, item2: TFmxObject): Integer;
</summary></devnotes></procedure>
<procedure name="Center" visibility="public" file="FMX.Layouts.pas" line="330">
<devnotes><summary>
Scrolls to the center of the TScrollBox control.
Center only has an effect if the scroll box actually has content beyond the display area and the scroll bars are needed to scroll to view all the content held by this scroll box.
</summary></devnotes></procedure>
<procedure name="ScrollTo" visibility="public" file="FMX.Layouts.pas" line="331" symflags="deprecated">
<parameters>
<parameter name="Dx" type="Single" paramflags="const"/>
<parameter name="Dy" type="Single" paramflags="const"/>
</parameters>
</procedure>
<procedure name="ScrollBy" visibility="public" file="FMX.Layouts.pas" line="332">
<parameters>
<parameter name="Dx" type="Single" paramflags="const"/>