Submodule_Methods_CloseWind

Type: Submodule Parent Module: ModuleCMethods

Module Submodule_Methods_CloseWind
Version / Date 2.00 / 9 February 2001
Author (Organisation) Kevin Gale (Newcastle Computer Services Plc) and Andy Hilton (Totally Brilliant Software)
e-mail keving@ncs-plc.co.uk

This submodule converts Close Window Instance and Close Top Window commands into a notation equivalent. This fixes a conversion problem since the Close Window Instance/Close Top Window commands in OMNIS Studio change the status of the flag whereas they did not in OMNIS 7. This can cause incompatibility with converted OMNIS 7 code.

Functionality

Search for the following commands in methods:

  1. Close window instance myWindow.
  2. Close top window.

Close window instance

Convert the code line to use "Do $cinst.$close()"

Close top window

Convert the code line to use "Do $topwind.$close()"

Assumptions

  1. None.

User Setup Required for this Module

  1. None.