Link to home
Start Free TrialLog in
Avatar of nvms
nvms

asked on

FlexGrid and TreeView, Force scrolling to show selected item

In both a tree view control and a flexgrid control I want to cross reference nodes and rows, I can programmatically locate the corresponding cross reference between the two views of my data BUT I cannot ‘force’ the 'other' control to scroll up/down so that the cross referenced entry is visible to the user. Any ideas.
ASKER CERTIFIED SOLUTION
Avatar of Jzaltheral
Jzaltheral

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nvms
nvms

ASKER

To easy : )   I didn't realise that SelectedItem was a writeable property, very cool.

I also solved the MSFlexGrid problem with this:
If .RowIsVisible(X) = False Then
  ' Force view !
  .TopRow = .Row
End If

Also very simple,

Thanks again

Stewart