Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inactive activate
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00634685
Message ID:
00634746
Views:
20
Glenn,

Does the Grid have focus while you are doing this? If you are doing this from some other control's method then you are probably pulling focus back to that control and undoing the ActivateCell(). Have you tracked the event flow in the debugger's event logging?

>I am trying to activate a particular cell in a grid using:
>
>oGrid.activatecell(nRow,nCol)
>
>
>Immediately after setting the active cell the grid shows the wrong cell is selected! In fact if I code a debugout to see the activerow, activecolumn, the row is OK but the column is 1. I know that the column I am trying to set is valid. Any ideas?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform