RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractDesigntimeWarnings.AddObject Method

Requests any design time warnings from a specified object.

Pascal
procedure AddObject(AObject: TObject); virtual; abstract;
C++
virtual __fastcall AddObject(TObject * AObject) = 0;

AddObject collects the design time warnings from the specified object by calling its GetDesigntimeWarnings method (if it has one). If the object has already been added by a previous call to AddObject, AddObject detects this and does nothing. 

AObject is the Web item from which to request design-time warnings. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!