Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid.ReadOnly
Message
De
13/01/2004 03:17:07
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/01/2004 15:29:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00866149
Message ID:
00866257
Vues:
19
>I have a grid where I the grid is Grid1.ReadOnly = .F., and then I set a number of Grid1.Columns(x).ReadOnly = .T. It works great! However, if switch the Grid1.ReadOnly = .T. then to Grid1.ReadOnly = .F., now my Columns(x).ReadOnly = .F. Shouldn't the columns keep their ReadOnly as .T. for the ones I initialize that way?
>
>Any comments would be appreciated!! Thanks in advance! :O)

No they shouldn't. Grid has a hierarchy in its contained elements. Grid itself is the top level container, next column. It means in a way you're doing a SetAll(). You need to set the individual columns' readonly back to .T.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform