Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent Valid firing when clicking outside text/editbox
Message
From
28/05/2005 12:47:54
 
 
To
28/05/2005 05:15:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01018326
Message ID:
01018370
Views:
9
>Hi Herman,
>
>>
>>*** Textbox Valid Event
>>***********************
>>Local array la_MouseObject[1]
>>
>>If mdown()
>>   = AMouseObj( la_MouseObject )
>>   If inlist( upper( la_MouseObject[1].Class ), ;
>>         'FORM', 'LABEL', 'SHAPE', 'LINE', 'CONTAINER' )
>>      Return 0
>>   endif
>>endif
>>
>>*** Do your validation
>>Wait 'Valid Event is fired' window nowait
>>
>
>You're right - not a good solution - a great solution! :)
>
>Works like a charm!
>
>Thanks again for your help,
>
>Malcolm


You're welcome :)
Herman
Previous
Reply
Map
View

Click here to load this message in the networking platform