Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids
Message
From
11/10/2007 09:58:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
11/10/2007 09:54:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grids
Miscellaneous
Thread ID:
01260271
Message ID:
01260274
Views:
14
>I have a grid with 6 columns. For some rows, we do not want to see 4 of the columns, but rather we need the 4 separate text boxes/columns replaced with one text box.
>
>For example, the 4 columns might look like this.
>
> xxxxxx 99 999 9,999
> xxxxxx 99 999 9,999
> this row would have free text
> xxxxxx 99 999 9,999
> xxxxxx 99 999 9,999
>
>Can this be done?

Well, sort of. You can have a single column with two container controls. One would have the four textboxes for the four columns, and the other would have one long textbox or editbox. Then in the column's dynamicCurrentControl you'd have an expression which would evaluate to one of the containers, depending on the nature of the record. Don't forget to set .sparse=.f. for that column.

The downside of this approach is that you have only one column.

back to same old

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

Click here to load this message in the networking platform