[Overview][Classes][Procedures and functions][Index] |
Sets the value for the Count element in a legacy version of the class.
Source position: laz2_xmlcfg.pas line 148
public procedure TXMLConfig.SetListItemCount( |
const APath: string; |
const ACount: Integer; |
const ALegacyList: Boolean |
); |
APath |
|
Path to the XML node where the list is stored. |
ACount |
|
Value for the Count element written in the method. |
ALegacyList |
|
True the Count element from an older LazUtils version is used. |
SetListItemCount is a method used to store a Count element with the number of list items in APath. No actions are performed in the method when ALegacyList is set to False; the Count tag is not written or maintained in newer versions of the class.
SetListItemCount adds or updates the Count element to use the value in ACount. SetListItemCount deletes the Count element if its value is 0 (zero).
Version 4.0 | Generated 2025-05-03 | Home |