Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WishList - New Event for PageFrame
Message
De
08/11/1999 15:20:45
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
08/11/1999 15:08:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00285479
Message ID:
00288647
Vues:
21
Fred-

>I have a question. I added the access and assign methods and it seems to work in all but on screen form.

Do you mean you added the methods for the ActivePage property of the pageframe?

It's not clear to me where the error occurs. Do you suspend when the error occurs? Which line of code is the program on?

Have you tried putting a breakpoint on the DO CASE line and step thru? If so, at what point in the program does it occur? Where and what is the code that leads to the error?

>I have added the following code block to the access method of the pageframe.
>
*******************
><b>DO CASE</b>
>	CASE INLIST(THIS.ACTIVEPAGE,1,3)
>		THISFORM.cmdPrint.VISIBLE = .T.
>		
>	CASE This.ActivePage = 2
>		WITH THISFORM.eapages1.page2
>			.grid1.SetFocus()
>			.grid1.ActivateCell(1,1)
>			.page2.grid2
>			.Refresh()
>			.ActivateCell(RECNO([vehiclestatus]),1)
>			.SetFocus()
>		EndWith
>		
>	OTHERWISE
>		THISFORM.cmdPrint.VISIBLE = .F.
>ENDCASE
>*********************
>
>Whenever I test the value of thisform.eapages1.activepage is equal to a number, I get operator/operand mismatch error.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform