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
掌柜推荐
¥288.00
双福N1H-4C-70齿轮转速传感器霍尔发动机柴油机测速M16*1长70有源
¥1,580.00
DMM-R100-BV双向转速表背光指针式正反转船用尾轴转速表孔径102
¥1,180.00
双福SRE-AD2N智能速度继电器转速变送器NAMUR输入4~20mA电流输出
¥294.00
双福N1H-5C-70 CRS45齿轮转速传感器柴油机探头M18*1.5六角尾部
¥333.00
N1H-5A-150转速传感器超长插深霍尔齿轮测速螺纹M18*1.5有源双福
¥470.00
TMM-R80-BH发动机转速表带背光脉冲输入金属外壳12000转/分可定制
©
Tue 2026-7-28
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0