Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Msg: The Control is Read-only
Message
 
 
À
17/11/1997 20:57:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00060803
Message ID:
00061292
Vues:
54
I get the message "The control is ReadOnly" when I press a key on the keyboard while the cursor is in a
textbox control in one of a grid column. I make the control ReadOnly, because I don't want the user to edit the
contents of the textbox control. If the user strikes a key while the cursor is in that control, the keypress method
will search for the key pressed by the user within that column.

If I put "return .F." in the When event of the control, the user will not be able to go into that column.

Pls give me any other advice...
Regards,
Andi Hidajat
pkshq@cbn.net.id


>>How can we prevent the message The Control is ReadOnly from appearing on the status bar ?
>>But I still need the status bar to display text from a control's StatusBarText property.
>>
>>Thanks,
>>Andi Hidajat
>>pkshq@cbn.net.id
>Hi Andi.
>
>I don't know of any way to keep that message from appearing. But, if you absolutely hate to see it, don't make the control ReadOnly. Instead, put RETURN .F. in the when event of the control (assuming that it has one)?
>
>Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform