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.

Mouse wheel scrolling in Window

4 posts in Powerscript Last posting was on 2010-06-24 03:37:14.0Z
Laurent CRUMIERE Posted on 2009-10-05 09:48:56.0Z
From: "Laurent CRUMIERE" <planete@arakis.fr>
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Mouse wheel scrolling in Window
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ac9c108$1@forums-1-dub>
Date: 5 Oct 2009 02:48:56 -0700
X-Trace: forums-1-dub 1254736136 10.22.241.152 (5 Oct 2009 02:48:56 -0700)
X-Original-Trace: 5 Oct 2009 02:48:56 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27092
Article PK: 793555

I'm using PB 11.5.1 (build 4566) and I try to "scroll" a window using the
mouse wheel.

Unfortunately, it's not "automatic" ...

Have you an idea ?


OSteine Posted on 2009-10-19 07:00:56.0Z
From: OSteine <osteine@gmail.com>
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Re: Mouse wheel scrolling in Window
Date: Mon, 19 Oct 2009 00:00:56 -0700 (PDT)
Organization: http://groups.google.com
Lines: 16
Message-ID: <e2d01a55-4d42-4783-ad28-7af7dd04a9a7@z2g2000yqm.googlegroups.com>
References: <4ac9c108$1@forums-1-dub>
NNTP-Posting-Host: 213.161.247.15
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1255935656 28073 127.0.0.1 (19 Oct 2009 07:00:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 19 Oct 2009 07:00:56 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: z2g2000yqm.googlegroups.com; posting-host=213.161.247.15; posting-account=htlxdwoAAACpJ9n2ay4GKRiManbkb3rZ
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nb-NO; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3,gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!z2g2000yqm.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27119
Article PK: 793567


On 5 Okt, 11:48, "Laurent CRUMIERE" <plan...@arakis.fr> wrote:
> I'm using PB 11.5.1 (build 4566) and I try to "scroll" a window using the
> mouse wheel.
>
> Unfortunately, it's not "automatic" ...
>
> Have you an idea ?

Here's some code too
Create a user event with Event ID: pbm_other
//start of code
IF message.number = 522 //captures the scrollwheel
//Add code to do whatever .. like scrolling :)
RETURN 1
END IF
//end of code


Chris Fauvel Posted on 2010-06-24 03:37:14.0Z
From: "Chris Fauvel" <Chris.Fauvel@gte.net>
Newsgroups: sybase.public.powerbuilder.powerscript
References: <4ac9c108$1@forums-1-dub> <e2d01a55-4d42-4783-ad28-7af7dd04a9a7@z2g2000yqm.googlegroups.com>
In-Reply-To: <e2d01a55-4d42-4783-ad28-7af7dd04a9a7@z2g2000yqm.googlegroups.com>
Subject: Re: Mouse wheel scrolling in Window
Lines: 2
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MIMEOLE: Produced By Microsoft MimeOLE V14.0.8089.726
X-Antivirus: avast! (VPS 100623-1, 06/23/2010), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4c22d2ea@forums-1-dub>
Date: 23 Jun 2010 20:37:14 -0700
X-Trace: forums-1-dub 1277350634 10.22.241.152 (23 Jun 2010 20:37:14 -0700)
X-Original-Trace: 23 Jun 2010 20:37:14 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27397
Article PK: 793736

how would you know if the user is scrolling down or up? two different
message.numbers?

"OSteine" <osteine@gmail.com> wrote in message
news:e2d01a55-4d42-4783-ad28-7af7dd04a9a7@z2g2000yqm.googlegroups.com...
> On 5 Okt, 11:48, "Laurent CRUMIERE" <plan...@arakis.fr> wrote:
>> I'm using PB 11.5.1 (build 4566) and I try to "scroll" a window using the
>> mouse wheel.
>>
>> Unfortunately, it's not "automatic" ...
>>
>> Have you an idea ?
>
> Here's some code too
> Create a user event with Event ID: pbm_other
> //start of code
> IF message.number = 522 //captures the scrollwheel
> //Add code to do whatever .. like scrolling :)
> RETURN 1
> END IF
> //end of code


OSteine Posted on 2009-10-19 06:57:22.0Z
From: OSteine <osteine@gmail.com>
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Re: Mouse wheel scrolling in Window
Date: Sun, 18 Oct 2009 23:57:22 -0700 (PDT)
Organization: http://groups.google.com
Lines: 9
Message-ID: <7fdf3616-3e9b-429f-a946-f60b60cc64da@37g2000yqm.googlegroups.com>
References: <4ac9c108$1@forums-1-dub>
NNTP-Posting-Host: 213.161.247.15
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1255935442 27215 127.0.0.1 (19 Oct 2009 06:57:22 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 19 Oct 2009 06:57:22 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 37g2000yqm.googlegroups.com; posting-host=213.161.247.15; posting-account=htlxdwoAAACpJ9n2ay4GKRiManbkb3rZ
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nb-NO; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3,gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!37g2000yqm.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27118
Article PK: 793570


On 5 Okt, 11:48, "Laurent CRUMIERE" <plan...@arakis.fr> wrote:
> I'm using PB 11.5.1 (build 4566) and I try to "scroll" a window using the
> mouse wheel.
>
> Unfortunately, it's not "automatic" ...
>
> Have you an idea ?

Catch the mouse event and scroll the window by code.