Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PROBLEM: Grid changes my currently selected area/alias
Message
 
 
To
16/03/2006 16:45:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01105063
Message ID:
01105100
Views:
35
Hovig,

What I meant is to move processing in the separate DS. The form should have private DS, it's correct, but the processing should be done in its own session. That was our solution, but in our case form with grid called some complex procedures...

I'm not sure if indeed exists a method to check, when alias switches to grid. I'm afraid, there is no way to test it.

I know from experience that grid wants to keep its own alias when focus is on the grid. I don't think there is a way to prevent it.

>All my forms already use a private datasession. The problem is that the current alias has been changed automaticly by anyone of the grid events. Even changing the column width changes the alias automaticly.
>
>There are times when I wan't the grid to have the focus while the user interacts with it but I don't wan't it to automaticly change the alias to its recordsource because another controls event can fire if it was queud by windows or if the user moves the mouse around.
>
>Does anyone know how to prevent the grid from automaticly changing the current alias to its own recordsource?
>
>Or does anyone have an idea on how to detect the automated alias change so I can reset it?
>
>Thanks.
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