Submodule_Methods_ObsoleteC

Type: Submodule Parent Module: ModuleCMethods

This sub-module replaces obsolete commands with equivalent Omnis Studio commands.

Functionality

Obsolete commands are converted as follows:

Queue click OBSOLETE COMMAND

Is converted to "Queue click"

Queue set current field OBSOLETE COMMAND

Is converted to "Queue set current field"

Redraw windows OBSOLETE COMMAND

If the command contains the option "All windows" then it is converted to "Do $root.$redraw()"

Otherwise

  1. If the command is located in the $construct method of a window class then it is redundant and therefore removed.
  2. If the command is not located in the $construct method then it is converted to "Do $topwind.$redraw()"

Set return value OBSOLETE COMMAND

If the command is the last command in the method then replace the "Set return value" command with a "Quit method" command that returns the value specified in the original "Set return value" command.

Redraw named fields OBSOLETE COMMAND

This command is dealt with elsewhere by "Module_FieldRedraws"

Assumptions

  1. None.

User Setup Required for this Module

  1. None.