mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 18:00:37 +02:00
Revert "Docs: LCL/comctrls. Updates TCustomTabControl topics for changes in db41ce26."
This reverts commit 60dda96b3ecf629db6a0b80da8b56a556d670151.
This commit is contained in:
parent
7e234e47ec
commit
583a83f3a8
@ -3644,15 +3644,16 @@ Performs actions to show or hide pages when the current page is changed.
|
|||||||
pages in the tabbed control.
|
pages in the tabbed control.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Change causes the TCustomPage instance in Page stored at the position in
|
Change causes the TCustomPage instance in Page at the position in PageIndex to
|
||||||
PageIndex to become visible, and hides the previously visible page on the
|
become visible, and hides the previously visible page on the tabbed control. If
|
||||||
tabbed control. If a control was focused on the previous page, the new page is
|
a control was focused on the previous page, the new page is focused prior to
|
||||||
focused prior to hiding the previous page.
|
hiding the previous page.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
At run-time, MaybeSelectFirstControlOnPage is called when a page instance is
|
At run-time, MaybeSelectFirstControlOnPage is called when the active page
|
||||||
active for the control; it selects the focused control for the ActivePage.
|
component is visible, enabled, and has child controls. It selects the focused
|
||||||
DoChange is called to signal the OnChange event handler (when assigned).
|
control for the ActivePage. DoChange is called to signal the OnChange event
|
||||||
|
handler (when assigned).
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Change is called from the MoveTab method, and when selection change messages
|
Change is called from the MoveTab method, and when selection change messages
|
||||||
@ -3803,8 +3804,7 @@ Handles an accelerator key for the active page in the tabbed control.
|
|||||||
|
|
||||||
<element name="TCustomTabControl.InternalSetPageIndex">
|
<element name="TCustomTabControl.InternalSetPageIndex">
|
||||||
<short>
|
<short>
|
||||||
Updates the internal page index (when assigned) without triggering an OnChange
|
Updates the internal page index without triggering an OnChange event.
|
||||||
event.
|
|
||||||
</short>
|
</short>
|
||||||
<descr/>
|
<descr/>
|
||||||
<seealso/>
|
<seealso/>
|
||||||
@ -4203,14 +4203,10 @@ active.
|
|||||||
<p>
|
<p>
|
||||||
<var>MaybeSelectFirstControlOnPage</var> is a method used to ensure that the
|
<var>MaybeSelectFirstControlOnPage</var> is a method used to ensure that the
|
||||||
active control on a form is properly updated when the page on the tab control
|
active control on a form is properly updated when the page on the tab control
|
||||||
is changed. It prevents the tabbed control from stealing focus if the active
|
is changed. It prevents the tabbed control from stealing focus if there is an
|
||||||
control on the parent form is not the tabbed control or one of its child
|
enabled child control on the page specified in <var>APage</var>. It sets the
|
||||||
controls.
|
ActiveControl property on the parent form to the first child control in APage
|
||||||
</p>
|
(when available).
|
||||||
<p>
|
|
||||||
<var>APage</var> is used to find the next control in the tab order for the
|
|
||||||
page. If a control is found, it is assigned as the ActiveControl on the parent
|
|
||||||
form.
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
No actions are performed in the method if any of the following conditions are
|
No actions are performed in the method if any of the following conditions are
|
||||||
@ -4234,16 +4230,12 @@ APage does not have any child controls.
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
MaybeSelectFirstControlOnPage is called from the Change method, and occurs
|
MaybeSelectFirstControlOnPage is called from the Change method, and when a new
|
||||||
when a new value is assigned to the TabIndex property. It occurs after the
|
value is assigned to the TabIndex property. It occurs after the current Page on
|
||||||
current Page on the tab control has been made visible and given focus. It is
|
the tab control has been made visible and given focus. It is called before the
|
||||||
called before the OnChange event handler is signalled.
|
OnChange event handler is signalled.
|
||||||
</p>
|
</p>
|
||||||
</descr>
|
</descr>
|
||||||
<errors>
|
|
||||||
Raises an EAssertionFailed exception if a value has not been assigned to the
|
|
||||||
APage argument.
|
|
||||||
</errors>
|
|
||||||
<version>
|
<version>
|
||||||
Added in LCL version 4.0.
|
Added in LCL version 4.0.
|
||||||
</version>
|
</version>
|
||||||
|
Loading…
Reference in New Issue
Block a user