Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

One of the popular Advanced Revelation (AREV) interface features that was not ported to the OpenInsight development environment was the ability to zoom into an edit-type control and expand the edit area.  This This feature was typically invoked by pressing F3 when the cursor was in such a control.

...

In OpenInsight, the Zoom functionality can be implemented within an MDI frame, by calling a user-written Zoom procedure from within a menu item called ZOOM.  This This menu item will be invoked when the user presses F3, as happens in AREV.

First, we create the Zoom form, which is called as a modal dialog box using the Dialog_Box() function call.  Create Create an OpenInsight form like the one below. This form contains an edit box with a vertical scrollbar, and two push button controls labeled OK and Cancel. Assign the following control names:

...