CausesValidation & Validate() Event in VB6.0 
Author Message
 CausesValidation & Validate() Event in VB6.0

An exercise for you...

Try the example in VB6.0 Help under CausesValidation, but instead of making
both text boxes CausesValidation = True, make Text1 have CausesValidation =
False.

I would have expected Validate() on Text1 to still fire when TABbing from
Text1 to Text2, since Text2.CausesValidation is True, but it does not.
What's going on here?

It seems that the Validate() event only fires if BOTH the control gaining
focus AND the control losing focus have CausesValidation = True. But that's
not what the documentation says.

Or am I missing something?

Confused,

WMB



Sun, 22 Apr 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. INFO: SSTab, Validate Event and the CausesValidation property

2. CausesValidation and Validate event

3. VB6 Validate event bug?

4. VB6 Validate Event

5. Validate Event with MDI project (VB6 Ent)

6. Greentree XGrid's Validate event clash with VB6 - pse help

7. Validate Event in VB6

8. Validate Event (VB6)

9. Validate Event, VB6 bug?

10. How to validate text box contents in validating event as well as assignment

11. Form's validate does not fire usercontrol(inside textbox) validating event

12. Validating, Validated, LostFocus Event Order

 

 
Powered by phpBB® Forum Software