Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid ReadOnly doesn't affect column's readonly?
Message
De
01/02/2007 16:03:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01191585
Message ID:
01191616
Vues:
10
This message has been marked as a message which has helped to the initial question of the thread.
>>>Hi everybody,
>>>
>>>I have a grid class where ReadOnly property is set to true. I have a form with a grid based on this class. In this grid I have just one column with Sparse = .f. and an EditBox instead of a regular textbox. The user just pointed me to a problem, that he can change any content here. So, does it mean that ReadOnly for the grid doesn't apply to its columns? That's a bit strange.
>>>
>>>Thanks in advance.
>>
>>What about AllowCellSelection = .f.?
>
>The code I showed and put in my base EditBox class doesn't work for some reason. Even setting column's ReadOnly doesn't help. Why Editbox refuses to become readonly in a grid?
>
>BTW, using CA <g>

What happens if you call your code (i.e. set Editbox.Readonly=.t.) within the form, i.e. not in base class?
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform