FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TextBox - numbers only

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
narroweyes



Joined: 29 Jun 2006
Posts: 4
Location: Here

PostPosted: Mon Jul 03, 2006 8:08 am    Post subject: TextBox - numbers only Reply with quote

I have been looking through the Documentation, and there is one thing I can't find. Is there a way to set a text box to accept numbers only without redefining its window procedure? If not, that is a feature that I would like lots. Also, I notice that one thing that makes the documentation much harder to navigate is that I usually can't find properties/functions/things that are inherited from other classes. I remember that one of Java's strong points was its API layout and I know that the creators laid out inheritance very well on paper. Anywho, I know that the documentation is in early stages, just placing thoughts on the table.

Laters,
Zane
_________________
わたしがプログラマだよ!
Back to top
View user's profile Send private message
un_guru



Joined: 14 Sep 2005
Posts: 32

PostPosted: Mon Jul 03, 2006 8:21 am    Post subject: Reply with quote

you can't,
I needed the same thing so I started building a FormatedBox for many formats (number, date,currency ...). It will be availble to download next days ...

you are right about the docs, but I think this is a feature to request from Ddoc.
Back to top
View user's profile Send private message
narroweyes



Joined: 29 Jun 2006
Posts: 4
Location: Here

PostPosted: Mon Jul 03, 2006 8:57 am    Post subject: Reply with quote

thanks a lot!

Zane
_________________
わたしがプログラマだよ!
Back to top
View user's profile Send private message
gekkonier



Joined: 27 Mar 2007
Posts: 28

PostPosted: Tue Mar 27, 2007 7:23 am    Post subject: Reply with quote

okay, a little outdated, but:

does anywhere exists widgets within dfl, that only accepts lets say "int"?
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Thu Mar 29, 2007 10:37 am    Post subject: Reply with quote

I just added page FilterTextBox to the ExampleCode, which shows how to allow/block characters typed into a TextBox.
Back to top
View user's profile Send private message
gekkonier



Joined: 27 Mar 2007
Posts: 28

PostPosted: Mon Apr 02, 2007 5:56 am    Post subject: Reply with quote

Thank you. It's working.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group