2004.7 Server to V11.2 server issues/experiences

Tim Nevels (7/7/08 4:46PM)


Tim Nevels (7/7/08 4:46 PM)

On Jul 7, 2008, at 3:34 PM, Yogi Jivanandanatha wrote:

9. Grouped arrays on forms don't seem to work as before. Setting

groupArray{0}:=1 does not select the first line.

I think this is the expected behavior.  True that arrays do have an  

element 0, but when used on a form as a scrollable array -- grouped or  

not -- element 0 is not displayed.  So to select line 1 of the  

scrollable array on a form use  "groupArray:=1".  To set the value
of  

line 1 use "groupArray{1}:=aValue"

Nor does groupArray{groupArray} return which line was selected. I'm  

not sure

what is going on here.

I think you are using the wrong syntax when dealing with arrays used  

on a form as a UI element.  To find out if a line is selected, just  

use the array name "groupArray" and no curly brackets.  Such as  

"$selectedLine:=groupArray"  The $selectedLine variable will be a  

longint value.  Zero means no line selected.

Tim

Reply to this message

Summary created 7/8/08 at 1:19AM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com