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
掌柜推荐
¥298.00
N1H-9A-55转速传感器齿轮探头霍尔非接触M14*2推挽3线有源脉冲
¥1,080.00
TMM-R100-BH指针式柴油机转速表背光不锈钢外壳脉冲输入双福定制
¥290.00
N1H-7A-55 100齿轮转速传感器速度探头M18*1可测零速高速几万转
¥298.00
N1H-2A-55转速传感器齿轮探头霍尔非接触M14*1.5推挽3线有源脉冲
¥490.00
TMM-R80-BM指针式柴油机发动机转速表可接发电机、Mini-Gen带背光
¥880.00
双福SRE-AD0H转速脉冲频率电流电压模拟量变送器模块4~20mA带显示
©
Fri 2024-3-29
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0