Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relationships in Grid Control
Message
 
To
24/05/2001 09:54:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00510788
Message ID:
00511669
Views:
18
Kev,

>> >>After the relationship's been set, try MyGrid.SetFocus()
>>Do you mean the "Child" grid, because I have tried clicking on it etc. etc.

No. The "parent" grid. The table that's driving the relationship has to be the active work area for the child table to reflect the relationship.

One other thing you might want to try.
I've had problems with the current record being out of sight. Sometimes when I'm moving things around between two grids, everything will be where its supposed to be but the user is confused because the current record is either above or below the visible pane.

When you press a key, VFP resets the grid so that the "current" record is in the vertical center of the grid.

That's fine while doing development, but a confused user is definately NOT a happy user. I couldn't find an elegent solution, so I
*** hack to force the current row to display, regardless of its position
KEYBOARD CHR(10)
forced a keyboard character.

If anyone's got a better way of handling this, I'd really like to know.

Regards,
Thom
Previous
Reply
Map
View

Click here to load this message in the networking platform