Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using lostfocus to validate?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00363607
Message ID:
00363712
Vues:
42
WITH thisform
     IF MDOWN() AND ;
        MWINDOW(.Name) AND ;
        BETWEEN (MROW(.Name,.ScaleMode),.CmdCancel.Top,.CmdCancel.Top+.CmdCancel.Height) AND ;
        BETWEEN (MCOL(.Name,.ScaleMode),.CmdCancel.Left,.CmdCancel.Left+.CmdCancel.Width) 
	
        RETURN
     ENDIF	
ENDWITH
>Ok, good luck. Just a nebulous idea: is there someway to intercept the MOUSEDOWN event like you can with the KEYPRESS event?
>
>Michelle
>
>
>>We've had to do that in all the web pages for our integrated e-commerce solution. It works easily but is a much less effective. The cancel=.t. idea will certainly help, but I'll have to keep searching for the rest.
>
>
>>>Ok, I didn't realize you needed this to work for other buttons, too. One possibility might be to change the strategy and validate all the fields when the user saves. I don't have any other ideas, sorry.
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform