I have a form with a button that has this:
procedure TFrmNewSchedDep.BtnOkCLICK(Sender: TObject);
begin
ModalResult := mrOk;
self.close;
end;When clicked the form closes, but the result is always mrCancel.
Thanks,
Tony

Mailing lists / lazarus / 2002-09
3 messages · 2 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.