Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How prevent VFP message 'This control is read-only'?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00368396
Message ID:
00368641
Views:
28
Glad you got it Nadya. I knew it was one of them, just couldn't remember which. As a rule, I always include the following in my forms:

SET TALK OFF
SET TALK NOWINDOW
SET ECHO OFF
SET DELETED ON
SET SAFETY OFF
SET NOTIFY OFF
SET REPROCESS TO 1 SECOND
SET CENTURY ON
SET EXCLUSIVE OFF
SET MULTILOCKS ON

>Hi Colin,
>
>Set talk off doesn't fix the problem, but SET NOTIFY OFF does.
>
>>Just a WAG, but try SET TALK OFF.
>>
>>>Hi everybody,
>>>
>>>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.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform