Sign in Join
FPDoc Onlineexperiment

TObject.MethodAddress function

Member of TObjectpublicIn unit System

Return the address of a method.

Declaration

pascal
class function MethodAddress(const name: shortstring): CodePointer

Description

MethodAddress returns the address of a method, searching the method by its name. The Name parameter specifies which method should be taken. The search is conducted in a case-insensitive manner.

Errors

If no matching method is found, Nil is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.