UniDAC

TMacros.FindMacro Method

Finds a macro with the specified name.

Class

TMacros

Syntax

function FindMacro(const Value: string): TMacro;

Parameters
Value
Holds the value of a macro to search for.
Return Value
TMacro object if a match is found, nil otherwise.

Remarks

Call the FindMacro method to find a macro with the specified name. If a match is found, FindMacro returns the macro. Otherwise, it returns nil. Use this method instead of a direct reference to the Items property to avoid depending on the order of the items.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback