RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetValuesList.GetDesigntimeWarnings Method

Populates a design-time warnings object with any warnings that the dataset values list 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 dataset values list 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 DataSet property has not been set, GetDesigntimeWarnings adds a message that indicates this omission. If DataSet is set, but the dataset is not active, GetDesigntimeWarnings adds a message that indicates this problem. Finally, if the ValueField property is not set, GetDesigntimeWarnings adds a message indicating this omission. 

 

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