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,380.00
SRE-AD2M智能速度继电器欠超速保护转速监控带20mA5V10V模拟输出
¥760.00
SRD-PR1H速度继电器数字技术转速监控超速保护模块风力发电机配件
¥650.00
THM-R80-BH指针转速表小时计带背光1200转1800转3000定制齿数防水
¥1,480.00
DRE-AE2H双向测速速度继电器超速欠速转向正反转监视带电压或20mA
¥1,390.00
SRE-AE3H-AC智能速度继电器转速监控超速保护数显转速表SHANGFO
¥1,160.00
双福SRE-AD1H速度继电器20mA转速电流变送器带显示转速监控模块
©
Sat 2024-10-5
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0