Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids, Buttons, and captions
Message
De
07/03/2003 18:10:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grids, Buttons, and captions
Divers
Thread ID:
00763105
Message ID:
00763105
Vues:
58
I need to put cmdButtons in a grid. No problem. However, I am having a seriously hard time creating a dynamic caption. Is it possible? For example, I want the button to have an invoice number on it. I have tried a loop
the cmdButton in the only control in column 1

for nRow = 1 to reccount
activatecell(nRow, 1)
cmdButton.caption = cursor.invoice
endfor
...doesn't work.

I added a column, and set the control source to invoice no.
for nRow = 1 to reccount
activatecell(nRow, 1)
cmdButton.caption = column10.text1.value
endfor
...doesn't work.


If only there was a true dynamiccaption property.

DAvid
David
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform