Modifies the status of a specified window.
OraForms.bdh
OraFormsWindowUpdate( in sName : string,
in nAction : number,
in bStatus : boolean ) : boolean;
| Parameter | Description |
|---|---|
| sName | The window's unique name. |
| nAction |
Can be any of these values:
|
| bStatus | Specifies whether to set the status as defined by the previous parameter. |
dcltrans
transaction TMain
var
begin
OraFormsSetPoint( "INITIAL_SCALE_INFO", 8, 20);
OraFormsSetBoolean( "WINSYS_REQUIREDVA_LIST", false);
OraFormsSetString( "DEFAULT_LOCAL_TZ", "Europe/Berlin");
OraFormsConnect( "server module=iorganizer.fmx userid=iorg/iorg@ORCL_server sso_userid= usesdi=yesrecord=names");
OraFormsSetFocus( "LOGIN_PB_ENTER_0"); // Enter
OraFormsButtonPress( "LOGIN_PB_ENTER_0"); // Enter
// Incorrect Login Information. Do you want to register?
OraFormsMessageBoxButton( "Incorrect Login", ORA_ALERT_NO);
OraFormsWindowUpdate( "Oracle iOrganizer", ORA_WINDOW_ACTIVATED, true);
OraFormsCloseWindow( "Oracle iOrganizer");
end TMain;