Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids, LeftColumn & Visible
Message
De
24/11/2003 02:44:34
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00852223
Message ID:
00852876
Vues:
7
Hi Sergey,

I understand those logic from "Leftcolum is the leftmost visible", and because the grid is not visible there is no column visible, so LeftColumn is not real determind. That's why I don't cry "bug" on this. ::)

All what I wan't was to notice everybody that there is a change in behaviour from 7.0 (where LeftColumn keeps its value on VISIBLE=.F.) to VFP 8.0 where we get those LeftColumn=ColumnCount+1.

It is not that tricky to work around this problem, so I have no problem with.

Agnes

>Agnes,
>
>If you think about it, there're no columns displayed when gris.Visible = .F.. The LeftColumn property value is undetermined at that point and I would expect it to be 0 or Null.
>
>
>>Hi All,
>>
>>this is just for your information.
>>
>>I found a problem with grids in VFP 8.0 SP1 (I do not know if it is in VFP 8.0, but it is not in versions below 8.0)
>>
>>I have a grid with on column.
>>
>>somewhere this grid is refernced like
>>
>>.myGrid.COLUMNS(.myGrid.LeftColumn)
>>
>>
>>If I switch myGrid.Visible to .F. this line fails.
>>I found, that the value of LeftColumn is 2!
>>
>>If I switch Visible back to .t., LeftColumn goes back to 1.
>>
>>On higher numbers of columns it works the same way, for !Visible is LeftColumn = ColumnCount+1.
>>
>>
>>
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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform