Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid column with zero width leaves an ugly line.
Message
From
29/04/2009 00:45:31
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
28/04/2009 09:43:42
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01396614
Message ID:
01396859
Views:
114
Hi Dragan
I always create the columns at runtime. This inherited from a grid highlighting class. I never deal with the PEM Window here. ::)
I do not use scx at all so there is no drag'n'drop and before BINDCONTROLS I even set all controlsources via code. (I have some simple picklist forms that will have changeable datasources too)

anyway one could do things like
.grid.RemoveObject(.grid.columns(8).name)
Agnes


Agnes
>>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'
>
>Shouldn't columns have real names, like colAmount, colSelectButton, colFullName? Makes navigation in PEM window so much faster.
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