Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture in grid
Message
From
10/10/2012 11:39:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Picture in grid
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01554681
Message ID:
01554681
Views:
68
i have a strange problem with the picture in the grid, my program was earlier working

i have in LOAD
Create Cursor vwnames(Name c(10),picx M NoCPTrans)

Select tbnames
Go Top
Do While Not Eof()
	Lpic1='\test\picture\'+Alltrim(tbnames.Name)+'.jpg'
	Lpic=Filetostr(Lpic1)
	Select vwnames
	Append Blank
	Replace Name With tbnames.Name
	Replace picx With Lpic

	Select tbnames
	Skip
Enddo
METHOD setpicture
thisform.grid1.column1.image1.PictureVal=vwnames.picx

GRID column1 DynamicFont Bold is 

thisform.setpicture()

SPARSE = .f.
this program was working perfectly on a computer with VFP 9 , this computer did not have an internet connection. (could that be the reason ?)

Recently we transferred this to another machine with the same VFP 9, the computer has an internet connection.

the pictures have stopped showing now ?

i wonder if it is an automatic update that has occured ?
Next
Reply
Map
View

Click here to load this message in the networking platform