Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent user seeing some fields in a grid
Message
De
24/08/1999 04:27:44
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00256945
Message ID:
00256947
Vues:
17
Cyril,

You can use many ways:

1. "Soft". In Grid.Init() write
if .not. lIsUserManager
Grid.Columns(nColumn).Visible = .F.
endif

2. "Hard". In Grid.Init() write
if .not. lIsUserManager
Grid.DeleteColumn(nColumn)
endif

3. "Bad". In Grid.Columns(nColumn).Text1.When() write
if .not. lIsUserManager
return .F.
endif
This way bad becouse may cause screen flashing
Regards,
Dmitri Alexandrov
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform