Hi everyone,

I just came across the OnValidate function. Personally, I can't see a use for it as it only 'fires' when you use the Tab key and not the mouse. They do have their reasons for doing this, which is pointed out in the Studio help, but surely if a user is clicking in/on the next logical object in the normal navigate forward path, you would think it would still 'fire'.

The other odd thing about this function, remembering that it only works with the Tab key (so forward navigation), is that you must return False to get it to fail, whereas most require that you return a True for failure, i.e. Validate_Save - if you return True the validation fails.

So, is there a reason why OnValidate uses a False for failure?

If anyone sees a use for this function, I'd like to hear from you as well.