Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids, Buttons, and captions
Message
De
07/03/2003 18:21:27
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
07/03/2003 18:10:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00763105
Message ID:
00763114
Vues:
17
David

Create a container with a textbox and a small button next to it. I would put the ... in the button caption and let the textbox display the invoice number.

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform