Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How prevent VFP message 'This control is read-only'?
Message
From
11/05/2000 00:01:28
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00368396
Message ID:
00368414
Views:
33
Hi Nadya,

Try SET NOTIFY OFF. It scopes to a datasession, so you'll need it in every form with a private datasession or once if you use default DS. I dunno about the beep; maybe SET NOTIFY will get rid of that, too (I don't hear one and I use ReadOnly all the time).

>If I set columns in a grid (or the whole grid itself) to be ReadOnly and then try to type something, I get a message: 'This control is read-only'. I also get beep signal. Today for some reason it starts irritating me. Is there a way to prevent this message from appearing? I tried checkbox.click event (for this particular column it was check box), but with no lack. I was thinking about adding this code into column.click itself, but not sure, it helps. Could you point me in right direction, if it's doable?
>
>Thanks in advance.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform