KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Format property for textinput

 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Wokkeltje
KiXforms Regular
KiXforms Regular


Joined: 12 May 2004
Posts: 39
Location: Torhout, Belgium

PostPosted: Tue Jun 01, 2004 4:07 pm    Post subject: Format property for textinput Reply with quote

Is it possible to add an extra property to all the text input objects?

A sort of a format, like in a lot of programming languages

ex.
* '!' for all uppercases
* 9(10) maximum 10 numeric characters
* x(5) only 5 alphanumeric characters.

In my program I have a textbox that needs to be filled only with capitals.
Back to top
View user's profile Send private message Visit poster's website
Bonji
KiXforms Aficionado
KiXforms Aficionado


Joined: 10 Mar 2003
Posts: 393
Location: Virginia

PostPosted: Tue Jun 01, 2004 5:44 pm    Post subject: Reply with quote

You could use the KiX function UCASE to fix the input behind the scenes. That's a solution if this functionality won't make it into Kixforms.
_________________
-Ben
Back to top
View user's profile Send private message
Sealeopard
KiXforms Aficionado
KiXforms Aficionado


Joined: 05 Mar 2003
Posts: 436
Location: Boston, MA

PostPosted: Wed Jun 02, 2004 2:54 am    Post subject: Reply with quote

You'd have to catch the keypresses via event and only write valid keys into the textbox.
_________________
Jens

'There are two kinds of vessels, submarines and targets.'
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group