Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using lostfocus to validate?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00363607
Message ID:
00363712
Views:
41
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform