Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Msg: The Control is Read-only
Message
From
19/11/1997 20:00:46
 
 
To
17/11/1997 20:57:35
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00060803
Message ID:
00061292
Views:
57
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
Previous
Reply
Map
View

Click here to load this message in the networking platform