Article View: borland.public.jbuilder.java.swing
Article #10901Data Column Edit Masks
From: Robert D. Morse
Date: Wed, 04 Aug 1999 00:00
Date: Wed, 04 Aug 1999 00:00
19 lines
1222 bytes
1222 bytes
Using JBuilder 3.0:
It doesn't appear that dbSwing components pay attention to the
edit/display masks defined in the data columns. Is this true? For
example:
1. An edit/display mask of "99999" will allow ANY character to be
entered (Alphas and numerics)
2. A simple zip code mask like "00000{\'-'9999}" will take an input
string of "123456789" and change it to "12345-789". It seems like the
'-' character placeholder occupies an actual position in the field.
Is there a workaround? I also need masks for social security and phone
numbers. Any help would be appreciated.
Why not use the JBCL controls? They look and behave differently than
Swing/dbSwing controls. They also require 2 tab keys to post and
navigate to the next control.
-robert.
Technical Details
Message-ID:
<37A8BA8F.A250874C@qds.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: 111d45,291aa52001fd3725,start X-Google-Attributes: gid111d45,public From: "Robert D. Morse" <rmorse@qds.com> Subject: Data Column Edit Masks Date: 1999/08/04 Message-ID: <37A8BA8F.A250874C@qds.com> X-Deja-AN: 508950384 Content-Transfer-Encoding: 7bit Organization: QDS Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing