APP_STANDARD Package

APP_STANDARD.APP_VALIDATE

Summary
procedure  APP_STANDARD.APP_VALIDATE (scope NUMBER);
Description This procedure acts similarly to Oracle Forms' built-in Validate, except that it navigates to the first item that caused the validation failure, and it provides support for the button standard. Use it instead of the Oracle Forms built-in.

Arguments (input)

scope The scope of the validation. Valid values are DEFAULT_SCOPE, FORM_SCOPE, BLOCK_SCOPE, RECORD_SCOPE, and ITEM_SCOPE.

APP_STANDARD.EVENT

Summary
procedure  APP_STANDARD.EVENT (
		event_name        varchar2);
Description This procedure invokes the standard behavior for the specified event. The TEMPLATE form contains all necessary calls to this trigger.

Arguments (input)

event_name Name of the event or trigger

See: Special Triggers in the TEMPLATE form

APP_STANDARD.SYNCHRONIZE

Summary
procedure  APP_STANDARD.SYNCHRONIZE;
Description Dynamic changes to the form can affect which menu items apply, although the state of the menu items is not re-evaluated automatically. If you make a change that affects which items in the toolbar and menu can be used, call this routine, and it re-evaluates the menu and toolbar. (For example, changing the INSERTABLE property of a block, changing the status of a record, etc.)
See: Pulldown Menus and the Toolbar.

APP_STANDARD.PLATFORM

Summary
APP_STANDARD.PLATFORM varchar2(30);
Description This package variable stores the name of the value returned by GET_APPLICATION_PROPERTY(USER_INTERFACE). Valid values include 'MACINTOSH', MSWINDOWS', MSWINDOWS32', and 'MOTIF'.
Example
if APP_STANDARD.PLATFORM = 'MSWINDOWS' then
		MDI_height := get_window_property(FORMS_MDI_WINDOW,
														HEIGHT); end if;