Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing JPEGS on reports - how??? - VFP6
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00290870
Message ID:
00292327
Views:
49
>>>>
>>>>Does it works with forms too ? I created a table with a general field and the size of the .fpt file is 104 Mb, while the size of all .tif files is 311 kb (53 files)??? So I created a character field for the path of the file (nm_file) and in the controlsource of the OLE Bound Control I put v_portfolio.nm_file and it is not working. Anything wrong with this ?
>>>>
>>>>Regards,
>>>
>>>Use the Image control in forms and set the picture property to your field name.
>>
>>Thanks John, but I must be doing something wrong. I dropped an Image control in my form, set the Picture property to v_Portfolio.nm_file and got a message "File 'v_Portfolio.nm_file' does not exist". Then I typed =v_Portfolio.nm_file, got no error, but after running the application is not showing any image (yes, I tested if the file exists). Any tips ?
>>
>>Regards,
>Run the form and from the command box try _screen.activeform.image1.picture=allt(myfile.photofield) If it displays, it may just be a need to trim blanks.

I fixed it and it´s working ok now. The problem was with the images itself, not with the control.

Thanks,
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Previous
Reply
Map
View

Click here to load this message in the networking platform