Init (initialize the QueryListClass object)

Top  Previous  Next

 

Init( querywindowmanager, inimanager, family, errormanager )

Init

Initializes the QueryListClass object.

querywindowmanager

The label of the QueryListVisual object that displays the query input dialog list and processes it's events.

Inimanager

The label of the INIManager object.

Family

A string constant, variable, EQUATE, or expression containing the procedure name of the calling procedure.

Errormanager

The label of the Global ErrorManager object.

The Init method initializes the QueryListClass object.

Implementation:

The Init method sets the QFC property for the querywindowmanager.

Example:

ThisWindow.Init PROCEDURE()

ReturnValue          BYTE,AUTO

 CODE

!other initialization code

 Query.Init(QueryWindow)

 Query.AddItem('UPPER(CLI:LastName)','Name','s20')

 Query.AddItem('CLI:ZIP+1','ZIP+1','')

 RETURN ReturnValue

 

ThisWindow.Kill PROCEDURE()

ReturnValue          BYTE,AUTO

 CODE

!other termination code

 Query.Kill

 RETURN ReturnValue

See Also:     Kill, QueryListVisual, QueryListVisual.QFC