Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Avoid The control is read-only
Message
 
To
10/08/2007 05:46:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01247261
Message ID:
01247307
Views:
22
>>Hello
>>
>>I am implementing incremental search in a Grid's textbox, the textbox is read only and the textbox's keypressed event handles the search.
>>When I trap the keys strokes, I issue a NODEFAULT and RETURN commands, but still keep receiving the message "The control is read-only" in the status bar or "wait window"
>>
>>How can avoid this message?
>>
>>Thanks,
>>
>>Juan
>
>Make it readwrite.
>Cetin

LMAO!

In all seriousness though, Cetin has a point. Why is the textbox readonly? Why not just set the column to readonly?

If the textbox is a search subclass that you are using elsewhere then make a subclass of it for your grids so you can set readonly = .F.
Previous
Reply
Map
View

Click here to load this message in the networking platform