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
掌柜推荐
¥1,480.00
DRE-AE2H双向测速速度继电器超速欠速转向正反转监视带电压或20mA
¥748.00
D2H-3C-70双向齿轮转速传感器非接触式有源3线正反转识别法兰耐压
¥1,005.00
DRE-PD2H智能双向速度继电器正反转向识别超欠速反转报警反接制动
¥289.00
N1H-7A-55 100齿轮转速传感器速度探头M18*1可测零速高速几万转
¥738.00
D2H-1D-29双向齿轮转速传感器正反转6线差分推挽输出电缆引出
¥333.00
N1H-5A-150转速传感器超长插深霍尔齿轮测速螺纹M18*1.5有源双福
©
Sun 2025-1-19
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0