Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid display
Message
 
 
To
23/02/1999 15:09:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00189955
Message ID:
00190785
Views:
10
Clark,

I'm doing fine, working on contract down here in Austin for a few months.

I'm not sure you'll be able to get exactly what you want. Even with using DynamicControl a grid only has a single RowHeight that is used for all rows. So all rows would be 2 high to be able to see the controls, and you might as well use just a container of controls then.

If it's a display only grid you could maybe use a cursor that has "different" kinds of rows. There maybe some other third party grid ActiveX controls that can have variable height rows.

>Actually I thought about dynamic properties but I was thinking too complex trying to do too much at one time. Using a combination of the container as David suggested and DynamicCurrentControl as you suggest shoud allow me to accomplish the task I set uot to do.
>
>Thanks to both !
>
>
>>Hello Clark
>>
>>you can acomplish this quite easly using the Dynamic properties
>>in this case DynamicCurrentControl
>>just drop another instance of textbox into the column then use something like :
>>IIF(!EMPTY(lv_myview.field3),'text2','text1')
>>in the above mentioned property
>>
>>Arnon
>>
>>
>>>How have you been ?
>>You lost me a little here. I can understand how container could combine fields but I still have problem, if field3 is not empty I want to disply fields3 on next line. Let me give you a little more info
>>>
>>>Sample table with data
>>>
>>> field1 field2 field3
>>>recno 1 aaa 111111
>>>recno 2 bbb 222222
>>>recno 3 ccc 333333 test short note upto 80 char
>>>recno 4 ddd 444444
>>>
>>>I want to display like this in grid
>>>
>>>aaa 111111
>>>bbb 222222
>>>ccc 333333
>>>test short note upto 80 char
>>>ddd 444444
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform