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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only