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
掌柜推荐
¥950.00
SRE-PD3H-AC CRS207超速保护继电器速度监控器转速欠速零速报警
¥918.00
双福SRE-PE3H-AC速度继电器转速监控超速保护数显转速表测速仪
¥980.00
SME-PD3H双路冗余输入可编程速度继电器转速监控超速保护厂家直销
¥410.00
PMM-R52-BI指针式压力表带背光52mm金属壳可定制刻度盘logo润滑油
¥397.00
双福N1R-3C-70细齿轮转速传感器M16*1.5*70有源3线非接触测速推挽
¥830.00
双福SRE-AD0H-AC转速脉冲频率电流电压模拟量变送器模块20mA显示
©
Thu 2026-4-2
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0