Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making a forms data ReadOnly
Message
De
09/05/1997 16:41:20
 
 
À
09/05/1997 16:26:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00031581
Message ID:
00031586
Vues:
44
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform