Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement