Applies to

Window

Description

Sets or retrieves the name of the control that displays help text for menu items and bitmapped buttons.

Usage

objectname = Get_Property (windowID"STATUSLINE")

existingprop = Set_Property (windowID"STATUSLINE"objectname)

Remarks

The Send_Info subroutine places text in the status line.

Example: Setting up a Status Line

In order to set up a status line in OpenInsight you need to put an edit-line control on a form and set the STATUSLINE property. The proper code to do so, which should be put in the Create event for the form, is as follows:

@@WINDOW->STATUSLINE = @WINDOW: ".STATUS"

This sets up the edit line on the form (which we called STATUS) as the status line. The other part for the status line is to enter in the data you would like to view in the Menu Design. The area to enter in the text to view is in the HELP TEXT line in the menu designer. The text that goes in here will show up in the status line when the menu item is dragged over.

This can be very helpful for a quick help for the individual menu items. For example, if the menu item is "NEW" on an Address Book data entry form, the status line might say, "Add a New Address". When this is set up correctly it can make for a very professional looking form.

See also

RECEIVER property

  • No labels