Who can tell me how to?

river 2000-04-06 12:17:00
Sorry,I'm useing a traditional Chinese system,so I write my question in Engish.
First,I really thank a friend named billie for his answer,however I still can't solve my question.The help text for TField.CustomConstraint says a
sentence x>0 and x<10 ,I don't understand what the 'x' refer to and how to use the property in program. Who can tell me? By the way,I'm interested in programming and using Delphi now.You can contact me.
E-mail:airone@netease.com
icq:69920630
...全文
118 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
patpat 2000-04-07
  • 打赏
  • 举报
回复
x means nothing , it is just a symbol. it represented the input value.
for exsample:

you write x>0 and x<10 in TField.CustomCostraint, and set the related property to true. then when you set TField.FieldByName('your fieldname ').asinteger:=15, there will raise a error.

5,379

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧