Article View: borland.public.jbuilder.java.api
Article #3308How do you properly cascade events to containing controls?
From: Benjamin Corliss
Date: Sun, 15 Feb 1998 00:00
Date: Sun, 15 Feb 1998 00:00
19 lines
1115 bytes
1115 bytes
I am trying to drag an image around a frame. Yet, when I drag the cursor over another control, the frame does not receive the events. JBuilder uses a different methodology in event handling than I have found in books such as Core Java. For example, in Core Java, to capture a mouseMove event, we have a event function: public boolean mouseMove(Event evt, int x, int y) Return true if the event was handled or return false to let the containing parent get a shot at handling the event. My question is, how do we perform the same thing within the generated event code that the borland IDE creates? Much obliged for all comments, Benjamin
Technical Details
Message-ID:
<6c7eau$lc51@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,829a011eea0b3877,start X-Google-Attributes: gid1089d0,public From: "Benjamin Corliss" <benjamin@ipns.com> Subject: How do you properly cascade events to containing controls? Date: 1998/02/15 Message-ID: <6c7eau$lc51@forums.borland.com> X-Deja-AN: 325320500 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: None Newsgroups: borland.public.jbuilder.java.api