Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image in Label Form
Message
 
To
01/08/2013 20:06:37
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01579390
Message ID:
01579813
Views:
108
>>>Thank you Luis. Unfortunately, this is VFP 8 and I can't use an expression as a control source for the object (unless, of course, I've missed something in the control?????).
>>>
>>>.........Rich
>>>
>>>>
>>>>>
>>>>With FoxBarcodeQR not need to copy and delete the image file generated.
>>>>
>>>>In the Image control's Label, you must call the method QRBarcodeImage() as shown in the image in http://i3.codeplex.com/download?ProjectName=VFPX&DownloadId=625345 or the attachment file.
>>>>
>>>>In this way, each image file has a unique name generated and saved in a folder in the Windows temporary files, automatically eliminating in the Destroy event of the QRBarcode class.
>>>>
>>>>See the brief documentation: http://vfpx.codeplex.com/wikipage?title=FoxBarcodeQR
>>
>>FoxBarcode and FoxBarcodeQR are compatible with VFP 6.0 and above.
>
>And it is working just fine. The problem is that VFP 8 label picture control only recognizes File and Field as valid options.
>VFP 9 recognizes Image file name, General field name, and Expression or variable name.
>
>Since I'm working with VFP 8 I can't use your suggestion.
>
>I tend to delete temp files automatically when they are no longer needed. I didn't realize your code would do that for me in its destroy method.
>
>Thanks for your help and the heads up.
>
>And thanks for your time to develop this control. It will be very useful for us.

Unfortunately I have no VFP8 to try. What you can do (and it works in VFP9) is to change the file extensions of labels (lbx -> frx and lbt -> frt) and convert it to report, and there the Object dialog box you have to select Expression or variable name. You should also change the call LABEL FORM ... -> REPORT FORM ...

After you comment me if this works in VFP8.

Regards,
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform