setApplicationProperty()

Allows to edit application properties.

Synopsis

int setApplicationProperty(string property, <type> value);

Parameters

Parameter Description
property Application property which shall be edited
value The new value which shall be set

Return value

Description

This CTRL function allows to edit application properties. It is necessary to reapply the application stylesheet in case that the name or type attribute of a panel/widget is changed during runtime, since name and type can be used as property selectors in a stylesheet (see example).

Example

main()
{
  setApplicationProperty("styleSheet",
  getApplicationProperty("styleSheet"));
}

Assignment

Miscellaneous functions

Availability

UI