Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command button in grid
Message
De
24/02/2001 18:31:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00478641
Message ID:
00479254
Vues:
29
vlad
i used your idea about having 3 command buttons in the gird's column and set its pem as follows:-
ControlSource=jsts
CurrentControl=command1
DynamicCurrentControl=jsts
i then created a new method called RefreshButtone4EachRow with codes

if allt(jsts)='HOLD'
thisformset.form1.grdstafflog.column9.currentcontrol=command1
else
if allt(jsts)='APPROVED'
thisformset.form1.grdstafflog.column9.currentcontrol=command2
else
if allt(jsts)=''
thisformset.form1.grdstafflog.column9.currentcontrol=command3
endi
endi
endi
each command button has its own picture
where should i reference the new method in column9? however, only if i set the CC=command3, the column displays the picture correctly. can you guide me further on this solution? much obliged for that and eagerly waiting for your advice. ta
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform