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.

Context Menu in editing mode

3 posts in Objects Last posting was on 2005-11-20 14:46:35.0Z
Enrico Posted on 2005-11-11 18:50:36.0Z
Reply-To: "Enrico" <efuoti@hotmail.com>
From: "Enrico" <efuoti@hotmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Context Menu in editing mode
Lines: 10
Organization: N/A
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: host136-27.pool82104.interbusiness.it
X-Original-NNTP-Posting-Host: host136-27.pool82104.interbusiness.it
Message-ID: <4374e7fc@forums-1-dub>
Date: 11 Nov 2005 10:50:36 -0800
X-Trace: forums-1-dub 1131735036 82.104.27.136 (11 Nov 2005 10:50:36 -0800)
X-Original-Trace: 11 Nov 2005 10:50:36 -0800, host136-27.pool82104.interbusiness.it
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8700
Article PK: 735915

Hi,
Can anyone help?
I'm trying to implement a popup menu. Popmenu() works fine, but if you are
in the process of editing e field you only get the standard (cut,copy,
paste.) system menu.
Any idea? Do you think it would be possible to override this menu with my
own popmenu() one?
thanks !!! :-)


ANAND Posted on 2005-11-17 05:51:17.0Z
Sender: 595b.437c16ea.1804289383@sybase.com
From: Anand
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Context Menu in editing mode
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <437c1a55.59af.1681692777@sybase.com>
References: <4374e7fc@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 16 Nov 2005 21:51:17 -0800
X-Trace: forums-1-dub 1132206677 10.22.241.41 (16 Nov 2005 21:51:17 -0800)
X-Original-Trace: 16 Nov 2005 21:51:17 -0800, 10.22.241.41
Lines: 28
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8701
Article PK: 735916

Hi
I tried the below, I created a Popup menu and instantiated
in the
OPEN event of a window (im_pop = Create m_pop).
I placed a single line edit control and also a Edit mask
cntrol.
I placed a code in the rbutton event of both the
controls.The code
is (im_pop.PopMenu(this.x, this.y). Now on running the
application
when i edit any of the controls and right click I am getting
my own Pop up menu and not the system menu.this is the one
you are trying ?, bye for now.

regards
Anand

> Hi,
> Can anyone help?
> I'm trying to implement a popup menu. Popmenu() works
> fine, but if you are in the process of editing e field
> you only get the standard (cut,copy, paste.) system menu.
> Any idea? Do you think it would be possible to override
> this menu with my own popmenu() one?
> thanks !!! :-)
>
>


Enrico Posted on 2005-11-20 14:46:35.0Z
Reply-To: "Enrico" <efuoti@hotmail.com>
From: "Enrico" <efuoti@hotmail.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4374e7fc@forums-1-dub> <437c1a55.59af.1681692777@sybase.com>
Subject: Re: Context Menu in editing mode
Lines: 39
Organization: N/A
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: host136-27.pool82104.interbusiness.it
X-Original-NNTP-Posting-Host: host136-27.pool82104.interbusiness.it
Message-ID: <43808c4b@forums-1-dub>
Date: 20 Nov 2005 06:46:35 -0800
X-Trace: forums-1-dub 1132497995 82.104.27.136 (20 Nov 2005 06:46:35 -0800)
X-Original-Trace: 20 Nov 2005 06:46:35 -0800, host136-27.pool82104.interbusiness.it
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8705
Article PK: 735923

Thank you Anand,
the procedure you have described works with SLE or EM controls as both
controls have their own events, but I was actually referring to an editable
field of a datawindow :-/ . The rbutton event of the datawindow is not
triggered when you are actually editing the field. Do you think there is
something else that could be done?
thank you very much for now.

<Anand> ha scritto nel messaggio news:437c1a55.59af.1681692777@sybase.com...

> Hi
> I tried the below, I created a Popup menu and instantiated
> in the
> OPEN event of a window (im_pop = Create m_pop).
> I placed a single line edit control and also a Edit mask
> cntrol.
> I placed a code in the rbutton event of both the
> controls.The code
> is (im_pop.PopMenu(this.x, this.y). Now on running the
> application
> when i edit any of the controls and right click I am getting
> my own Pop up menu and not the system menu.this is the one
> you are trying ?, bye for now.
>
> regards
> Anand
>
>
>> Hi,
>> Can anyone help?
>> I'm trying to implement a popup menu. Popmenu() works
>> fine, but if you are in the process of editing e field
>> you only get the standard (cut,copy, paste.) system menu.
>> Any idea? Do you think it would be possible to override
>> this menu with my own popmenu() one?
>> thanks !!! :-)
>>
>>