Hi All
how do you copy an image into a memo field?
As was done in the wwonders file in the examples folder of fwh. The program to view that file is xbrimag1.exe
Thank you
Image in MEMO field
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: Image in MEMO field
From what source do you want to copy?
If from file,
If you want to copy an image from some external source (like a webpage), xbrowse makes it simple.
While defining the xbrowse, set oBrw:lCanPaste := .t.
Keep your cursor on the image column of your xbrowse.
Go to external source like a webpage and copy any image.
Come back to xbrowse and press Ctrl+V on the cell.
The image is copied to the memofield.
Using the xbrimag1.prg itself, you can copy images from web or other sources and press ctrl+V to paste the image in the memofield.
If from file,
Code: Select all | Expand
FIELD->IMAGEFIELD := MEMOREAD( "name.jpg" )
While defining the xbrowse, set oBrw:lCanPaste := .t.
Keep your cursor on the image column of your xbrowse.
Go to external source like a webpage and copy any image.
Come back to xbrowse and press Ctrl+V on the cell.
The image is copied to the memofield.
Using the xbrimag1.prg itself, you can copy images from web or other sources and press ctrl+V to paste the image in the memofield.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India