"keepInMemory"

This attribute allows to set whether the panel shall be kept in memory after closing it.

Synopsis

this.keepInMemory(bool enabled);

Parameter

Parameter Description
enabled
  • TRUE: Panel is kept in memory (default)

  • FALSE: Panel is not kept in memory

Description

This attribute allows to set whether the panel shall be kept in the random access memory after closing it. Since panels are stored by default, you can reduce the memory usage by setting this attribute to FALSE.

If you use references in a panel with default setting "keepInMemory" and you change the reference, you have to restart the UI to apply the changes.

Example

main()
{
  this.keepInMemory(TRUE);
}

Assignment

Panel