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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Documentation for LCL (Lazarus Component Library) and LazUtils (Lazarus
Utilities) are published under the Creative Commons Attribution-ShareAlike 4.0
International public license.
https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
https://gitlab.com/freepascal.org/lazarus/lazarus/-/blob/main/docs/cc-by-sa-4-0.txt
Copyright (c) 1997-2025, by the Lazarus Development Team.
-->
<fpdoc-descriptions>
<package name="lcl">
<!--
====================================================================
LDockTree
====================================================================
-->
<module name="LDockTree">
<short>
This unit defines TLazDockTree, the default TDockTree used in the LCL.
</short>
<descr>
<p>
<file>ldocktree.pas</file> contains <var>TLazDockTree</var>, the default
TDockTree used in the LCL.
</p>
<p>
<file>ldocktree.pas</file> is part of the Lazarus Component Library
<b>(LCL)</b>.
</p>
</descr>
<descr/>
<!-- unresolved type reference Visibility: default -->
<element name="Math"/>
<element name="Types"/>
<element name="Classes"/>
<element name="SysUtils"/>
<element name="TypInfo"/>
<element name="LazLoggerBase"/>
<element name="LazTracer"/>
<element name="GraphMath"/>
<element name="LCLType"/>
<element name="LCLIntf"/>
<element name="Graphics"/>
<element name="Controls"/>
<element name="ExtCtrls"/>
<element name="Forms"/>
<element name="Menus"/>
<element name="Themes"/>
<element name="ComCtrls"/>
<element name="LMessages"/>
<element name="LResources"/>
<!-- object Visibility: default -->
<element name="TLazDockZone">
<short>
<var>TLazDockZone</var> - a zone for docking in a Lazarus form.</short>
<descr/>
<errors/>
<seealso/>
</element>
<!-- variable Visibility: private -->
<element name="TLazDockZone.FPage"/>
<element name="TLazDockZone.FPages"/>
<element name="TLazDockZone.FSplitter"/>
<!-- destructor Visibility: public -->
<element name="TLazDockZone.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for <var>TLazDockZone</var>,
It calls FreeSubComponents to free resources allocated to Page, Pages, and
Splitter. It calls the inherited destructor prior to exiting from the method.
</p>
</descr>
<seealso>
<link id="TLazDockZone.FreeSubComponents"/>
<link id="TLazDockZone.Page"/>
<link id="TLazDockZone.Pages"/>
<link id="TLazDockZone.Splitter"/>
</seealso>
</element>
<element name="TLazDockZone.FreeSubComponents">
<short>
<var>FreeSubComponents</var> - frees and nils the local splitter and
page/pages components, ready for destroying the control.
</short>
</element>
<!-- function Visibility: public -->
<element name="TLazDockZone.GetCaption">
<short>
<var>GetCaption</var> - if there is a child control, returns the caption for
that control; else returns the Index of the control as a string value.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockZone.GetCaption.Result">
<short/>
</element>
<!-- function Visibility: public -->
<element name="TLazDockZone.GetParentControl">
<short>
<var>GetParentControl</var> - returns the identity of the Parent control if
there is one; otherwise returns the Root zone if this is, in fact, the Root,
or the Child control.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockZone.GetParentControl.Result">
<short/>
</element>
<!-- property Visibility: public -->
<element name="TLazDockZone.Splitter">
<short>
The <var>Splitter</var> to be use to control the docking of this Zone.
</short>
<descr/>
<seealso/>
</element>
<!-- property Visibility: public -->
<element name="TLazDockZone.Pages">
<short>
The <var>Pages</var> (as in a Notebook) included in the dock zone.
</short>
<descr/>
<seealso/>
</element>
<!-- property Visibility: public -->
<element name="TLazDockZone.Page">
<short>A <var>Page</var> in the Notebook included in the Dock Zone.</short>
<descr/>
<seealso/>
</element>
<element name="TDockHeaderMouseState">
<short>
Record type used to track mouse position and button state in a dock header.
</short>
<descr>
<p>
Used in the implementation of TLazDockTree and TLazDockForm.
</p>
</descr>
<seealso>
<link id="TLazDockTree"/>
<link id="TLazDockForm"/>
</seealso>
</element>
<element name="TDockHeaderMouseState.Rect">
<short/>
</element>
<element name="TDockHeaderMouseState.IsMouseDown">
<short/>
</element>
<element name="TDockHeaderImageKind">
<short>
Enumerated type with values representing the images used in a dock header.
</short>
<descr/>
<seealso/>
</element>
<element name="TDockHeaderImageKind.dhiRestore">
<short>Image for the restore button in a dock header.</short>
</element>
<element name="TDockHeaderImageKind.dhiClose">
<short>Image for the close button in a dock header.</short>
</element>
<element name="TDockHeaderImages">
<short>Array type used to store bitmap images used in a dock header.</short>
<descr>
<p>
Elements in TDockHeaderImages can be accessed using the enumeration values in
TDockHeaderImageKind. Used in the implementation of TLazDockTree and
TLazDockForm.
</p>
</descr>
<seealso>
<link id="TDockHeaderImageKind"/>
<link id="TLazDockTree"/>
<link id="TLazDockForm"/>
</seealso>
</element>
<!-- object Visibility: default -->
<element name="TLazDockTree">
<short>
Implements a docking manager using a simple layout.
</short>
<descr>
<p>
<var>TLazDockTree</var> is a TDockTree descendant which contains a
a tree of <var>TLazDockZones</var> found in a docked window.
</p>
<p>
<b>
Example 1: Docking "A" (source window) to the left of "B" (target window)
</b>
</p>
<pre>
+---+ +----+
| A | -> | B |
+---+ | |
+----+
</pre>
<p>
<b>Result:</b>
</p>
<p>
A new docktree will be created. Height of "A" will be resized to the height of
"B". A splitter will be inserted between "A" and "B". And all three are
children of the newly created TLazDockForm of the newly created TDockTree.
</p>
<pre>
+------------+
|+---+|+----+|
|| A ||| B ||
|| ||| ||
|+---+|+----+|
+------------+
</pre>
<ul>
<li>
If "A" or "B" were floating controls, the floating dock sites are freed.
</li>
<li>
If "A" or "B" were forms, their decorations (title bars and borders) are
replaced by docked decorations.
</li>
<li>
If "A" had a TDockTree, it is freed and its child dockzones are merged to
the docktree of "B". Analog for docking "C" left to "A":
</li>
</ul>
<pre>
+------------------+
|+---+|+---+|+----+|
|| C ||| A ||| B ||
|| ||| ||| ||
|+---+|+---+|+----+|
+------------------+
</pre>
<p>
<b>Example 2: Docking A into B</b>
</p>
<pre>
+-----+
+---+ | |
| A | ---+-> B |
+---+ | |
+-----+
</pre>
<p>
<b>Result:</b>
</p>
<p>
A new docktree will be created. "A" will be resized to the size of "B". Both
will be put into a TLazDockPages control which is the child of the newly
created TDockTree.
</p>
<pre>
+-------+
|[B][A] |
|+-----+|
|| ||
|| A ||
|| ||
|+-----+|
+-------+
</pre>
<p>
Every DockZone has siblings and children. Siblings can either be:
</p>
<ul>
<li>horizontally (left to right, splitter),</li>
<li>vertically (top to bottom, splitter), </li>
<li>or upon each other (as pages, left to right).</li>
</ul>
<p>
<b>InsertControl</b>
</p>
<p>
Undocks the control and docks it into the manager. For example, to dock Form1
to the left of Form2:
</p>
<code>
InsertControl(Form1,alLeft,Form2);
</code>
<p>
To dock Form1 "into" Form2, into a TDockPage, use Align=alNone.
</p>
<code>
InsertControl(Form1,alNone,Form2);
</code>
<p>
<b>PositionDockRect</b>
</p>
<p>
Calculates where a control would be placed, if it were to be docked using
InsertControl.
</p>
<p>
<b>RemoveControl</b>
</p>
<p>
Removes a control from the dock manager.
</p>
<p>
<b>GetControlBounds</b>
</p>
<p>
TODO for Delphi compatibility.
</p>
<p>
<b>ResetBounds</b>
</p>
<p>
TODO for Delphi compatibility.
</p>
<p>
<b>SetReplacingControl</b>
</p>
<p>
TODO for Delphi compatibility.
</p>
<p>
<b>PaintSite</b>
</p>
<p>
TODO for Delphi compatibility.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TDockTree">TDockTree</link>
<link id="#lcl.controls.TDockZone">TDockZone</link>
</seealso>
</element>
<!-- variable Visibility: private -->
<element name="TLazDockTree.FAutoFreeDockSite"/>
<element name="TLazDockTree.FMouseState"/>
<element name="TLazDockTree.FDockHeaderImages"/>
<element name="TLazDockTree.AnchorDockLayout">
<short>
<var>AnchorDockLayout</var> - sets up anchors between all docked controls and
helper controls.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockTree.AnchorDockLayout.Zone">
<short/>
</element>
<element name="TLazDockTree.CreateDockLayoutHelperControls">
<short>
<var>CreateDockLayoutHelperControls</var> - creates any splitters and pages
needed for the dock layout, including recursive creation for child controls.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockTree.CreateDockLayoutHelperControls.Zone">
<short/>
</element>
<element name="TLazDockTree.ResetSizes">
<short>
<var>ResetSizes</var> - splits available size of Zone between children.
</short>
</element>
<element name="TLazDockTree.BreakAnchors">
<short>
<var>BreakAnchors</var> - detach the anchors of all child controls.</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockTree.BreakAnchors.Zone">
<short/>
</element>
<element name="TLazDockTree.PaintDockFrame">
<short>
<var>PaintDockFrame</var> - finds the cursor position and paints the dock
frame of the specified size on the nominated canvas.
</short>
</element>
<element name="TLazDockTree.UndockControlForDocking">
<short>
<var>UndockControlForDocking</var> - frees anchors from parent and sibling
controls.
</short>
<descr/>
<errors/>
<seealso/>
</element>
<element name="TLazDockTree.UndockControlForDocking.AControl">
<short/>
</element>
<element name="TLazDockTree.DefaultDockGrabberSize">
<short>
<var>DefaultDockGrabberSize</var> - returns the default size for the dock
grabber.
</short>
</element>
<element name="TLazDockTree.Create">
<short>
<var>Create</var> - constructor for <var>TLazDockTree</var>: creates a
docking form if required, sets up a dock manager then calls inherited
<var>Create</var>.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockTree.Create.TheDockSite">
<short/>
</element>
<element name="TLazDockTree.Destroy">
<short>
<var>Destroy</var> - destructor for <var>TLazDockTree</var>: frees the dock
site, annuls the Docksite manager, destroys any images then calls inherited
<var>Destroy</var>.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockTree.AdjustDockRect">
<short>
<var>AdjustDockRect</var> - offset one of the borders of control rect in
order to get space for frame.
</short>
</element>
<element name="TLazDockTree.InsertControl">
<short>
<var>InsertControl</var> - undocks <var>AControl</var> and docks it into the
tree.
</short>
<descr>
<p>
<var>InsertControl</var> - undocks AControl and docks it into the tree.
</p>
<p>
It creates a new TDockZone for AControl and inserts it as a new leaf.
It automatically changes the tree, so that the parent of the new TDockZone
will have the Orientation for InsertAt.
</p>
<p>
<b>Example 1:</b>
</p>
<p>
A newly created TLazDockTree has only a DockSite (TLazDockForm) and a single
TDockZone - the RootZone, which has as ChildControl the DockSite.
</p>
<p>
Visual:
</p>
<code>
+-DockSite--+
| |
+-----------+
</code>
<p>
Tree of TDockZone:
</p>
<code>RootZone (DockSite,doNoOrient)</code>
<p>
Inserting the first control:
</p>
<code>InsertControl(Form1,alLeft,nil);</code>
<p>
Visual:
</p>
<code>
+-DockSite---+
|+--Form1---+|
|| ||
|+----------+|
+------------+
</code>
<p>
Tree of TDockZone:
</p>
<code>
RootZone (DockSite,doHorizontal)
+-Zone2 (Form1,doNoOrient)
</code>
<p>
Dock Form2 right of Form1:
</p>
<code>InsertControl(Form2,alLeft,Form1);</code>
<p>
Visual:
</p>
<code>
+-DockSite----------+
|+-Form1-+|+-Form2-+|
|| || ||
|+-------+|+-------+|
+-------------------+
</code>
<p>
Tree of TDockZone:
</p>
<code>
RootZone (DockSite,doHorizontal)
+-Zone2 (Form1,doNoOrient)
+-Zone3 (Form2,doNoOrient)
</code>
</descr>
<errors/>
<seealso/>
</element>
<element name="TLazDockTree.InsertControl.AControl">
<short/>
</element>
<element name="TLazDockTree.InsertControl.InsertAt">
<short/>
</element>
<element name="TLazDockTree.InsertControl.DropControl">
<short/>
</element>
<element name="TLazDockTree.RemoveControl">
<short>
<var>RemoveControl</var> - destroy child zone and all parents if they does
not contain anything else, then removes the dock control.
</short>
</element>
<element name="TLazDockTree.RemoveControl.AControl">
<short/>
</element>
<element name="TLazDockTree.BuildDockLayout">
<short>
<var>BuildDockLayout</var> - breaks the current anchors, forms the
appropriate helper controls then re-establishes the anchors.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockTree.BuildDockLayout.Zone">
<short/>
</element>
<element name="TLazDockTree.FindBorderControls">
<short>
<var>FindBorderControls</var> - makes splitters for all bordering controls
along the specified <var>Side</var>.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockTree.FindBorderControls.Zone">
<short/>
</element>
<element name="TLazDockTree.FindBorderControls.Side">
<short/>
</element>
<element name="TLazDockTree.FindBorderControls.List">
<short/>
</element>
<element name="TLazDockTree.FindBorderControl">
<short>Gets the control with the specified dock zone and anchor side.</short>
<descr>
<p>
Returns the DockSite if no controls are found using the specified zone and
anchor side.
</p>
</descr>
<seealso/>
</element>
<element name="TLazDockTree.FindBorderControl.Result">
<short/>
</element>
<element name="TLazDockTree.FindBorderControl.Zone">
<short/>
</element>
<element name="TLazDockTree.FindBorderControl.Side">
<short/>
</element>
<element name="TLazDockTree.GetAnchorControl">
<short>
<var>GetAnchorControl</var> - find a control to anchor the Zone's Side.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockTree.GetAnchorControl.Result">
<short/>
</element>
<element name="TLazDockTree.GetAnchorControl.Zone">
<short/>
</element>
<element name="TLazDockTree.GetAnchorControl.Side">
<short/>
</element>
<element name="TLazDockTree.GetAnchorControl.OutSide">
<short/>
</element>
<element name="TLazDockTree.PaintSite">
<short>
<var>PaintSite</var> - paint bounds for each control and close button (using
the supplied handle).
</short>
</element>
<element name="TLazDockTree.PaintSite.DC">
<short/>
</element>
<element name="TLazDockTree.MessageHandler">
<short>
<var>MessageHandler</var> - checks the state of the mouse and takes the
appropriate action. Checks whether redraw is needed because of mouse move or
change in mouse button status, text needs to be added, etc.
</short>
</element>
<element name="TLazDockTree.MessageHandler.Sender">
<short/>
</element>
<element name="TLazDockTree.MessageHandler.Message">
<short/>
</element>
<element name="TLazDockTree.DumpLayout">
<short>
<var>DumpLayout</var> - writes layout of Zone to a file, for debugging
purposes etc.
</short>
</element>
<element name="TLazDockTree.DumpLayout.FileName">
<short/>
</element>
<element name="TLazDockTree.AutoFreeDockSite">
<short>
<var>AutoFreeDockSite</var> - determines whether the dock site is free.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockHeaderPart">
<short>Enumerated type representing the parts in a dock header.</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockHeaderPart.ldhpAll">
<short>Total header rectangle.</short>
</element>
<element name="TLazDockHeaderPart.ldhpCaption">
<short>Header caption.</short>
</element>
<element name="TLazDockHeaderPart.ldhpRestoreButton">
<short>Header restore button.</short>
</element>
<element name="TLazDockHeaderPart.ldhpCloseButton">
<short>Header close button.</short>
</element>
<!-- TODO: Outdated. TCustomAnchoredDockManager no longer exists. -->
<element name="TLazDockForm">
<short>
<var>TLazDockForm</var> - the default DockSite for a TLazDockTree and for
TCustomAnchoredDockManager.
</short>
<descr>
<p>
<var>TLazDockForm</var> - the default DockSite for a TLazDockTree and for
TCustomAnchoredDockManager
</p>
<p>
Note: There are two docking managers: TLazDockTree uses TLazDockZone to allow
docking in rows and columns. TCustomAnchoredDockManager does not use
TLazDockZone and allows arbitrary layouts.
</p>
</descr>
<errors/>
<seealso/>
</element>
<element name="TLazDockForm.FMainControl"/>
<element name="TLazDockForm.FMouseState"/>
<element name="TLazDockForm.FDockHeaderImages"/>
<element name="TLazDockForm.SetMainControl"/>
<element name="TLazDockForm.SetMainControl.AValue"/>
<element name="TLazDockForm.Notification">
<short>
<var>Notification</var> - if the required operation is removal, sets
MainControl to nil, then calls inherited <var>Notification</var>.
</short>
<seealso>
<link id="#lcl.forms.TCustomForm.Notification">TCustomForm.Notification</link>
</seealso>
</element>
<element name="TLazDockForm.UpdateMainControl">
<short>
<var>UpdateMainControl</var> - sets MainControl to a new value.
</short>
</element>
<element name="TLazDockForm.MouseUp">
<short>
<var>MouseUp</var> - calls inherited MouseUp then finds position and
appropriate header.
</short>
<seealso>
<link id="#LCL.Controls.TControl.MouseUp">TControl.MouseUp</link>
</seealso>
</element>
<element name="TLazDockForm.MouseDown">
<short>
<var>MouseDown</var> - performs inherited MouseDown, then finds position and
appropriate header.
</short>
<seealso>
<link id="#LCL.Controls.TControl.MouseDown">TControl.MouseDown</link>
</seealso>
</element>
<element name="TLazDockForm.MouseMove">
<short>
<var>MouseMove</var> - performs inherited MouseMove, then finds position and
appropriate header.
</short>
<seealso>
<link id="#LCL.Controls.TControl.MouseMove">TControl.MouseMove</link>
</seealso>
</element>
<element name="TLazDockForm.MouseLeave">
<short>
<var>MouseLeave</var> - performs inherited MouseLeave, and sets the local
store of position to indicate absence of the mouse.
</short>
<seealso>
<link id="#LCL.Controls.TControl.MouseLeave">TControl.MouseLeave</link>
</seealso>
</element>
<element name="TLazDockForm.PaintWindow">
<short>
<var>PaintWindow</var> - calls inherited PaintWindow, then creates new canvas
and handle at cursor position, inserts header caption, title and images.
</short>
<seealso>
<link id="#LCL.Controls.TCustomControl.PaintWindow">TCustomControl.PaintWindow</link>
</seealso>
</element>
<element name="TLazDockForm.PaintWindow.DC">
<short/>
</element>
<element name="TLazDockForm.TrackMouse">
<short>
<var>TrackMouse</var> - finds position of the mouse, which part of the
control it occupies (whether header or main part of control), and state of
buttons.
</short>
</element>
<element name="TLazDockForm.TrackMouse.X">
<short/>
</element>
<element name="TLazDockForm.TrackMouse.Y">
<short/>
</element>
<element name="TLazDockForm.Create">
<short>
<var>Create</var> - constructor for <var>TLazDocForm</var>: calls inherited
Create, then fills in the header.
</short>
<seealso>
<link id="#LCL.Forms.TCustomForm.Create">TCustomForm.Create</link>
</seealso>
</element>
<element name="TLazDockForm.Create.AOwner">
<short>Owner of the object instance.</short>
</element>
<element name="TLazDockForm.Destroy">
<short>
<var>Destroy</var> - destructor for <var>TLazDockForm</var>: removes header
then calls inherited Destroy.
</short>
<seealso>
<link id="#LCL.Forms.TCustomForm.Destroy">TCustomForm.Destroy</link>
</seealso>
</element>
<element name="TLazDockForm.CloseQuery">
<short>
<var>CloseQuery</var> - calls inherited method, then asks all top level forms
if form can close.
</short>
<seealso>
<link id="#LCL.Forms.TCustomForm.CloseQuery">TCustomForm.CloseQuery</link>
</seealso>
</element>
<element name="TLazDockForm.UpdateCaption">
<short>
<var>UpdateCaption</var> - brings caption up-to-date if there have been
changes.</short>
</element>
<element name="TLazDockForm.UpdateMainControlInParents">
<short>
<var>UpdateMainControlInParents</var> - make sure all parents recognize the
presence of MainControl.
</short>
</element>
<element name="TLazDockForm.UpdateMainControlInParents.StartControl">
<short/>
</element>
<element name="TLazDockForm.FindMainControlCandidate">
<short>
<var>FindMainControlCandidate</var> - finds forms and controls in the
docktree hierarchy that could act as the MainControl.
</short>
</element>
<element name="TLazDockForm.FindMainControlCandidate.Result">
<short/>
</element>
<element name="TLazDockForm.FindHeader">
<short>
<var>FindHeader</var> - identifies the part of the dock form that is the
header, and returns a TControl.
</short>
</element>
<element name="TLazDockForm.FindHeader.Result">
<short/>
</element>
<element name="TLazDockForm.FindHeader.x">
<short/>
</element>
<element name="TLazDockForm.FindHeader.y">
<short/>
</element>
<element name="TLazDockForm.FindHeader.Part">
<short/>
</element>
<element name="TLazDockForm.InsertControl">
<short>
<var>InsertControl</var> - calls inherited method then updates the main
control.
</short>
<seealso>
<link id="#LCL.Controls.TWinControl.InsertControl">TWinControl.InsertControl</link>
</seealso>
</element>
<element name="TLazDockForm.InsertControl.AControl">
<short/>
</element>
<element name="TLazDockForm.InsertControl.Index">
<short/>
</element>
<element name="TLazDockForm.IsDockedControl">
<short>
<var>IsDockedControl</var> - checks if control is a child, not a
TLazDockSplitter and properly anchor docked; returns <b>True</b> if OK.
</short>
</element>
<element name="TLazDockForm.IsDockedControl.Result">
<short/>
</element>
<element name="TLazDockForm.ControlHasTitle">
<short>
<var>ControlHasTitle</var> - returns <b>True</b> if nominated control is
visible, is a docked control and has a border spacing greater than zero.
</short>
</element>
<element name="TLazDockForm.ControlHasTitle.Result">
<short/>
</element>
<element name="TLazDockForm.GetTitleRect">
<short>
<var>GetTitleRect</var> - returns the coordinates of the title rectangle for
the nominated control.</short>
</element>
<element name="TLazDockForm.GetTitleRect.Result">
<short/>
</element>
<element name="TLazDockForm.GetTitleRect.Control">
<short/>
</element>
<element name="TLazDockForm.GetTitleOrientation">
<short>
<var>GetTitleOrientation</var> - returns the orientation (horizontal or
vertical) of the title in the nominated control.
</short>
</element>
<element name="TLazDockForm.GetTitleOrientation.Result">
<short/>
</element>
<element name="TLazDockForm.GetTitleOrientation.Control">
<short/>
</element>
<element name="TLazDockForm.MainControl">
<short>
The identity of the <var>MainControl</var> in the docked form (used for the
default caption).
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockPage">
<short>
<var>TLazDockPage</var> - an entity similar to a <var>TLazDockForm</var>, but
forming a page in a notebook of <var>TLazDockPages</var>.
</short>
<descr/>
<seealso/>
</element>
<!-- variable Visibility: private -->
<element name="TLazDockPage.FDockZone"/>
<element name="TLazDockPage.GetPageControl"/>
<element name="TLazDockPage.GetPageControl.Result"/>
<!-- public -->
<element name="TLazDockPage.InsertControl">
<short>
<var>InsertControl</var> - calls inherited method, then ensures that all
parents recognize the <var>MainControl</var>.
</short>
<seealso>
<link id="#LCL.Controls.TWinControl.InsertControl">TWinControl.InsertControl</link>
</seealso>
</element>
<element name="TLazDockPage.InsertControl.AControl">
<short/>
</element>
<element name="TLazDockPage.InsertControl.Index">
<short/>
</element>
<!-- property Visibility: public -->
<element name="TLazDockPage.DockZone">
<short>The <var>DockZone</var> in which this page is located.</short>
<descr/>
<seealso/>
</element>
<!-- property Visibility: public -->
<element name="TLazDockPage.PageControl">
<short>
The <var>PageControl</var> or notebook in which this page is located (its
parent).
</short>
<descr/>
<seealso/>
</element>
<!-- object Visibility: default -->
<element name="TLazDockPages">
<short>
<var>TLazDockPages</var> a notebook in which each page is a
<var>TLazDockPage</var>.
</short>
<descr/>
<errors/>
<seealso/>
</element>
<!-- function Visibility: private -->
<element name="TLazDockPages.GetActiveNotebookPageComponent">
<short/>
<descr/>
<errors/>
<seealso/>
</element>
<!-- function result Visibility: default -->
<element name="TLazDockPages.GetActiveNotebookPageComponent.Result">
<short/>
</element>
<!-- function Visibility: private -->
<element name="TLazDockPages.GetNoteBookPage">
<short/>
<descr/>
<errors/>
<seealso/>
</element>
<!-- function result Visibility: default -->
<element name="TLazDockPages.GetNoteBookPage.Result">
<short/>
</element>
<!-- argument Visibility: default -->
<element name="TLazDockPages.GetNoteBookPage.Index">
<short/>
</element>
<!-- procedure Visibility: private -->
<element name="TLazDockPages.SetActiveNotebookPageComponent">
<short/>
<descr/>
<errors/>
<seealso/>
</element>
<!-- argument Visibility: default -->
<element name="TLazDockPages.SetActiveNotebookPageComponent.AValue">
<short/>
</element>
<element name="TLazDockPages.GetFloatingDockSiteClass">
<short>
<var>GetFloatingDockSiteClass</var> - returns a default class of
<var>TLazDockForm</var>, overriding the inherited value.
</short>
<seealso>
<link id="#LCL.Controls.TControl.GetFloatingDockSiteClass">TControl.GetFloatingDockSiteClass</link>
</seealso>
</element>
<element name="TLazDockPages.GetFloatingDockSiteClass.Result">
<short/>
</element>
<element name="TLazDockPages.GetPageClass">
<short>
Gets the TLazDockPage class type used as the page class for the tabbed
control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TLazDockPages.GetPageClass.Result">
<short>TLazDockPage class type used for the page class.</short>
</element>
<element name="TLazDockPages.Change">
<short>
<var>Change</var> - calls inherited method, then ensures that all parents
recognize MainControl.
</short>
<descr/>
<seealso>
<link id="#lcl.comctrls.TCustomTabControl.Change">TCustomTabControl.Change</link>
</seealso>
</element>
<element name="TLazDockPages.Page">
<short>
<var>Page</var> - an individual <var>TLazDockPage</var> in the notebook,
referred by its <var>Index</var>.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockPages.Page.Index">
<short/>
</element>
<element name="TLazDockPages.ActivePageComponent" link="#lcl.comctrls.TCustomTabControl.ActivePageComponent"/>
<element name="TLazDockPages.Pages" link="#lcl.comctrls.TCustomTabControl.Pages"/>
<element name="TLazDockSplitter">
<short>
<var>TLazDockSplitter</var> - a splitter used with Lazarus docking components.
</short>
<descr/>
<seealso/>
</element>
<element name="TLazDockSplitter.Create">
<short>
<var>Create</var> - constructor for <var>TLazDockSplitter</var>: calls
inherited <var>Create</var> and initializes minimum size.
</short>
<descr/>
<seealso>
<link id="#lcl.extctrls.TCustomSplitter.Create">TCustomSplitter.Create</link>
</seealso>
</element>
<element name="DockAlignOrientations">
<short/>
<descr/>
<seealso/>
</element>
<element name="TAnchorControlsRect">
<short/>
<descr/>
<seealso/>
</element>
<element name="GetLazDockSplitter">
<short/>
<descr/>
<seealso/>
</element>
<element name="GetLazDockSplitter.Result">
<short/>
</element>
<element name="GetLazDockSplitter.Control">
<short/>
</element>
<element name="GetLazDockSplitter.Side">
<short/>
</element>
<element name="GetLazDockSplitter.Splitter">
<short/>
</element>
<element name="GetLazDockSplitterOrParent">
<short/>
<descr/>
<seealso/>
</element>
<element name="GetLazDockSplitterOrParent.Result">
<short/>
</element>
<element name="GetLazDockSplitterOrParent.Control">
<short/>
</element>
<element name="GetLazDockSplitterOrParent.Side">
<short/>
</element>
<element name="GetLazDockSplitterOrParent.AnchorControl">
<short/>
</element>
<element name="CountAnchoredControls">
<short/>
<descr/>
<seealso/>
</element>
<element name="CountAnchoredControls.Result">
<short/>
</element>
<element name="CountAnchoredControls.Control">
<short/>
</element>
<element name="CountAnchoredControls.Side">
<short/>
</element>
<element name="NeighbourCanBeShrinked">
<short/>
<descr/>
<seealso/>
</element>
<element name="NeighbourCanBeShrinked.Result">
<short/>
</element>
<element name="NeighbourCanBeShrinked.EnlargeControl">
<short/>
</element>
<element name="NeighbourCanBeShrinked.Neighbour">
<short/>
</element>
<element name="NeighbourCanBeShrinked.Side">
<short/>
</element>
<element name="ControlIsAnchoredIndirectly">
<short/>
<descr/>
<seealso/>
</element>
<element name="ControlIsAnchoredIndirectly.Result">
<short/>
</element>
<element name="ControlIsAnchoredIndirectly.StartControl">
<short/>
</element>
<element name="ControlIsAnchoredIndirectly.Side">
<short/>
</element>
<element name="ControlIsAnchoredIndirectly.DestControl">
<short/>
</element>
<element name="GetAnchorControlsRect">
<short/>
<descr/>
<seealso/>
</element>
<element name="GetAnchorControlsRect.Control">
<short/>
</element>
<element name="GetAnchorControlsRect.ARect">
<short/>
</element>
<element name="GetEnclosingControlRect">
<short/>
<descr/>
<seealso/>
</element>
<element name="GetEnclosingControlRect.Result">
<short/>
</element>
<element name="GetEnclosingControlRect.ControlList">
<short/>
</element>
<element name="GetEnclosingControlRect.ARect">
<short/>
</element>
<element name="GetEnclosedControls">
<short/>
<descr/>
<seealso/>
</element>
<element name="GetEnclosedControls.Result">
<short/>
</element>
<element name="GetEnclosedControls.ARect">
<short/>
</element>
</module>
<!-- LDockTree -->
</package>
</fpdoc-descriptions>
|