Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LOADPICTURE fo blob pictures
Message
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00953744
Message ID:
00954091
Views:
27
Lisa,

Fabio is asking about loading images from blob filed into ImageList control to use in TreeView, ListView, e.t.c.

>I'm not sure I understand your question.
>
>If they're in a table, you don't have to put them into a temporary file first.
>
>
>* setup, at some point you put them in the table:
>CREATE CURSOR x (onefield w)
>APPEND BLANK
>APPEND MEMO onefield from (GETFILE("gif"))
>
>* so now you want to load them:
>_screen.AddObject("x","image")
>_screen.X.PictureVal = x.onefield
>_screen.x.Visible = .t.
>
>
>
>I understand that you're saying you want to load it into a listbox, fine, but a listbox picture property doesn't take an object reference, right? It takes a filename. (or have I mis-remembered this? it's been a long time <g>)
>
>>L<
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform