Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid formatting
Message
From
19/06/2008 22:30:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/06/2008 22:20:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01325580
Message ID:
01325632
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
>>>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform