Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make some specific rows Readonly in Grid
Message
 
 
À
17/08/2006 06:52:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01146280
Message ID:
01146321
Vues:
18
>Dear Sir,
>
>I posted this question on www.foxite.com
>Where my dear professor Mr. Borislav Borissov posted following reply, and this work fine for me.
>
>*** AfterRowColChange event of the grid:
>LOCAL lbReadOnly
>lbReadOnly = (add condition here which makes columns ReadOnly)
>this.SetAll([ReadOnly], m.lbReadOnly, [Column])

You don't really need to use SetAll in this case if you want to make all columns readonly. Just set grid's readonly property accordingly.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform