Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid column with zero width leaves an ugly line.
Message
From
28/04/2009 02:51:52
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
28/04/2009 01:16:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01396614
Message ID:
01396618
Views:
94
Hi Matt,

it would be usefull to have the VFP Version. Even on such stuff where changes over the years. I rember problems with column.visible in older versions.

Have yous imple tried to remove the columns you do not need ?
.grid.RemoveObject('colum8')
.grid.RemoveObject('colum9')
.grid.RemoveObject('colum10')
Note that this will not change the naming of colum11 but its position on the collection: column(8)!

you might change this
.grid.column11.name = 'column8'
HTH
Agnes


>I have a grid with about 11 columns that I just set the recordsource on the whole grid and let it show all columns from the alias.
>
>Now, I want to "hide" columns 8,9, and 10.
>
>When I set those columns widths to 0, I get this ugly thick line that is from the column being collapsed.
>
>How can I address this?
>
>I tried setting column.Visible=.f., but that just moves column 11 to the place of column 8, and the column 8 data still shows up.
>
>I want 1 - 7 and 11, but without hand-coding the controlsource of each column, hopefully.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform