Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox and picture problem...
Message
De
17/09/2000 13:35:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Combobox and picture problem...
Divers
Thread ID:
00417426
Message ID:
00417426
Vues:
46
Hi all,
I'm trying to draw a picture with several of my SQL controled ComboBox.
I wrote the following code in the GotFocus event:

*!* GotFocus
Local arr_in_stock

Dimension arr_in_stock(1)
Select paperkind from paper where in_stock=.T. into array arr_in_stock

For i=1 to this.listcount
If ascan(arr_in_stock,this.list(i))<>0
Store "graphic\v1.bmp" to This.picture[i]
Endif
Endfor

The picture path is written and saved while the program is in this function, but when the comboactually gets the focus, the linkes are gone.
I think it may be connected with the SQL rowsource, but I'm not sure. I'll appriciate your help,

Many thanks,

Gadi Hutt
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform