Vote UpVote

hcOPF Dialog Validation

TPersistent.com – Reminder to self, when presenting a dialog for editing an hcOPF object a generic OK button click or action Execute handler is: procedure TfrmObjectDialog.btOKClick(Sender: TObject); var ValidationErrorList: ThcValidationErrorList; begin //switch focus to another TWinControl to ensure the current focused editor //updates it's Subject SelectNext(ActiveControl as TWinControl,True,True); ValidationErrorList := ThcValidationErrorList.Create(); try if hcUIObjectBinder.BoundObject.IsValid(ValidationErrorList) then begin hcUIObjectBinder.BoundObject.Write(osRDBMS,False); ...
Favorite? Off-Topic? Larry Hengen @ 2019-10-01 01:05


Visits: 71
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

MichaƂ Rajewicz
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)