Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Scrolltorow does not cause DW to scroll in PB 9 exe

2 posts in Objects Last posting was on 2004-05-31 12:25:53.0Z
Rob Adams Posted on 2004-05-28 15:32:29.0Z
Sender: 4f14.40b75929.1804289383@sybase.com
From: Rob Adams
Newsgroups: sybase.public.powerbuilder.objects
Subject: Scrolltorow does not cause DW to scroll in PB 9 exe
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <40b75b8d.4f6f.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 28 May 2004 08:32:29 -0700
X-Trace: forums-1-dub 1085758349 10.22.241.41 (28 May 2004 08:32:29 -0700)
X-Original-Trace: 28 May 2004 08:32:29 -0700, 10.22.241.41
Lines: 20
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7908
Article PK: 735182

Converted a PB 7 application to PB 9. The two windows are
shared. Everything works fine in development. In a deployed
application the master datawindow dw_1 rowchanged event
tells the shared datawindow dw_2 to scrolltorow(row).

The rowfocuschanged, and scroll vertical events on dw_2 fire
as we have a messagebox indicating the object, event and
row number. However visually the dw_2 does not scroll. It
only scrolls if you use the scroll bar on the shared .
When I use >the scroll bar on dw_2 I do not get the
message boxes for rowfocuschanged or vertical scroll.

I have already tried posting the scrolltorow on dw_2. I
wonder if I am missing a run file?

Any ideas would be appreciated!

Thanks.

Rob


Christos Ioannou Posted on 2004-05-31 12:25:53.0Z
From: Christos Ioannou <chriss@mymail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Scrolltorow does not cause DW to scroll in PB 9 exe
References: <40b75b8d.4f6f.1681692777@sybase.com>
In-Reply-To: <40b75b8d.4f6f.1681692777@sybase.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 194.125.252.20
Message-ID: <40bb2488@forums-2-dub>
X-Original-Trace: 31 May 2004 05:26:48 -0700, 194.125.252.20
Lines: 24
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 31 May 2004 05:24:12 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 31 May 2004 05:25:53 -0700
X-Trace: forums-1-dub 1086006353 10.22.108.75 (31 May 2004 05:25:53 -0700)
X-Original-Trace: 31 May 2004 05:25:53 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7909
Article PK: 735180

Did you try a setrow before scroll?

Rob Adams wrote:

> Converted a PB 7 application to PB 9. The two windows are
> shared. Everything works fine in development. In a deployed
> application the master datawindow dw_1 rowchanged event
> tells the shared datawindow dw_2 to scrolltorow(row).
>
> The rowfocuschanged, and scroll vertical events on dw_2 fire
> as we have a messagebox indicating the object, event and
> row number. However visually the dw_2 does not scroll. It
> only scrolls if you use the scroll bar on the shared .
> When I use >the scroll bar on dw_2 I do not get the
> message boxes for rowfocuschanged or vertical scroll.
>
> I have already tried posting the scrolltorow on dw_2. I
> wonder if I am missing a run file?
>
> Any ideas would be appreciated!
>
> Thanks.
>
> Rob