Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture in grid
Message
De
09/04/2007 02:41:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Picture in grid
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01213361
Message ID:
01213361
Vues:
54
Dear Experts

I want to show pictures in grid. The picture path is stored in table field as
thisform.pageframe1.page5.grid3.recordsource=""
select path1;
	from cheqs;
	where bank= (thisform.pageframe1.page5.text6.value);
	into cursor acc2
	
&& path1 is picture path as : abc.bmp, xyz.jpg etc

lni = 0
lnmax =  _tally
select acc2
scan
	pa=path1
	lni = m.lni + 1
	if m.lni > m.lnmax
		exit
	endif
	ax=(sys(5)) + addbs(sys(2003)) + [cheque\] + allt(pa)

&&here I want to show all pictures in thisform.grid1
thisform.grid1.........


endscan
thisform.pageframe1.page5.grid3.refresh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform