Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange cListObjEditForm behavior
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00395271
Message ID:
00395292
Vues:
10
Good morning James,

>Are you editing an existing record or cancelling an add for a new one?

I just added the record (it's actually in the buffer at this point).

Then I decide to go back to this record and edit it's contents, so I click on the edit button.

Once in the clistobjeditform I click cancel.

Now the record is gone from the buffer (removed from the clistobject).

Thanks!

Alex



>>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,
>
Low-carb diet not working? Try the Low-food diet instead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform