Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug? can anyone confirm/comment?
Message
 
To
21/07/2000 16:21:19
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00395695
Message ID:
00395808
Views:
8
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform