>>>Hi...
>>>
>>>please, is there a way to setup a grid in vfp9 to look like this:
>>>
>>>item...........................................value
>>>
my first item.....................123,00
>>>by john doe
>>>
my seconditem................43,80
>>>by eleonor two
>>>
my thirdy.............................12,80
>>>by leena leena
>>>
>>
>>Also, you can have containers as controls in some of the columns (or all of them), and then in the containers you can lay the controls any way you like. And with dynamic current control, you can have a set of containers in a single column, and select which one shows up. The only limitation is that all the rows will have the same height.
>
>hello dragan... nice to talk with you again.. thansk for your reply..
>
>hummm.. sounds cool.. but, what property should I setup to display the data as above.. if I have (for instance) two label.. the caption can be something as:
>
>thisform.mygrid.column1.containner1.lblObject1.caption = myalias.itemname
>thisform.mygrid.column1.containner1.lblObject2.caption = myalias.byname
You could use textboxes made to look like labels - flat, no focus, transparent - and you could simply set their controlsources. Then you wouldn't have to worry about setting captions programmatically.