Graham,
Example on my site that may help. I adapted it from some code I had from
Pamela Thalaker. The image "picture" property is refreshed by assigning a
field view/table value to the property in a user added acces method for the
BackStyle of the container used as a currentcontrol in the grid. The demo
also shows that multi controls can be held in a container for each row in
the grid

www.replacement-software.co.uk/vfp/Picture_in_Grid.zip

Run the init.prg program once you have opened the project and then run the
form Dynamicrows.

Hope it helps.
Dave Crozier



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Graham Brown
Sent: 13 June 2008 12:16
To: [email protected]
Subject: Containers in grids

Hi all
 
I'm working on an employee list screen for a client, the table structure
is simply: -
Path to picture (c:\staff\geoff.jpg)
Name, address, phone etc
Memo
 
What I want to show them is a list of employees with the person's photo
top left, name top right, address underneath the name and memo across
the bottom underneath the picture and address.
 
What I'm thinking is that this will look nice in a grid with an embedded
container to contain the items above. As with all things this is proving
more difficult than I was expecting !
I've created the grid, created the container to hold the picture and
text,  added the container to column(1), set sparse to .t. and
activecontrol to the container. This gives a data type mismatch error.
 
Question is what I'm trying to do possible with a grid and could anyone
give me any pointers please.
 
Thanks
 
Graham 


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
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