I use TButtonPanel in my sub-form.
I have some condition to identify my result within the "OKButtonClick" Event.
When OK Button is clicked
if Condition = True >>> close form.
if Condition = False >>> I want the form is still show.
But the problem is that the form is closed for all condition.
How to break the OKButton?