Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making a forms data ReadOnly
Message
From
09/05/1997 16:41:20
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00031581
Message ID:
00031586
Views:
46
>I have a form that I would like to make the data readonly for one particular user. I would like to pass
>a parameter to the form from a menu like
>"DO FORM myForm WITH .T." and set the cursors in the
>dataenvironment ReadOnly Property to .T. any Ideas as
>where to put this kind of parm. or Is there a better way?
>
>Thanks
>Jon Wilshusen


I would be careful about making your cursors Read-only. This can do some funny things. I have even seen it make the cursors readonly in other data environments in some cases. Another alternative I can think of is to do this...

Thisform.setall('ReadOnly', .T.)

This sets all the objects on the form readonly.

GeneS
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform