Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Avoid The control is read-only
Message
 
À
10/08/2007 05:46:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01247261
Message ID:
01247307
Vues:
24
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform