RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractDesigntimeWarnings.AddString Method

Adds a warning string to the set of warnings that appear at design time.

Pascal
procedure AddString(AWarning: string); virtual; abstract;
C++
virtual __fastcall AddString(AnsiString AWarning) = 0;

AddString adds a string to the design-time warnings object. The adapter page producer displays all such warning strings in the HTML form that appears in the HTML view of the editor. 

AWarning is a warning string that describes a problem that the developer can rectify (such as an invalid property value or missing component). 

 

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