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.

Scrollbar events?

3 posts in DataWindow Last posting was on 2008-12-12 13:57:18.0Z
Papadomichelakis Ioannis Posted on 2008-12-12 13:13:11.0Z
From: Papadomichelakis Ioannis <papadomichelakis@logismos.gr>
Organization: Logismos s.a.
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Scrollbar events?
Content-Type: text/plain; charset=ISO-8859-7; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49426367@forums-1-dub>
Date: 12 Dec 2008 05:13:11 -0800
X-Trace: forums-1-dub 1229087591 10.22.241.152 (12 Dec 2008 05:13:11 -0800)
X-Original-Trace: 12 Dec 2008 05:13:11 -0800, vip152.sybase.com
Lines: 24
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88385
Article PK: 417639

PB 10.5 & PB 11.2

I have 2 datawindows that share data. The first display only one row at
a time. The second is a grid datawindow that displays all rows. Both
datawindows have scrollbars.

My problem:
When I use the scrollbars to the first datawindow (the one that displays
only one row), the displayed row is changed but not the current row. So,
as long as I use the scrollbars, the displayed row is changed but on the
grid datawindow, the selected row is not changing. This is confusing for
the user that seeΒ’s 2 different rows as selected (one on each datawindow).

I know that using the property "FirstRowOnPage" I am able to have that
rowΒ’s number. I am wondering if there is any event that is triggered
when the user uses the scrollbars.

Thanks in advance.

--
__________________________________
Papadomichelakis Ioannis
Senior software developer
Logismos SA - T:+302310502060


Chris Werner Posted on 2008-12-12 13:31:43.0Z
From: "Chris Werner" <cwAT{PleaseNoSpam}f-s.de>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <49426367@forums-1-dub>
Subject: Re: Scrollbar events?
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <494267bf$1@forums-1-dub>
Date: 12 Dec 2008 05:31:43 -0800
X-Trace: forums-1-dub 1229088703 10.22.241.152 (12 Dec 2008 05:31:43 -0800)
X-Original-Trace: 12 Dec 2008 05:31:43 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88387
Article PK: 417641

Hi Papadomichelakis,

scrollVertical(long scrollPos, integer pane)

HTH

Chris Werner
f+s software gmbh

"Papadomichelakis Ioannis" <papadomichelakis@logismos.gr> schrieb im
Newsbeitrag news:49426367@forums-1-dub...

> PB 10.5 & PB 11.2
>
> I have 2 datawindows that share data. The first display only one row at a
> time. The second is a grid datawindow that displays all rows. Both
> datawindows have scrollbars.
>
> My problem:
> When I use the scrollbars to the first datawindow (the one that displays
> only one row), the displayed row is changed but not the current row. So,
> as long as I use the scrollbars, the displayed row is changed but on the
> grid datawindow, the selected row is not changing. This is confusing for
> the user that see¢s 2 different rows as selected (one on each datawindow).
>
> I know that using the property "FirstRowOnPage" I am able to have that
> row¢s number. I am wondering if there is any event that is triggered when
> the user uses the scrollbars.
>
> Thanks in advance.
>
> --
> __________________________________
> Papadomichelakis Ioannis
> Senior software developer
> Logismos SA - T:+302310502060


Papadomichelakis Ioannis Posted on 2008-12-12 13:57:18.0Z
From: Papadomichelakis Ioannis <papadomichelakis@logismos.gr>
Organization: Logismos s.a.
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Scrollbar events?
References: <49426367@forums-1-dub> <494267bf$1@forums-1-dub>
In-Reply-To: <494267bf$1@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-7; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49426dbe@forums-1-dub>
Date: 12 Dec 2008 05:57:18 -0800
X-Trace: forums-1-dub 1229090238 10.22.241.152 (12 Dec 2008 05:57:18 -0800)
X-Original-Trace: 12 Dec 2008 05:57:18 -0800, vip152.sybase.com
Lines: 49
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88388
Article PK: 417642

Ouaou! In front of my eyes and I couldnΒ’t see it!

Thank you very much. You were very quick.

Chris Werner wrote:
> Hi Papadomichelakis,
>
> scrollVertical(long scrollPos, integer pane)
>
> HTH
>
> Chris Werner
> f+s software gmbh
>
> "Papadomichelakis Ioannis" <papadomichelakis@logismos.gr> schrieb im
> Newsbeitrag news:49426367@forums-1-dub...
>> PB 10.5 & PB 11.2
>>
>> I have 2 datawindows that share data. The first display only one row at a
>> time. The second is a grid datawindow that displays all rows. Both
>> datawindows have scrollbars.
>>
>> My problem:
>> When I use the scrollbars to the first datawindow (the one that displays
>> only one row), the displayed row is changed but not the current row. So,
>> as long as I use the scrollbars, the displayed row is changed but on the
>> grid datawindow, the selected row is not changing. This is confusing for
>> the user that see?s 2 different rows as selected (one on each datawindow).
>>
>> I know that using the property "FirstRowOnPage" I am able to have that
>> row?s number. I am wondering if there is any event that is triggered when
>> the user uses the scrollbars.
>>
>> Thanks in advance.
>>
>> --
>> __________________________________
>> Papadomichelakis Ioannis
>> Senior software developer
>> Logismos SA - T:+302310502060
>
>

--
__________________________________
Papadomichelakis Ioannis
Senior software developer
Logismos SA - T:+302310502060