Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PageCount property not updating when removing a page...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00462615
Message ID:
00462622
Views:
19
>Hello All,
>
>I have a form method that removes pages from a PageFrame. The method is accessed from a toolbar button or a menu pad. The intermittent problem is the PageCount property does not update when the method is called from the menu. The PageCount does however update properly when called from the toolbar button.
>
>There are no dangling references to the page of any of the page’s controls. From the debugger’s watch window I can see the pages have been destroyed. When I manually set the PageCount property from the watch window I get a Fatal error: Exception code = C0000005.
>
>The method has worked fine for 6 months when called from the toolbar button. I just added the menu pad call and ran into this problem.
>
>Any thoughts?
>
>Running VFP 6.0 SP4 on Windows 2000 and Windows NT.
>
>Thanks,
>Billy D.

Have the menu option run the click() event on the toolbar button.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform