Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WishList - New Event for PageFrame
Message
From
08/11/1999 15:20:45
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00285479
Message ID:
00288647
Views:
22
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform