Hi Mike

I think you need the currentcontrol property of Column1 set to "Img1"

_Ajit Abraham

On 16/04/2012 01:59, Michael Savage wrote:
> I have a table that has an image in it... It shows fine on the form...
> However how can I make a grid column add an image?
>
> I have tried the following:
> WITH .COLUMN1
>           .REMOVEOBJECT("Text1")
>           .CONTROLSOURCE   = "testmenu.barimage"
>           .WIDTH  = 26
>           .Header1.CAPTION = ""
>           .Header1.FONTNAME = "MS Sans Serif"
>           .Header1.ALIGNMENT = 3
>           .RESIZABLE = .F.
>           .MOVABLE = .F.
>           .newOBJECT("Img1","img",'classes.vcx')
>           .Img1.BACKSTYLE = 0
>           .img1.visible=.t.
>           .img1.enabled=.t.
>           .img1.picture=testmenu.barimage
>            .SPARSE = .F.
>       ENDWITH
>
> What do I need to do, to make the images in testmenu.barimage visible in
> the grid?
>
> TIA,
> Mike
>


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to