Picture Mask Error Handling in Grid

Comments

2 comments

  • Roy Woll

    You can use the TwwIntl.OnValidationError event and determine your own action on an error there. For instance, you could call the DatabaseError with your own message.  Note that your TwwIntl.connected property must be true.

    For instance...

    procedure TMainDemo.wwIntl1ValidationErrorUsingMask(Sender: TObject;
      Field: TField; var Msg: string; var DoDefault: Boolean);
    begin
      DatabaseError(Field.FieldName + ' bad input');
    end;
    0
    Comment actions Permalink
  • Dan Sheller

    That worked, thank you.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk