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.

clicked-mousedown-rbbuttonup Question

3 posts in Objects Last posting was on 2004-12-02 11:00:11.0Z
acme Posted on 2004-12-01 01:48:38.0Z
From: "acme" <hbni@163.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: clicked-mousedown-rbbuttonup Question
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: nihaibo.sybase.com
X-Original-NNTP-Posting-Host: nihaibo.sybase.com
Message-ID: <41ad22f6@forums-1-dub>
Date: 30 Nov 2004 17:48:38 -0800
X-Trace: forums-1-dub 1101865718 158.77.82.56 (30 Nov 2004 17:48:38 -0800)
X-Original-Trace: 30 Nov 2004 17:48:38 -0800, nihaibo.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8132
Article PK: 735400

I wrote scripts in a window clicked event

//clicked event in window obj

choose case is_testitem
case 'Move'
if flags=1 then
lv_main.move( xpos,ypos)
elseif flags=2 then
lv_main.move(55,140)
end if
end choose
//

when I clicked the window with left button of mouse,flag is 0,and others no
response
and if I shift this script in mousedown event in this window,when leftbutton
pressed,I got flags=1,it is right,but,if I right button down ,it still no
response.
and if I add the same script in leftbuttonup in this window,flags could got
2,and others no response

I wonder how they work in the window.

regards,
acme


acme Posted on 2004-12-01 01:49:47.0Z
From: "acme" <hbni@163.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <41ad22f6@forums-1-dub>
Subject: Re: clicked-mousedown-rbbuttonup Question
Lines: 4
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: nihaibo.sybase.com
X-Original-NNTP-Posting-Host: nihaibo.sybase.com
Message-ID: <41ad233b$1@forums-1-dub>
Date: 30 Nov 2004 17:49:47 -0800
X-Trace: forums-1-dub 1101865787 158.77.82.56 (30 Nov 2004 17:49:47 -0800)
X-Original-Trace: 30 Nov 2004 17:49:47 -0800, nihaibo.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8133
Article PK: 735401

OS :win2000 pro
pb:902


"Davy De Permentier" <no_spam Posted on 2004-12-02 11:00:11.0Z
From: "Davy De Permentier" <no_spam@my_e_mail>
Newsgroups: sybase.public.powerbuilder.objects
References: <41ad22f6@forums-1-dub>
Subject: Re: clicked-mousedown-rbbuttonup Question
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Original-NNTP-Posting-Host: 194.78.25.49
Message-ID: <41aef5b7$1@forums-2-dub>
X-Original-Trace: 2 Dec 2004 03:00:07 -0800, 194.78.25.49
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 2 Dec 2004 03:00:08 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 2 Dec 2004 03:00:11 -0800
X-Trace: forums-1-dub 1101985211 10.22.108.75 (2 Dec 2004 03:00:11 -0800)
X-Original-Trace: 2 Dec 2004 03:00:11 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8134
Article PK: 735402

Please do not crosspost, I replied to your answer in the General newsgroup.

"acme" <hbni@163.com> wrote in message news:41ad22f6@forums-1-dub...
> I wrote scripts in a window clicked event
>
> //clicked event in window obj
>
> choose case is_testitem
> case 'Move'
> if flags=1 then
> lv_main.move( xpos,ypos)
> elseif flags=2 then
> lv_main.move(55,140)
> end if
> end choose
> //
>
> when I clicked the window with left button of mouse,flag is 0,and others
no
> response
> and if I shift this script in mousedown event in this window,when
leftbutton
> pressed,I got flags=1,it is right,but,if I right button down ,it still no
> response.
> and if I add the same script in leftbuttonup in this window,flags could
got
> 2,and others no response
>
> I wonder how they work in the window.
>
> regards,
> acme
>
>