Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Grids - Alias Not Correct When Navigating
Message
 
 
To
24/08/2004 15:30:49
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00936081
Message ID:
00936090
Views:
23
>Form with multiple grids. I have a navigation command group that moves the record pointer. I use code in the Click events to set focus and refresh the proper grid depending on the current alias after the pointer is moved. The problem is that even if I select the alias in the AfterRowColChange event of each grid, the alias always reverts back to whichever was the default. So, when I click on my 2nd grid and then click on my navigate button, the pointer is moved in the wrong grid.

I am not sure, what is the code in your naviagation buttons, but in our buttons we operate with DataEnvironment.SelectedAlias (or what is the property?). So, you need to search for this in your class code and perhaps change it in run-time based on what grid you're currently navigating.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform