Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference to object in a Grid Cell
Message
 
À
13/10/1999 16:28:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00276036
Message ID:
00276122
Vues:
23
Thanks for the respons. That brings the issue of how do I bind a custom control that is not based on a databound contol to the values in the grid?
I have a cursor that contains a list of primary keys that is the recordsource of the grid, I now want the container to refresh or populate itself based on the values for each record.

Thanks (in advance) Again!
Troy

>AFAIK, you can't reference a cell in another row, but you can reference a cell in a different column with the Columns() collection:
>
>THISFORM.Grid.Columns(2).TextBox.Value = "Test"
>How do I get a reference to an object in particular cell on a grid? What I am trying to do is have what looks like a 'datarepeater' control by having a container appear in cells of a grid. The problem is that containers don't seem to honor the databound property and there seems no way to reference a specific cell as you would in excell (oExcel.cell[1,2]...)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform