RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterDisplayReferenceGroup.GetDesigntimeWarnings Method

Populates a design-time warnings object with any warnings that the reference group needs to emit.

Pascal
procedure GetDesigntimeWarnings(AWarnings: TAbstractDesigntimeWarnings);
C++
__fastcall GetDesigntimeWarnings(TAbstractDesigntimeWarnings AWarnings);

GetDesigntimeWarnings is called automatically at design time when the adapter page producer is assembling the current version of its HTML form. This gives the display reference group an opportunity to add messages to the version of the HTML form that appears at design time, describing problems that you can rectify. 

AWarnings is the design-time warnings object that assembles design-time warning messages that appear in the HTML form. 

If the DisplayComponent property has not been set, GetDesigntimeWarnings adds a message that indicates this omission. Otherwise, GetDesigntimeWarnings adds the display component to the list of objects that can supply design-time warnings. 

 

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