Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Name of a grid column
Message
De
27/03/2006 12:02:38
 
 
À
27/03/2006 11:41:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01107983
Message ID:
01108025
Vues:
26
Could you explain how a cell can be "referenced" ?

If the cell has focus, from any method within the control, you can refer to it as This.

If you are trying to determine this in a method outside the grid, the grid still has to have focus for this code to work:
loGrid = Thisform.grdWhatever
FOR EACH loColumn IN loGrid.Columns
  IF loActiveControl.ActiveColumn = loColumn.ColumnOrder
    loControl = EVAL( 'loColumn.'+ loColumn.CurrentControl )
    EXIT
  ENDIF
ENDFOR
Perhaps we would be in a better position to help you here if we know what it was you were trying to do.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform