Home > Archive > FoxPro Help and Support > October 2005 > Images On grid!









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 Images On grid!
Ioannis Stefis

2005-10-01, 8:24 pm

Mike I did it, but nothing!

I open the general field with double click, Then I click Edit, InsertObject,
Create from file, Browse.
I tried with .ico, .jpg, .bmp, .gif but nothing.
The grid displays XXXXX instead the picture.

WHERE IS MY CRIME!

Thanks in Advance

Stefis Ioannis




Mike Gagnon

2005-10-02, 7:24 am

1. Create a blank from
2. Put a grid on it and set the columncount to 1
3. Create a new class based on a container
4. Put an oleboundcontrol on the container and resize to the same size of
the container. Save the class.
5. Modify the column1 of the grid and drop the container onto column1 as a
second currentcontrol. Change the currentcontrol to the container.
6. If you are using a general field, in the init of the form put:

THIS.GRID1.COLUMN1.Mypic1.Oleboundcontrol1.ControlSource="myCursor.pic"

7. Change the row height to accomodate the height of the picture.

"Ioannis Stefis" <stefsin@otenet.gr> wrote in message
news:%23E7HuutxFHA.736@tk2msftngp13.phx.gbl...
> Mike I did it, but nothing!
>
> I open the general field with double click, Then I click Edit,
> InsertObject,
> Create from file, Browse.
> I tried with .ico, .jpg, .bmp, .gif but nothing.
> The grid displays XXXXX instead the picture.
>
> WHERE IS MY CRIME!
>
> Thanks in Advance
>
> Stefis Ioannis
>
>
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com