Article View: borland.public.jbuilder.java.language
Article #20109Key Events
From: Antonio Andreoli
Date: Wed, 22 Oct 1997 00:00
Date: Wed, 22 Oct 1997 00:00
58 lines
2587 bytes
2587 bytes
--------------A4A5F9B4629E0D03FD515C69 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Scenario: We are writing an Inventory Control java app. This app, like most apps of this kind, has many frames with many textfield controls on each frame. Needed: We want to limit the length of the textfield controls. Problem: Sun is aware of a bug in 1.1.x . That bug is that the setcolumns event for a textfield isnt working. And setting the columns through jbuilder's inspector isnt working either. Possible Workaround: In the meantime, I could catch the keypressed event for each control BUT this makes for a lot of code. Very cluttered(but it works). Preferrable Workaround: I would prefer to catch a keypressed event for any control in a given frame. In other words, one event trap for the whole frame. I tried using the various key events on Jbuilder's Inspector for a FRAME but it doesn't work. Can anyone help! Antonio Andreoli andreolia@central.ca Thanks in advance --------------A4A5F9B4629E0D03FD515C69 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <HTML> <B>Scenario</B>: We are writing an Inventory Control java app. This app, like most apps of this kind, has many frames with many textfield controls on each frame. <P><B>Needed:</B> We want to limit the length of the textfield controls. <P><B>Problem:</B> Sun is aware of a bug in 1.1.x . That bug is that the setcolumns event for a textfield isnt working. And setting the columns through jbuilder's inspector isnt working either. <P><B>Possible Workaround:</B> In the meantime, I could catch the keypressed event for each control BUT this makes for a lot of code. Very cluttered(but it works). <P><B>Preferrable Workaround:</B> I would prefer to catch a keypressed event for any control in a given frame. In other words, one event trap for the whole frame. I tried using the various key events on Jbuilder's Inspector for a FRAME but it doesn't work. <P>Can anyone help! <BR>Antonio Andreoli andreolia@central.ca <BR>Thanks in advance</HTML> --------------A4A5F9B4629E0D03FD515C69--
Technical Details
Message-ID:
<344EB0ED.80BB4493@videotron.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,bed9f8b29e1a90ff,start X-Google-Attributes: gidf74b3,public From: Antonio Andreoli <andreoli@videotron.ca> Subject: Key Events Date: 1997/10/22 Message-ID: <344EB0ED.80BB4493@videotron.ca> X-Deja-AN: 282555140 Reply-To: andreoli@videotron.ca Organization: Central Microsystems Inc. Newsgroups: borland.public.jbuilder.java.language