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.

What event is fired

3 posts in Objects Last posting was on 2007-12-11 14:21:28.0Z
neil Posted on 2007-12-11 03:10:51.0Z
Sender: 48d0.473aa695.1804289383@sybase.com
From: Neil
Newsgroups: sybase.public.powerbuilder.objects
Subject: What event is fired
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <475dffbb.7f8d.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 10 Dec 2007 19:10:51 -0800
X-Trace: forums-1-dub 1197342651 10.22.241.41 (10 Dec 2007 19:10:51 -0800)
X-Original-Trace: 10 Dec 2007 19:10:51 -0800, 10.22.241.41
Lines: 9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9553
Article PK: 736705

what event is fired with the ff actions:

1. Resizing or moving a column in a Grid Datawindow.

2. Clicking on the minimize button of a window.

Thank in advance for your reply.

Neil


John Strano[Sybase] Posted on 2007-12-11 14:21:28.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <475dffbb.7f8d.1681692777@sybase.com>
Subject: Re: What event is fired
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: surfwc054.sybase.com
X-Original-NNTP-Posting-Host: surfwc054.sybase.com
Message-ID: <475e9ce8$1@forums-1-dub>
Date: 11 Dec 2007 06:21:28 -0800
X-Trace: forums-1-dub 1197382888 192.138.150.54 (11 Dec 2007 06:21:28 -0800)
X-Original-Trace: 11 Dec 2007 06:21:28 -0800, surfwc054.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9555
Article PK: 736709

> 2. Clicking on the minimize button of a window.

Try mapping the pbm_syscommand event.

http://groups.google.com/group/comp.soft-sys.powerbuilder/browse_thread/thread/d75efe7e74e5b49d/17265a301f434e62?lnk=st&q=powerbuilder+trap+minimize#17265a301f434e62

Brad's advise is borne out...

http://groups.google.com/group/powersoft.public.powerbuilder.datawindow/browse_thread/thread/6bc362ecf70ab6df/50b1fc1051ad61c5?lnk=st&q=powerbuilder+grid+resize+column+event+trap#50b1fc1051ad61c5

--
John Strano - Sybase Technology Evangelist

<Neil> wrote in message news:475dffbb.7f8d.1681692777@sybase.com...
> what event is fired with the ff actions:
>
> 1. Resizing or moving a column in a Grid Datawindow.
>
> 2. Clicking on the minimize button of a window.
>
> Thank in advance for your reply.
>
> Neil


Brad Wery[TeamSybase] Posted on 2007-12-11 14:09:34.0Z
From: "Brad Wery[TeamSybase]" <bradweryatgmail.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: What event is fired
References: <475dffbb.7f8d.1681692777@sybase.com>
In-Reply-To: <475dffbb.7f8d.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: mail.protegra.com
X-Original-NNTP-Posting-Host: mail.protegra.com
Message-ID: <475e9a1e$1@forums-1-dub>
Date: 11 Dec 2007 06:09:34 -0800
X-Trace: forums-1-dub 1197382174 139.142.212.65 (11 Dec 2007 06:09:34 -0800)
X-Original-Trace: 11 Dec 2007 06:09:34 -0800, mail.protegra.com
Lines: 22
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9554
Article PK: 736711


Neil wrote:
> what event is fired with the ff actions:
>
> 1. Resizing or moving a column in a Grid Datawindow.
>

No specific event is fired. You would have to look at the lbuttonup and
mousemove event.


> 2. Clicking on the minimize button of a window.
>

The event you're looking for is pbm_syscommand. This site does a good
job at explaining it: http://pbsite.milente.nl/pbtip011.html


> Thank in advance for your reply.
>
> Neil