Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ready only
Message
From
09/03/2003 09:46:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00763407
Message ID:
00763415
Views:
12
>How can I replace the message
>
> "this control is ready only"
>
> with a message of mine ?

I am not sure, perhaps you can intercept the KeyPress event.

But I want to point out that you can also change property .Enabled = .F. This will make it impossible for the user to click into the control. (This can be a disadvantage: The user can't select text and then select "Edit | Copy". In general, a disabled control can't react to any user input.) It will also appear in disabled colors.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform