Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Combobox and picture problem...
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement