Field validation and highlight that field?

Hi,I have a text on Notes need to be validated, I am using uidoc.gotofield(“fieldName”) to move cursor to that field if the field did not pass the validation. Is that anyway to highlight that field instead of focus the cursor to that field?

Thanks

Subject: Field validation and highlight that field?

Call uidoc.SelectAll