User Tools

Site Tools


init_initialize_the_queryvisual_object_.htm
Navigation:  ABC Library Reference > QueryVisualClass > QueryVisualClass Methods >====== Init (initialize the QueryVisual object ) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Init, DERIVED, PROC

blk2blue.jpg

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

init_initialize_the_queryvisual_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1