【PB】数据窗口的错误提示不显示(item '' does not pass validation test!)
2012-09-21 23:34
525 查看
数据窗口的错误提示不显示(item '' does not pass validation test!)
在ItemChanged中Return codes:
0 - (Default) Accept the data value
1 - Reject the data value and do not allow focus to change
2 - Reject the data value but allow the focus to change
messagebox()
return 1
在ItemError中Return codes:
0 - (Default) Reject the data value and show an error message box.
1 - Reject the data value with no message box.
2 - Accept the data value.
3 - Reject the data value but allow focus to change.
return 1
在ItemChanged中Return codes:
0 - (Default) Accept the data value
1 - Reject the data value and do not allow focus to change
2 - Reject the data value but allow the focus to change
messagebox()
return 1
在ItemError中Return codes:
0 - (Default) Reject the data value and show an error message box.
1 - Reject the data value with no message box.
2 - Accept the data value.
3 - Reject the data value but allow focus to change.
return 1
相关文章推荐
- 技巧(1)- 数据窗口的错误提示不显示(item '' does not pass validation test!)
- 错误代码: 1449 The user specified as a definer ('root'@'%') does not exist
- ndk编译错误:error: 'override' does not name a type
- python socket send 错误:TypeError: 'str' does not support the buffer interface
- gem5编译错误:'ptrdiff_t' does not name a type 和 build/ALPHA/python/swig/stats_wrap.o
- JNI生成C++头文件,提示错误“找不到‘com.mps.test.HelloWorld'的类文件”
- 错误:error: ISO C++ does not permit 'wxScrolledWindow::sm_eventTable' to be defined as 'MyClass::sm_eventTable'
- 编译错误 --- does not name a type和field `XX' has incomplete type
- Python编译时提示“NameError: name 'Popen' is not defined”及”NameError: name 'PIPE' is not defined“错误的解决
- 两个C++编译错误及解决办法--does not name a type和field `XX' has incomplete type
- simplecursoradapter使用时提示column '_id' does not exist
- 关于使用CursorAdapter()时出现“column '_id' does not exist”错误的说明及解决方案
- 继承QTreeWidgetItem发生error: 'staticMetaObject' is not a member of 'QTreeWidgetItem' 错误
- `QtValidLicenseForCoreModule' does not name a type 错误的解决
- MYSQL操作中错误The user specified as a definer ('root'@'%') does not exist的解决
- Android开发之旅:环境搭建及HelloWorld (AVD无法启动,出现Starting emulator for AVD '2.2' PANIC: Could not open: 错误提示)
- type 'simple Class' does not conform to protocol 'Example Protocol'错误
- 继承QTreeWidgetItem发生error: 'staticMetaObject' is not a member of 'QTreeWidgetItem' 错误
- iOS--错误集锦--'...' does not contain bit code. You must rebuild it with bit code enabled ...
- startx提示错误:“could not open default font 'fixed'” 的解决方法