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

Click here to load this message in the networking platform