I have tested that using SEND function with 1024 event, it
triggers the event in the first window even the handle were
of the inherit window
TIA A. Moreno
Bruce Armstrong [TeamSybase]
http://www.teamsybase.com
Sixth Annual Sybase Tools Seminar - April 19 - Minneapolis, MN
http://www.powerobjects.com/seminar/?source=newsgroups
Two new books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups
Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com
ISUG Enhancement Requests
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org
The reason you see the events again in descendants is that the events
cascade through the hierarchy downward. Example: You've coded
pmb_custom01 in an ancestor. You then inherit from this ancestor to
create a descendant object. If you look in the event list, you'll see
a pink square next to pbm_custom01. The pink color indicates that
there is code in the ancestor object for this event. When the event
is triggered on a descendant, the ancestor code will be executed first
and then any descendant script will be executed. In might be to your
benefit to read about event propgation and custom user events in the
help file or the online books. Bruce made a good point, too. Those
pbm_customXX events are archaic now. They're only there for backwards
compatibility. Please read about unmapped events in the help
materials or a PB book.
Larry
On 15 Apr 2004 02:09:02 -0800, Antonio Moreno wrote:
Thank you for your interest
A. Moreno
I am using pb 8.04
lw_WindowReference.TriggerEvent ("EventName")
lw_WindowReference EVENT EventName (parm_list)
Good luck,
Terry [TeamSybase] and Sequel the techno-kitten
Sequel's Sandbox: http://www.techno-kitten.com
Home of PBL Peeper, a free PowerBuilder Developer's Toolkit.
Version 2.2.06 now available at the Sandbox
See the PB Troubleshooting Guide at the Sandbox
^ ^
o o
=*=
TIA
A. moreno
Good luck,
Terry [TeamSybase] and Sequel the techno-kitten