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.
OraForms.bdh
OraFormsGetPropString( in sName : string,
in nPropId : number ) : string;
| Parameter | Description |
|---|---|
| sName | The control's unique name. |
| nPropId | The string property's ID. |
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;