Sorry, as I still use VFP 5.0
it doesn't support JPG, and thus I use foxhwnd to display JPG/GIF.
For some other reason,
(so many programs were writen on Select-on-Cursor,
which NOT availble at 6.0), I can't upgrade it. :(
do you have another way to do?!
I have test both:
Createobject('image') and Createobject('foxhwnd.foxhwndctrl.1')
Neither of them can fix my problem.
>How about:
>
loImg = CREATEOBJECT('image')
>loImg.Picture = < my jpg path >
>? loImg.Height
>? loImg.width
>
>Cheers,
>
>Andrew
>
>>I use GetPict() or GetFile([JPG]) to get the photo path and load it at
>>a text field, but I need to find out the real dimension(not assign length and width on Foxhwnd.ocx object!) How to maintain the photo ratio is small show?
>>
>>Thank you.
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.