Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images in a grid
Message
From
22/04/2000 05:52:40
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00362301
Message ID:
00362477
Views:
15
>My grid has VFP Image controls in each of three columns. I can't get any pictures to show up.
>
>The grid columns are bound to a table that stores the path to each image file in each of the three fields that correspond to the three columns in the grid. I want to display a different image in each cell of the grid. I am assigning a different image to each Picture property of each image in the grid.
>
>I've searched the threads but the only thing I've found is a sugestion to use an OLE bound image control and not the regular VFP image control. What exactly do I have to do to get the pictures to appear? If I need an OLE bound image control, where do I get one?
>
>-Joel


Joel,
I saw this one after #2 post :) You know the answer now. There I forgot to mention that you would also set your currentcontrol to added container.

OleBoundcontrol refers to general fields and is a native form control (Activex boundcontrol - Oleboundcontrol, diskette like blue striped icon on form controls toolbar). If you go that way then your images need to be in a general field which I do not suggest most of the time. Anyway to experiment it :
-Create a test form.
-Add testdata!employee to dataenvironment
-Select some fields + photo field in DE
-Drag&drop on form with left button
-Size rowheight, columnwidth
-Check photo fields current control and sparse
-Run form.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform