Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent user seeing some fields in a grid
Message
From
24/08/1999 04:27:44
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00256945
Message ID:
00256947
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform