Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inactive activate
Message
 
 
À
19/03/2002 17:03:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00634685
Message ID:
00634746
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform