Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control is read-only message
Message
From
26/01/2002 12:00:43
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00610963
Message ID:
00611073
Views:
27
This message has been marked as the solution to the initial question of the thread.
...but I'd like to override to display a pop-up to tell the user they need to press the add/new button or the edit button first.


Make your own TextBox Class and use it for your forms.
In the KeyPress Event of the class have a code like the following:
LPARAMETERS nKeyCode, nShiftAltCtrl
IF This.ReadOnly Then
	Wait window Nowait "Press Edit Button First!" && you can use MessageBox() function or some other notification
EndIF
HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform