OraFormsGetPropString Function

Action

Returns the specified property's value for the given control. The function may also return a NULL string. Use the function StrIsNull to determine whether a string is NULL.

Include file

OraForms.bdh

Syntax

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

Return value

  • The string on success
  • NULL otherwise
Parameter Description
sName The control's unique name.
nPropId The string property's ID.

Example

dcltrans 
  transaction TMain 
  var 
    sValue :  string; 
  begin 
    OraFormsConnect( "server module=javamail90.fmx usesdi=yes userid="); 
    OraFormsSetWindow( "BASE_DEMO_WINDOW"); 
    OraFormsWindowMove( "BASE_DEMO_WINDOW", 0,  -24); 
    sValue:=  OraFormsGetPropString( "MAIN", ORA_PID_TITLE); 
    if StrIsNull(sValue)  then 
      Print( "sValue is null"); 
    end; 
  end TMain;