Docs: LCL/actnlist. Adds the TActionLink.Update topic for changes in aa9ce848. Issue #41063.

* Assumed Milestone 4.0.

(cherry picked from commit f2c1978c4b)
This commit is contained in:
dsiders 2024-12-17 18:02:35 +00:00
parent c73596b4d4
commit f924dccf4d

View File

@ -2071,6 +2071,40 @@ New value for the Visible property in the linked client control.
</short>
</element>
<element name="TActionLink.Update">
<short>
Calls the inherited method when Action has been assigned.
</short>
<descr>
<p>
<var>Update</var> is an overridden <var>Boolean</var> function in TActionLink.
It ensures that an Action is assigned in the class instance before calling the
inherited method. It addresses an issue in TBasicActionLink.Update for RTL
versions prior to 3.3.1 where the Action was not checked prior to calling the
Update method.
</p>
</descr>
<notes>
<note>
Workaround for RTL TBasicActionLink nil deref issue (fixed in FPC 3.3.1). See
issue #41063.
</note>
</notes>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TActionLink.Action"/>
<link id="#rtl.classes.TBasicActionLink.Update">TBasicActionLink.Update</link>
<link id="#rtl.classes.TBasicActionLink.OnUpdate">TBasicActionLink.OnUpdate</link>
</seealso>
</element>
<element name="TActionLink.Update.Result">
<short>
<b>True</b> if the OnUpdate event handler for the Action was executed.
</short>
</element>
<element name="TActionLink.IsCaptionLinked">
<short>Is the action's <var>Caption</var> linked to the client?</short>
<descr/>