Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CListObjEdit destroys form when deleting last record
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00446559
Message ID:
00447766
Vues:
7
Hello!

Anybody else has any ideas regarding this problem I'm having with cListObjEdit??

P-p-p-p-p-p-p-lease?

Alex

>Hi,
>
>I dropped a cListObjEdit on a form I'm building, and when there is only one record listed in the grid and I hit the delete button on the cListObjEdit, my form is closed.
>
>I've traced things with the debugger and apparently, after the Delete process is completed, the cmdDelete.when event fires, and after it returns, the form's Destroy fires. ARRRGGHHH!!!
>
>Here's a bit of background on the form (aka oddities):
>
>When the form's init fires, it calls the form's New() method, which has a dodefault() and immediately a call to the cListObjEdit's bizobj's NEW() method so that the grid starts with one record by default.
>
>Whenever I attempt to delete that one record, my form disappears.
>
>Ideas anyone?
>
>Thanks
>
>Alex
Low-carb diet not working? Try the Low-food diet instead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform