Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CListObjEdit destroys form when deleting last record
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00446559
Message ID:
00447766
Views:
11
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!
Previous
Reply
Map
View

Click here to load this message in the networking platform