Init (initialize the QueryVisual object )

Top  Previous  Next

 

Init, DERIVED, PROC

 

The Init method initializes the QueryVisual object. Init returns Level:Benign to indicate normal initialization. The Init method "programs" the QueryVisual object.

 

Implementation:

The Init method is called from the Init methods of both the QueryFormVisual and the QueryListVisual as PARENT calls. Typically, the Init method is paired with the Kill method, performing the converse of the Kill method tasks.

Return Data Type:     BYTE

 

Example:

QueryFormVisual.Init           PROCEDURE

 CODE

 QFC &= SELF.QFC

 CLEAR(SELF)

 SELF.QFC &= QFC

 SELF.QC &= QFC

 RVal = PARENT.Init()      ! The call to the Init

 IF RVal THEN RETURN RVal.

 ! Saved query code

 RETURN RVal

 

See Also:     Kill