preventDefaultAction(true)
A layout and widget editor for Wt (C++ web applications)
Brought to you by:
eoinmcmahon,
nigellea
Hi,
I am new DesignerWt. I am trying to prevent anything happening when the is a error. I am using keyWentUp to handle the valiaton and error setting the focus for the field, but <tab> does not seem this event. So tab move to the next field even if it is in error. I want to stop this. I am thinking that preventDefaultAction could be used but not sure how to use it. not sure who owns this and access it in the .cpp code.</tab>
Any help would greatfully appreciated.
Thanks,
Ron