Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone know how to eliminate 'Control is Read-Only' warn
Message
From
23/04/2001 17:47:29
 
 
To
23/04/2001 17:16:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00498766
Message ID:
00498774
Views:
8
>>I've got a form with a whole bunch of read-only textboxes on it but I want the user to be able to SETFOCUS to a textbox and then trap key strokes (in this case the space bar and arrow keys). The trapping all works fine but I get the annoying 'Control is Read-Only' warning msg. Anyone know how to "disable" it? I don't really want to issue a KEYBOARD command (like KEYBOARD " ") which would "clear" the msg because that may interfere with subsequent key-trapping and it would be a pain to issue CLEAR TYPEAHEAD in this case.
>>
>>TIA,
>>
>>-Arne
>
>
>SET NOTIFY OFF

Yep, that did it! Thanks Craig. Strange though, the VFP documentation specifically says that SET NOTIFY affects 'system messages' and that "System messages are displayed in the graphical (not the character-based) status bar at the bottom of the main Visual FoxPro window." (from MSDN VFP Doc)

Weird huh?

-Arne
arne@synercom-edi.com "There are no absolutes but this one."
President, synercom/edi - Event Ticketing Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform