Guidance
指路人
g.yi.org
Guidance Forums
/
wxWidgets (wxWindows) in C++
/ How to add a valid character to a wxTextValidator object?
最新
搜索
论坛
Reginald Rexx
STC(宏晶)单片机与电路设计
wxWidgets (wxWindows) in C++
奇瑞QQ车友论坛
生活信息交流与学习角
质量与可靠性
Rapid-Q Basic
FreeBasic
Reginald
Forum
Examples
RapidQ
Forum
Bugs
Examples
Resource
RQ Doc
RQ Intro
System
LeonAutoBackup
Home
Software
App
Lib
RapidQ
Reginald
Upload
Chrononet
回顶部
⇑
Forum List
•
Thread List
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
1.
How to add a valid character to a wxTextValidator object?
#4089
Posted by:
Shixin Zeng
2004-05-10 13:51:22
I want to accept a string in time form(HH:MM:SS).
I tried the following codes, but it doesn't work. It just accept the numeric characters and '-'(I don't know why this character is accepted), but ":" isn't accepted.
wxTextValidator time_val = wxTextValidator(wxFILTER_NUMERIC, &text_time);
wxChar inc[]=wxT(":");
time_val.SetIncludeList(wxStringList(inc));
Thanks in advance.
Shixin Zeng
Forum List
•
Thread List
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥908.00
SRE-PE3H速度继电器转速监控超速欠速失速保护数显转速表测速仪
¥380.00
52mm背光指针式FGM-R52-BR I油量表双福可定制
¥291.00
双福N1H-4A-55转速传感器探头霍尔齿轮测速M16*1免磁铁测高速零速
¥470.00
TMM-R80-BH船用柴油机转速表金属外壳防水抗震背光指针80~90开孔
¥489.00
双福D1H-5A-70双向齿轮传感器M18*1.5霍尔转速方向正反转识别推挽
¥810.00
SRE-PD1N智能速度继电器转速监控NAMUR输入接口带方波脉冲输出
©
Tue 2026-3-3
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0