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
•
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
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥1,280.00
双福SDE-PE2H-AC差动转速速度继电器超欠速差速报警打滑监测
¥380.00
52mm背光指针式FGM-R52-BR I油量表双福可定制
¥318.00
N1H-5A-100转速传感器霍尔齿轮非接触式测速螺纹M18*1.5长100有源
¥1,480.00
DRE-AE2H-AC双向转速速度继电器超速欠速正反转保护控制20mA输出
¥410.00
VMM-R52-B直流电压表DC7~25V指针式带背光可定制电压范围
¥470.00
TMM-R80-BH背光指针式转速表船用柴油机发电机用500rpm厂家直销
©
Wed 2024-4-24
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0