From 44f4cd16ff79a5a8e3db60eccb32a6a7ba8f276a Mon Sep 17 00:00:00 2001 From: OlimilO1402 Date: Sat, 15 Jun 2024 18:14:32 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d7926d3..a723a69 100644 --- a/README.md +++ b/README.md @@ -99,16 +99,16 @@ then we actually show the modal-dialog with Show vbModal ```vb6 Public Function ShowDialog(Obj As Person, Owner As Form) As vbMsgBoxResult Set m_Person = Obj.Clone - Me.Show vbModal, Owner + Me.Show vbModal, Owner ``` in this line the proecdure stops, all events will be done, and at the moment when the dialog will be closed, the next line in this procedure gets executed, now is the time to write all edits to the original object. Now we just have to use the same procedure that was used when the Clone was created named "NewC" ```vb6 Public Function ShowDialog(Obj As Person, Owner As Form) As vbMsgBoxResult Set m_Person = Obj.Clone - UpdateView - Me.Show vbModal, Owner - Obj.NewC m_Person + UpdateView + Me.Show vbModal, Owner + Obj.NewC m_Person End Function ```