QPR Knowledge Base

SetUIMode

Hide Navigation Pane

SetUIMode

Previous topic Next topic No expanding text in this topic  

SetUIMode

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

Comments (...)

Revision history:

Introduced in QPR 7.2.1

 

Sets the user interface mode. Can be used for hiding the user interface.

 

Synopsis:

 

PGApplication.SetUIMode(Silent | Normal)

 

Parameters:

 

Mode: Integer, either 0 (UI_SILENT) or 1 (UI_NORMAL)

 

Required Rights:

 

None.

 

Return Values:

 

None.

 

Example procedure:

 

Sub SetSilentMode()

 Dim iResult

 iResult = PGApplication.SetUIMode(0)

 If (iResult <> 0) Then

   MsgBox "Could not set silent UI mode: " + PGApplication.GetErrorMessage(iResult)

 End If

End Sub

Comments (...)