Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture in grid
Message
De
09/04/2007 11:10:52
 
 
À
09/04/2007 09:02:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01213361
Message ID:
01213450
Vues:
15
Dear Sir,

Now these codes work fine for me.
But my question is: Is it possible to display picture only in image control.
I do not want to add container control in grid column.
I want to drop only image control in grid column and then show picture in it.
lcpath = sys(5) + addbs(sys(2003)) + [cheque\]
select bank,branch,lcpath+path1 as filename ;
	from cheqs;
	where bank= ("MCB");
	into cursor myimagelist
go top

with thisform.grid1
	.recordsource = 'myImageList'
	with .columns(3)
			.addobject('myContainer','Container') 
			.currentcontrol = 'myContainer'
			with .mycontainer
			.addobject('myImage','Image')
			.myimage.visible = .t.
			endwith
		.dynamicbackcolor = 'thisform.fake()'
	endwith
endwith
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform