General information
Category:
The Mere Mortals Framework
>I have a form that has a clistobjedit in it.
>
>Whenever I click on the edit button (which opens a clistobjeditform I created based on the clistobjedit class), if I hit the Cancel button on the clistobjeditForm the record gets deleted from the clistobjedit.
>
>In order for my clistobjeditform not to delete when cancelling out, I had to force the clistobjeditform's uRetVal to .t. before hiding the form. My cmdCancel.click() event looks like this:
>
>ThisForm.uRetVal = .t.
>ThisForm.Hide()
>
>The cmdCancel.click() in the base class (clistobjeditform) is:
>
>ThisForm.uRetVal = .f.
>ThisForm.Hide()
>
>Is this a bug or am I missing something?
>
>Thanks!
>
>Alex
Alex,
Are you editing an existing record or cancelling an add for a new one?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only