Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug? can anyone confirm/comment?
Message
 
À
21/07/2000 16:21:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00395695
Message ID:
00395808
Vues:
9
What happens if you simply set the Column readonly=.T. instead of setting it via the textbox?

>Hi,
>
>create a form class with a 1 column grid
>bind grid and column to a table and field
>in init of the column's textbox put "this.parent.readonly = .T."
>instantiate and show form
>
>here is what I am seeing:
>
>even though the column prop is set to readonly=.t. - the field is editable. Worse - the textbox readonly shows .f. - and even if you programmatically set it to .t., it gets reset to .f. every time it gets focus!!
>
>if you do the exact same thing with a form instead of a form class, it seems to work as expected.
>
>Can anyone verify or comment?
>
>TIA!
>Ken
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform