Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control is read-only message
Message
De
26/01/2002 12:00:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00610963
Message ID:
00611073
Vues:
28
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!

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform