Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Completely stumped
Message
From
31/07/2000 14:34:58
 
 
To
31/07/2000 14:16:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00398904
Message ID:
00398919
Views:
18
When I rightclick() the grid on page1, I execute the following:

thisform.currec = RECNO()
DO CASE
CASE tnBar = 1 &&Add
APPEND BLANK
this.pageframe1.page2.enabled = .T.
this.pageframe1.page1.enabled = .F.
_screen.activeform.closable = .F.
this.pageframe1.activepage = 2

I hit the cancel button on page2 to execute:

tablerevert()
GOTO thisform.currec
thisform.pageframe1.page2.enabled = .F.
thisform.pageframe1.page1.enabled = .T.
thisform.pageframe1.activepage = 1

The activate event of page1 is:

thisform.pageframe1.page1.grdperson.column2.setfocus
_screen.activeform.closable = .T.
thisform.refresh

When I cancel from an edit it works fine, but the pointer never really moved.
If I save an Add, it also works fine.

Thanks for your help
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform