Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
Community
»
Newbie corner
»
how to make an editfield accept only number or date? have any examples in the documentation?
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
Re: how to make an editfield accept only number or date? have any examples in the documentation?
[
message #54983
is a reply to
message #54982
]
Sat, 03 October 2020 19:06
BetoValle
Messages:
204
Registered:
September 2020
Location:
Brasil Valinhos SP
Experienced Member
ops...only number i got it:
modify.surname.SetFilter(OnlyN);
where
int OnlyN(int x){
if((x>=48) && (x<=57)){
return x;
}else{
return false;
}
}
as a date there would have to be a different type of filter to check the position of the number and the characters "/" or "-" delimiting the date.
How do I do that?
Report message to a moderator
[
Message index
]
how to make an editfield accept only number or date? have any examples in the documentation?
By:
BetoValle
on Sat, 03 October 2020 17:56
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
BetoValle
on Sat, 03 October 2020 19:06
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
BetoValle
on Sun, 04 October 2020 03:03
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
BetoValle
on Sun, 04 October 2020 03:10
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
mirek
on Sun, 04 October 2020 09:51
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
BetoValle
on Sun, 04 October 2020 17:01
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
BetoValle
on Mon, 05 October 2020 04:51
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
mirek
on Mon, 05 October 2020 14:34
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
mirek
on Mon, 05 October 2020 14:36
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
BetoValle
on Mon, 05 October 2020 15:15
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
BetoValle
on Mon, 05 October 2020 17:43
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
mirek
on Tue, 06 October 2020 00:33
Re: how to make an editfield accept only number or date? have any examples in the documentation?
By:
BetoValle
on Tue, 06 October 2020 01:54
Previous Topic:
sqlarray and sqlite
Next Topic:
How to load your GridCtrl in background thread
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
U++ and AI
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Sun Aug 24 04:16:52 CEST 2025
Total time taken to generate the page: 0.04395 seconds