Returns the length for a byte array property.
OraForms.bdh
OraFormsGetPropByteArrayLen( in sName : string,
in nPropId : number ) : number;
| Parameter | Description |
|---|---|
| sName | The control's unique name. |
| nPropId | The property ID for the byte array property, for example ORA_PID_BP_CHUNK. |
dcltrans
transaction TMain
var
nLen, nIndex : number;
begin
OraFormsConnect("server module= iorganizer.fmx usesdi=yes userid= record=names);
OraFormsSetWindow( "BASE_DEMO_WINDOW");
OraFormsMessageBoxButton("Question", ORA_ALERT_YES);
nLen := OraFormsGetPropByteArrayLen("164", ORA_PID_BP_CHUNK);
Print("nLen = "+string(nLen));
for nIndex := 0 to nLen - 1 do
Print(string(OraFormsGetPropByteArray("164", ORA_PID_BP_CHUNK, nIndex)));
end;
end TMain;