Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Captions on Command buttons in grid
Message
De
10/05/2005 03:33:42
 
 
À
10/05/2005 03:24:05
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01012363
Message ID:
01012365
Vues:
24
Change the value of yourgrid.sparse

>I'm putting a command button into the controlsource of a grid column. The caption of the button is populated based on a table. The buttons should have different captions based on each record of the table.
>However, currently it is showing the same caption for all the buttons.
>I've also tried to put in codes in the grid's afterrowcolchange event to refresh the captions of each line with sparse property set to .f.. Upon starting the screen, the captions on the button will all show the description of the first record. However, as I scroll down the list, the buttons then show the correct caption.
>If I click on one of the buttons to move to another screen and back, the captions on all rows show the description of the record that I was last at.
>How do I show the correct caption for each record?
>Thanks in advance.
>Yau
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform