Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids & icons
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grids & icons
Divers
Thread ID:
00633979
Message ID:
00633979
Vues:
60
Hi

I have a grid in which I am displaying icons for each different type of order (in this case 3 types). I create a container and place my picture in it and then use a 'gridhook()' function via the dynamicbackcolor property of the column.
Column1.DynamicBackColor=thisform.gridhook()
Column1.ControlSource=invcont.wotype

thisform.gridhook()
Thisform.grdInvcont.Columns(1).typeicon.icon.Picture=icotypes(AT(invcont.wotype,'UGP'))
Return thisform.grdInvcont.Columns(2).Backcolor
Nothing to unusual in that and it displays wonderfully.

Unfortunately, when I click on the icon and then click on another the previous icon displays as the same as the current one. I assume this is because my hook is getting called during the lostfocus phase.

Because all I have is a container with a picture in it I dont have some of the methods other objects have.

The question is what exactly is going wrong and how do I correct this???

regards
Geoff Scott
May all your weeds be wildflowers
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform