Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
刷新 int64edit 并获取选定元素。
我有一个 int64edit,当我选择一个值时,我想取回这个值。
我应该使用或覆盖哪种方法?我试图覆盖我使用 ValueStr 获取值的方法“ validate ”,但它没有像我希望的那样工作。一些建议?
您可以将 int64edit 属性AutoDeclaration设置为Yes,然后您可以在需要时在“元素”(表单)范围内访问 valueStr()。
否则 validate() 方法应该没问题,但是,除非您在 super() 之后调用它,否则该值将不正确。