Improves TCustomTreeView.AccessibilityOn documentation

git-svn-id: trunk@35509 -
This commit is contained in:
sekelsenmat 2012-02-20 14:12:52 +00:00
parent ec0df9a7e4
commit bd2ac53e00
2 changed files with 21 additions and 2 deletions

View File

@ -14900,7 +14900,18 @@ the comparision is case sensitive.
<var>TCustomTreeView</var> - ancestor class for <var>TTreeView</var>
</short>
<descr>
<var>TCustomTreeView</var> - ancestor class for <var>TTreeView</var>, which displays a collection of items in a hierarchical tree form. This class defines many properties which are inherited by children classes, including loading the data from files or streams, saving to files or streams, updating, sorting alphabetically, editing, making visible or invisible, expanding or collapsing the tree display, and many more.</descr>
<p><var>TCustomTreeView</var> - ancestor class for <var>TTreeView</var>,
which displays a collection of items in a hierarchical tree form.
This class defines many properties which are inherited by children classes,
including loading the data from files or streams, saving to files or streams,
updating, sorting alphabetically, editing, making visible or invisible, expanding
or collapsing the tree display, and many more.</p>
<p>Please note that Accessibility support in TCustomTreeView might make this control
slower if there is a very large number of items, for example, 10.000+ items.
If the performance impact is unacceptable it is possible to turn accessibility
off for tree view items by setting TCustomTreeView.AccessibilityOn to false.
The default value is true.</p>
</descr>
</element>
<!-- variable Visibility: private -->
<element name="TCustomTreeView.FBackgroundColor">
@ -16618,6 +16629,14 @@ the comparision is case sensitive.
<errors/>
<seealso/>
</element>
<!-- property Visibility: public -->
<element name="TCustomTreeView.AccessibilityOn">
<short>Allows to turn accessibility off to speed up the control</short>
<descr>This property is provided for the case when a tree view contains a huge amount
of items, lets say 10.000+. In this case accessibility might slow the tree down, so
turning this property off might make things faster.</descr>
<seealso/>
</element>
<!-- property Visibility: protected -->
<element name="TCustomTreeView.AutoExpand">
<short>

View File

@ -2919,7 +2919,7 @@ type
// Accessibility
function GetSelectedChildAccessibleObject: TLazAccessibleObject; override;
function GetChildAccessibleObjectAtPos(APos: TPoint): TLazAccessibleObject; override;
// This property is provided when a tree view contains a huge amount of items,
// This property is provided for the case when a tree view contains a huge amount of items,
// lets say 10.000+. In this case accessibility might slow the tree down, so turning
// it off might make things faster
property AccessibilityOn: Boolean read FAccessibilityOn write FAccessibilityOn default True;