Article View: borland.public.jbuilder.java.language
Article #19792Re: Key Events
From: Bryan Chalmers
Date: Thu, 18 Dec 1997 00:00
Date: Thu, 18 Dec 1997 00:00
71 lines
2930 bytes
2930 bytes
Did you find any way to do this? I am trying to do something similar. Can anyone help? On Wed, 22 Oct 1997 22:05:33 -0400, Antonio Andreoli <andreoli@videotron.ca> wrote: > >--------------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-- > Regards, Bryan Chalmers Texaco North Sea (UK) Company Aberdeen chalmbr@texaco.com
Technical Details
Message-ID:
<34980afa.8777831@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<344EB0ED.80BB4493@videotron.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,bed9f8b29e1a90ff X-Google-Attributes: gidf74b3,public From: chalmbr@texaco.com (Bryan Chalmers) Subject: Re: Key Events Date: 1997/12/18 Message-ID: <34980afa.8777831@forums.borland.com> X-Deja-AN: 299279559 References: <344EB0ED.80BB4493@videotron.ca> Organization: Texaco North Sea (UK) Company Newsgroups: borland.public.jbuilder.java.language