Returns an element of a string array property at a given position.
OraForms.bdh
OraFormsGetPropStringArray( in sName : string, in nPropId : number, in nIndex : number ): string;
The string at the specified position within the array
Parameter | Description |
---|---|
sName | The control's unique name or ID. The ID can be retrieved from the TrueLog's In Body page. |
nPropId | The property ID for the string array property, for example ORA_PID_VALUE. |
nIndex | The position of the element to be returned. This index is 0-based. |
dcltrans transaction TMain var nLen : number; nIndex : number; begin OraFormsConnect("server module= iorganizer.fmx usesdi=yes userid= record=names); OraFormsSetWindow("BASE_DEMO_WINDOW"); OraFormsMessageBoxButton("Question", ORA_ALERT_YES); nLen := OraFormsGetPropStringArrayLen("146", ORA_PID_VALUE); Print("nLen = "+string(nLen)); for nIndex := 0 to nLen - 1 do Print(OraFormsGetPropStringArray("146", ORA_PID_VALUE, nIndex)); end; end TMain;