multiLanguages()

This member function opens the multiLanguages dialog panel. It loads a dialog sub panel to edit a langString.

Synopsis

int DialogFramework::multiLanguages( langString &langText, string title= "", string extraTitle = "")

Parameter

Parameter Description
langText The langString which will be edited.
title

A text, which will be displayed as dialog header. There will be no title if an empty string is given.

Default value: ""

extraTitle

A text, which will be displayed as an additional, colored dialog header. There will be no title if an empty string is given.

Default value: ""

Return Value

Returns the value associated with the selected button. This can be 0 when the "cancel" button is clicked, or 1 if the "ok" button is clicked.

Error

-

Description

This function opens the multiLanguages dialog panel, its dialog sub panel is an editor for a langString. The editor panel shows all entries of the langString and the buttons to copy one entry to all languages, delete all entries, cancel the process or save the entries.

The function defines the langString to be edited and two differently colored headers.

Example

A detailed example can be found with the "dialogFramework.pnl" in the GEDI.

Assignment

Generic Dialog Framework

Availability

UI, CTRL