|
Home > Archive > FoxPro Help and Support > June 2005 > Re: Pictures on a Form!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: Pictures on a Form!
|
|
| Stefan Wuebbe 2005-06-04, 3:24 am |
|
"Ioannis Stefis" <stefsin@otenet.gr> schrieb im Newsbeitrag
news:uXY7bSKaFHA.1456@TK2MSFTNGP15.phx.gbl...
> VFP9
> I store the path and names of mypictures (jpg type) in a character field of
> a table (f.e. with 10 records).
> I make for the table a simple form with a buttonset using the wizard.
> I put an Image control on the form.
> How can I see the corresponding pictures during the navigation of the form?
One way is to set the image.Picture property in form.Refresh(), for
example. Vfp9 also has the new image.PictureVal property to read a
stream, so that you can store the file content of the pictures itself in a
BLOB field or binary memo, alternatively.
hth
-Stefan
--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------
| |
| Ioannis Stefis 2005-06-05, 1:23 pm |
| With respect to your time, can you give me an example? I prefer to have the
pictures outside the table in another folder, so how can I use the refresh()
method of the form during the navigation record to record.
Thanks in advance
Ioannis
"Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
news:OGye2INaFHA.3808@TK2MSFTNGP14.phx.gbl...
>
> "Ioannis Stefis" <stefsin@otenet.gr> schrieb im Newsbeitrag
> news:uXY7bSKaFHA.1456@TK2MSFTNGP15.phx.gbl...
of[color=darkred]
form?[color=darkred]
>
> One way is to set the image.Picture property in form.Refresh(), for
> example. Vfp9 also has the new image.PictureVal property to read a
> stream, so that you can store the file content of the pictures itself in a
> BLOB field or binary memo, alternatively.
>
>
> hth
> -Stefan
>
>
>
> --
> |\_/| ------ ProLib - programmers liberty -----------------
> (.. ) Our MVPs and MCPs make the Fox run....
> - / See us at www.prolib.de or www.AFPages.de
> -----------------------------------------------------------
>
|
|
|
|
|