Question

Refresh an int64edit and get selected element.

I have an int64edit, when I select a value I would like to get back this value.

Which method should I use or override ? I tried to override the method " validate " In which I used ValueStr to get the value but it doesn't work as I hoped. some suggestions ?

Was it helpful?

Solution

You could set the int64edit property AutoDeclaration to Yes and then you can access the valueStr() when you need it within the scope of "element" (the form).

Otherwise the validate() method should be fine, however, the value won't be correct unless you call it AFTER the super().

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top