OraFormsGetPropByte Function

Action

Returns the specified property's value for the given control.

Include file

OraForms.bdh

Syntax

OraFormsGetPropByte( in sName   : string,
                     in nPropId : number ) : number;

Return value

The value of the property.

Parameter Description
sName The control's unique name.
nPropId The ID of the property.

Example

dcltrans
  transaction TMain
  var
    nValue : number;
  begin
    OraFormsConnect("server module=javamail90.fmx usesdi=yes userid=");
    OraFormsSetWindow("BASE_DEMO_WINDOW");
    OraFormsWindowMove("BASE_DEMO_WINDOW", 0, -24);
    nValue := OraFormsGetPropByte("1", ORA_PID_IMAGE_VALUE);
  end TMain;