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.

Doubleclick on command button

5 posts in DataWindow Last posting was on 2009-09-14 17:30:20.0Z
shk Posted on 2009-09-11 11:11:21.0Z
From: shk <krishnahari18@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Doubleclick on command button
Date: Fri, 11 Sep 2009 04:11:21 -0700 (PDT)
Organization: http://groups.google.com
Lines: 14
Message-ID: <5f2b8672-4d28-4382-b0ac-4db38a5cde3b@y10g2000prf.googlegroups.com>
NNTP-Posting-Host: 59.96.48.39
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1252667481 32294 127.0.0.1 (11 Sep 2009 11:11:21 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 11 Sep 2009 11:11:21 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: y10g2000prf.googlegroups.com; posting-host=59.96.48.39; posting-account=3bgqjwoAAADrrBLTF1jYtu1n86yiCXyU
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; FDM),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!novia!news-out.readnews.com!transit4.readnews.com!postnews.google.com!y10g2000prf.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89940
Article PK: 419128

Hi all,

iam using PB 8.0 and ASA.i created custom event (pbm_bndoubleclicked)
for command button, but this code is not executing while double
clicking on the command button.

extra info : some code was already present in clicked event.


Please help me the same


thanks in advance


Chris Pollach Posted on 2009-09-11 13:20:24.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <5f2b8672-4d28-4382-b0ac-4db38a5cde3b@y10g2000prf.googlegroups.com>
Subject: Re: Doubleclick on command button
Lines: 29
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; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4aaa4e98$1@forums-1-dub>
Date: 11 Sep 2009 06:20:24 -0700
X-Trace: forums-1-dub 1252675224 10.22.241.152 (11 Sep 2009 06:20:24 -0700)
X-Original-Trace: 11 Sep 2009 06:20:24 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89941
Article PK: 419129

If I recall correctly, the CB does not support a DC. It treats every
Mouse Down/Up sequence as a click - no matter how many times or how fast you
move the mouse button.

--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com

"shk" <krishnahari18@gmail.com> wrote in message
news:5f2b8672-4d28-4382-b0ac-4db38a5cde3b@y10g2000prf.googlegroups.com...
> Hi all,
>
> iam using PB 8.0 and ASA.i created custom event (pbm_bndoubleclicked)
> for command button, but this code is not executing while double
> clicking on the command button.
>
> extra info : some code was already present in clicked event.
>
>
> Please help me the same
>
>
> thanks in advance
>


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2009-09-11 14:52:12.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <5f2b8672-4d28-4382-b0ac-4db38a5cde3b@y10g2000prf.googlegroups.com> <4aaa4e98$1@forums-1-dub>
Subject: Re: Doubleclick on command button
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
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: <4aaa641c$1@forums-1-dub>
Date: 11 Sep 2009 07:52:12 -0700
X-Trace: forums-1-dub 1252680732 10.22.241.152 (11 Sep 2009 07:52:12 -0700)
X-Original-Trace: 11 Sep 2009 07:52:12 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89942
Article PK: 419131

I recall the same - and many applications disable the button at the start of
the clicked script and reenable at the end just to prevent doing the code
twice in case the user does try to double click.

--
Report Bugs to Sybase: http://case-express.sybase.com/cx/welcome.do
Product Enhancement Requests:
http://my.isug.com/cgi-bin/1/c/submit_enhancement

"Chris Pollach" <cpollach@travel-net.com> wrote in message
news:4aaa4e98$1@forums-1-dub...
>
> If I recall correctly, the CB does not support a DC. It treats every
> Mouse Down/Up sequence as a click - no matter how many times or how fast
> you move the mouse button.
>
> --
> Regards ... Chris
> ISUG - NA RUG Director
> http://chrispollach.pbdjmagazine.com
>
>
> "shk" <krishnahari18@gmail.com> wrote in message
> news:5f2b8672-4d28-4382-b0ac-4db38a5cde3b@y10g2000prf.googlegroups.com...
>> Hi all,
>>
>> iam using PB 8.0 and ASA.i created custom event (pbm_bndoubleclicked)
>> for command button, but this code is not executing while double
>> clicking on the command button.
>>
>> extra info : some code was already present in clicked event.
>>
>>
>> Please help me the same
>>
>>
>> thanks in advance
>>
>
>


Ivaylo Ivanov Posted on 2009-09-14 09:02:21.0Z
From: "Ivaylo Ivanov" <n0_S_p_a_m_i.ivanov@isy-dc.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <5f2b8672-4d28-4382-b0ac-4db38a5cde3b@y10g2000prf.googlegroups.com>
Subject: Re: Doubleclick on command button
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4aae069d@forums-1-dub>
Date: 14 Sep 2009 02:02:21 -0700
X-Trace: forums-1-dub 1252918941 10.22.241.152 (14 Sep 2009 02:02:21 -0700)
X-Original-Trace: 14 Sep 2009 02:02:21 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89947
Article PK: 419135

You would have a workaround if you put a 3D Raised text object and capture
the DoubleClicked event checking row and dwo.Name values

Regards,
Ivaylo

"shk" <krishnahari18@gmail.com> wrote in message
news:5f2b8672-4d28-4382-b0ac-4db38a5cde3b@y10g2000prf.googlegroups.com...
> Hi all,
>
> iam using PB 8.0 and ASA.i created custom event (pbm_bndoubleclicked)
> for command button, but this code is not executing while double
> clicking on the command button.
>
> extra info : some code was already present in clicked event.
>
>
> Please help me the same
>
>
> thanks in advance
>


Roland Smith [TeamSybase] Posted on 2009-09-14 17:30:20.0Z
From: "Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <5f2b8672-4d28-4382-b0ac-4db38a5cde3b@y10g2000prf.googlegroups.com>
Subject: Re: Doubleclick on command button
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4aae7dac@forums-1-dub>
Date: 14 Sep 2009 10:30:20 -0700
X-Trace: forums-1-dub 1252949420 10.22.241.152 (14 Sep 2009 10:30:20 -0700)
X-Original-Trace: 14 Sep 2009 10:30:20 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89950
Article PK: 419138

You want the button to do something different if the button is clicked or
doubleclicked? Doesn't sound like a very good idea to me. It would make more
sense to the user to have two buttons with single click.

"shk" <krishnahari18@gmail.com> wrote in message
news:5f2b8672-4d28-4382-b0ac-4db38a5cde3b@y10g2000prf.googlegroups.com...
> Hi all,
>
> iam using PB 8.0 and ASA.i created custom event (pbm_bndoubleclicked)
> for command button, but this code is not executing while double
> clicking on the command button.
>
> extra info : some code was already present in clicked event.
>
>
> Please help me the same
>
>
> thanks in advance
>