mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 19:19:18 +02:00
Docs: LCL/extctrls. Updates the TUNBPages.AddObject topic to correct, clarify content.
This commit is contained in:
parent
a5c4bef278
commit
9ad6dd94f8
@ -501,12 +501,13 @@ call the inherited method.
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<var>S</var> contains the string used to identify the page instance in
|
<var>S</var> contains the string used to identify the page instance in
|
||||||
<var>AObject</var>. It is used as both the Name and the Caption for the TPage
|
<var>AObject</var>. The value is used as the Caption for the page object,
|
||||||
instance, as well as the value displayed in the Pages property for a TNotebook
|
and as the basis for the Name used in the TPage class instance. The Name for
|
||||||
control. S must contain a valid identifier name. In addition, it must be
|
the class instance must be a unique identifier (when specified) in the
|
||||||
unique in the context of the owner control. A numeric suffix is added to the
|
Components for the TNoteBook control owner. A numeric suffix is appended to
|
||||||
value in S if it is not a unique identifier on the associated TNotebook
|
the Name value if S is not a unique identifier name on the owner of the
|
||||||
control.
|
TNotebook control. If S is not specified (contains ''), the Name for the
|
||||||
|
class instance is not assigned.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<var>AObject</var> is the page instance added to the internal list. AddObject
|
<var>AObject</var> is the page instance added to the internal list. AddObject
|
||||||
@ -514,16 +515,18 @@ ensures that AObject is cast to TPage and its properties are initialized:
|
|||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
Sets Name to the unique identifier derived from S.
|
Sets Name to the unique identifier derived from S when S is not an empty
|
||||||
|
string.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Sets Caption to the unique identifier derived from S.
|
Sets Caption to the value specified in S (which can be an empty string).
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Sets Parent to the TNotebook instance which owns the page list.
|
Sets Parent to the TNotebook instance which owns the page list.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Sets Align to alClient to align the page to the client area for the Notebook.
|
Sets Align to alClient to align the page to the client area for the TNotebook
|
||||||
|
control.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Sets Visible to <b>False</b>.
|
Sets Visible to <b>False</b>.
|
||||||
|
Loading…
Reference in New Issue
Block a user