This is a post I found on Foxite. Courtesy of Dale Dedoroy.

> 1. Drop a container object into your form. Populate it with labels or
textboxes (or whatever control for that matter) that will resemble a
two-line row.
> You can even extend it to several lines more to your heart's content.
> 2. Bind (I mean, the ControlSource/Caption properties of) those
controls (labels/textboxes, etc.) into the table's/cursor's fields.
> 3. Copy (Ctrl + C) the container object and drop (Ctrl + V) it into
the desired grid column.
> 4. Adjust the grid's row height and the concerned column's width so
that all objects you've placed into the container can be seen well.
> 5. Set the column's Sparse prop to .F. and its CurrentControl to the
name of the container object inside it.
> 6. Set the container's (the one outside the grid) Visible prop to .F.
DO NOT erase it, simple HIDE it at runtime. It will serve as your "draft
object" which is handy if you need to modify the content or the
aesthetics of the objects inside the container since editing the
container's content while inside a column can be difficult. 

All appears to work just fine.

Cheers
G
 



_______________________________________________
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