General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only