formatSelector()

Opens the format selector and writes the string format that has been selected on the format string variable.

Synopsis

int formatSelector(string &format);

Parameters

Parameter Description
format Returned format.

Return value

In the event of an error, the function returns -1 otherwise, 0.

Error

General troubleshooting.

Description

Opens the format selector and writes the string format that has been selected on the format string variable. For the meaning of the single parameters in a string format see format string. However, empty strings do not lead to errors.

Example

main()
{
  string format;
  formatSelector(format);
  text.text = format;
}

Assignment

Dialog functions

Availability

UI