QPR Knowledge Base

GetObject

Hide Navigation Pane

GetObject

Previous topic Next topic No expanding text in this topic  

GetObject

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

Revision history:

Introduced in QPR 7.3.1

 

Fetches the following object:

MODEL: Returns current PGModel object.

 

Synopsis:

 

PGApplication.GetObject(ObjectName, out Object)

 

Parameters:

 

ObjectName: String. Currently only MODEL is supported here.

out Object: Variant. Variant for the returned object.

 

Required Rights:

 

None.

 

Return Values:

Below are listed the return values that this function can return:

 

RV_APPLICATION_QUIT_CALLED

RV_SUCCESS

RV_INVALID_PARAMETER

 

Example Procedure:

 

iRet = PGApplication.GetObject("MODEL", oModel)

Comments (...)