Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

GetGuiType Function

Returns a numeric value that specifies the graphical user interface.

This function is only provided for downward compatibility to previous versions. The return value is not defined in client-server environments.

Syntax:


GetGUIType()

Return value:

Integer

Return values:

1: Windows

4: UNIX

Example:


      Sub ExampleEnvironment
          MsgBox GetGUIType
      End Sub