GUILanguage

<< Click to Display Table of Contents >>

Navigation:  Management >

GUILanguage

Previous pageReturn to chapter overviewNext page

[GUI Control Only]

By default, VPE chooses the language for its GUI (Graphical User Interface) by querying the current chosen language in the control panel of the system. With this property you can override that default behavior and force VPE to use a specific language.

property GUILanguage [integer] VPE.GUILanguage

write; runtime only

Possible Values:

available languages are:

ActiveX / VCL

Value

Enum

Comment

VGUI_LANGUAGE_USER_DEFINED

-1

UserDefined

 

VGUI_LANGUAGE_ENGLISH

0

English

 

VGUI_LANGUAGE_GERMAN

1

German

 

VGUI_LANGUAGE_FRENCH

2

French

 

VGUI_LANGUAGE_DUTCH

3

Dutch

 

VGUI_LANGUAGE_SPANISH

4

Spanish

 

VGUI_LANGUAGE_DANISH

5

Danish

 

VGUI_LANGUAGE_SWEDISH

6

Swedish

 

VGUI_LANGUAGE_FINNISH

7

Finnish

 

VGUI_LANGUAGE_ITALIAN

8

Italian

 

VGUI_LANGUAGE_NORWEGIAN

9

Norwegian

 

VGUI_LANGUAGE_PORTUGUESE

10

Portuguese

 

Default:

depends on the chosen language in the control panel of the system

Remarks:

If you set the GUILanguage to UserDefined, you can specify freely any text in any language for each element of the GUI by calling SetResourceString.

Example:

ActiveX / VCL:

Doc.GUILanguage = VGUI_LANGUAGE_SPANISH

 

.NET:

Doc.GUILanguage = GUILanguage.Spanish

forces VPE to use spanish as language for the GUI