Chage DCBROWSE visible data

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
jdsoft
Posts: 113
Joined: Thu Jan 28, 2010 1:13 pm
Location: Overberg
Contact:

Chage DCBROWSE visible data

#1 Post by jdsoft »

Hello
If have a DCBROWSE of an array. The browse itself has 13 visible lines
This array can contain 1 to 999 sub arrays.

After every rebuild of that array, and refreshAll of DCBROWSE, the first item is visible on the first browse line.

Assume the array has 215 items.
How can I refresh the DCBROWSE and instruct to start with item 165 of the array (fist line in the browse), and set the selected row on line 7?

Suggestions are welcome.

Regards,
Jack Duijf
Regards,
Jack Duijf

User avatar
rdonnay
Site Admin
Posts: 4728
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Chage DCBROWSE visible data

#2 Post by rdonnay »

Try this:

Code: Select all

oBrowse:arrayElement := 165
oBrowse:refreshAll()
For i := 1 TO 6
  oBrowse:down()
Next
oBrowse:forceStable()
The eXpress train is coming - and it has more cars.

User avatar
jdsoft
Posts: 113
Joined: Thu Jan 28, 2010 1:13 pm
Location: Overberg
Contact:

Re: Chage DCBROWSE visible data

#3 Post by jdsoft »

Hello Roger,

Thanks,
That is much more simple then I expected.

Jack
Regards,
Jack Duijf

Post Reply