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.

Right click menu

5 posts in DataWindow Last posting was on 2009-08-11 07:07:02.0Z
Start Software Posted on 2009-08-10 14:10:45.0Z
From: Start Software <info@startsoftware.it>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Right click menu
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a802a65$3@forums-3-dub.sybase.com>
Date: 10 Aug 2009 07:10:45 -0700
X-Trace: forums-3-dub.sybase.com 1249913445 10.22.241.152 (10 Aug 2009 07:10:45 -0700)
X-Original-Trace: 10 Aug 2009 07:10:45 -0700, vip152.sybase.com
Lines: 9
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89751
Article PK: 418939

Hello, i would like to add a pair of user defined functions to the menu
that appears when u right click with the mouse on a datawindow.
I'd like to add the insertrow and deleterow features but i havent found
a way to do it yet.

any ideas??

thx in advance
simone


"Paul Horan[Sybase]" <phoran_remove Posted on 2009-08-10 15:50:26.0Z
From: "Paul Horan[Sybase]" <phoran_remove@remove_sybase.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4a802a65$3@forums-3-dub.sybase.com>
Subject: Re: Right click menu
Lines: 25
Organization: Sybase
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a8041c2$2@forums-3-dub.sybase.com>
Date: 10 Aug 2009 08:50:26 -0700
X-Trace: forums-3-dub.sybase.com 1249919426 10.22.241.152 (10 Aug 2009 08:50:26 -0700)
X-Original-Trace: 10 Aug 2009 08:50:26 -0700, vip152.sybase.com
X-Authenticated-User: teamsybase
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89752
Article PK: 418940

Can you describe what you're looking for in a little more detail?

InsertRow() and DeleteRow() are built-in functions for the datawindow
control and the datastore object, so they appear in the script painter. Are
you saying that you also want them to appear in the datawindow painter? Or
is this something you want to happen at runtime in your application, when
the user right clicks on a datawindow?

--
Paul Horan[Sybase]
http://blogs.sybase.com/phoran/

"Start Software" <info@startsoftware.it> wrote in message
news:4a802a65$3@forums-3-dub.sybase.com...
> Hello, i would like to add a pair of user defined functions to the menu
> that appears when u right click with the mouse on a datawindow.
> I'd like to add the insertrow and deleterow features but i havent found a
> way to do it yet.
>
> any ideas??
>
> thx in advance
> simone


Roland Smith [TeamSybase] Posted on 2009-08-10 16:52:59.0Z
From: "Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4a802a65$3@forums-3-dub.sybase.com>
Subject: Re: Right click menu
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
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: <4a80506b$3@forums-3-dub.sybase.com>
Date: 10 Aug 2009 09:52:59 -0700
X-Trace: forums-3-dub.sybase.com 1249923179 10.22.241.152 (10 Aug 2009 09:52:59 -0700)
X-Original-Trace: 10 Aug 2009 09:52:59 -0700, vip152.sybase.com
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89753
Article PK: 418941

When you reply to Paul, please let us know what version of PowerBuilder you
are using.

"Start Software" <info@startsoftware.it> wrote in message
news:4a802a65$3@forums-3-dub.sybase.com...
> Hello, i would like to add a pair of user defined functions to the menu
> that appears when u right click with the mouse on a datawindow.
> I'd like to add the insertrow and deleterow features but i havent found a
> way to do it yet.
>
> any ideas??
>
> thx in advance
> simone


Jeremy Lakeman Posted on 2009-08-11 00:17:15.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Right click menu
Date: Mon, 10 Aug 2009 17:17:15 -0700 (PDT)
Organization: http://groups.google.com
Lines: 17
Message-ID: <2369d424-db16-4aaf-9576-5bc777fa51d9@e18g2000vbe.googlegroups.com>
References: <4a802a65$3@forums-3-dub.sybase.com>
NNTP-Posting-Host: 203.122.242.105
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1249949835 23017 127.0.0.1 (11 Aug 2009 00:17:15 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 11 Aug 2009 00:17:15 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: e18g2000vbe.googlegroups.com; posting-host=203.122.242.105; posting-account=euaBtgoAAAC_vDxfsxmpMKlBxHaHpmRS
User-Agent: G2/1.0
X-HTTP-Via: 1.1 fly.essential.com.au:3128 (squid/2.5.STABLE8), 1.0 asp.essential.intranet:3128 (squid/2.5.STABLE8)
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729),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!newsfeed.news2me.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!e18g2000vbe.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89755
Article PK: 418943


On Aug 10, 11:10 pm, Start Software <i...@startsoftware.it> wrote:
> Hello, i would like to add a pair of user defined functions to the menu
> that appears when u right click with the mouse on a datawindow.
> I'd like to add the insertrow and deleterow features but i havent found
> a way to do it yet.
>
> any ideas??
>
> thx in advance
>     simone

I'm guessing you mean the standard cut / copy / paste menu that
appears when you right click on an editable field?

Your best bet is to completely replace that menu and open your own
menu in the rbuttondown event. You'll need to reimplement each of the
existing actions if you still want them to appear.


Start Software Posted on 2009-08-11 07:07:02.0Z
From: Start Software <info@startsoftware.it>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Right click menu
References: <4a802a65$3@forums-3-dub.sybase.com>
In-Reply-To: <4a802a65$3@forums-3-dub.sybase.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a811896$2@forums-3-dub.sybase.com>
Date: 11 Aug 2009 00:07:02 -0700
X-Trace: forums-3-dub.sybase.com 1249974422 10.22.241.152 (11 Aug 2009 00:07:02 -0700)
X-Original-Trace: 11 Aug 2009 00:07:02 -0700, vip152.sybase.com
Lines: 21
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89756
Article PK: 418944

Start Software ha scritto:

> Hello, i would like to add a pair of user defined functions to the menu
> that appears when u right click with the mouse on a datawindow.
> I'd like to add the insertrow and deleterow features but i havent found
> a way to do it yet.
>
> any ideas??
>
> thx in advance
> simone

I am using PowerBuilder 9.0.3
and sorry for my bad english.
What i want to do is to add some new functions to the window that
appears when i right click on a datawindow object at runtime.
Just like jeremy said, there are already ctrl+c and ctrl+v functions on
that menu. If there isnt another way to add some other custom functions
without having to rebuild the menu myself then jeremy answered my
question :)
thank u so much for the help!