![]() |
|
phGantTimePackage FAQ 10147How can I make a tree node selected in phGantX? Please note that this article
refers to the phGantTimePackage Jump to article- 2005-04-14 10:59:00 - Email plexityHide Question How can I make a tree node selected, I use 'Selected = True' but it's not doing anything. Example here: Private Sub phGantX_OnDblClickGantArea(ByVal theGant As phGantXControl.IphGantX, ByVal theDataEntity As phGantXControl.IphDataEntity_GantTime) Answer The Selected property works if you use the tree (not recommended, deprecated), but you use the grid (good choice), and then the selection is per cell rather than per row. To select an individual cell you call IphGantX3.SetGridCellSelected(x,y,true/false). But the grid handles multi-select, so there is a difference between select and focus. So in the case above you would go: Private Sub phGantX_OnDblClickGantArea(ByVal theGant As phGantXControl.IphGantX, ByVal theDataEntity As phGantXControl.IphDataEntity_GantTime) theGant.GridCellFocusedX=0 End If
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| (C) 1999-2010 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |