RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Exception.CreateFmtHelp Constructor

Instantiates an instance of an exception with a formatted message string and a help-context ID.

Pascal
constructor CreateFmtHelp(const Msg: string; const Args: array of const; AHelpContext: Integer);
C++
__fastcall Exception(const AnsiString Msg, const array of const Args, int AHelpContext);

Call CreateFmtHelp to construct an exception with a formatted message string and a help context ID. Msg is a string constant containing format specifiers to be replaced with values from Args. Args is an array of constants containing values to format according to format specifiers in Msg, and insert into Msg. CreateFmt calls the Format function to transform Msg with the values in Arg. 

AHelpContext is an integer that specifies the context-sensitive help ID for the exception. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!