G
Guest
H
I have a user control which contains a picture box (it is to act as a graphical command button). Everything seems Ok except for CausesValidation
When I place the user control ona form it says its CausesValidation property is True (and it still is in runtime) but if I click on the Control when the focus is a control which has code in it Validating event, the validation code does not run
I tried placing a simple picture box on the form and I notice it has no CausesValidation property - although it can be set at design mode. Does the CausesValidation now work for picture box controls and if not how can I get round this
many thanks in advanc
Siobhan
I have a user control which contains a picture box (it is to act as a graphical command button). Everything seems Ok except for CausesValidation
When I place the user control ona form it says its CausesValidation property is True (and it still is in runtime) but if I click on the Control when the focus is a control which has code in it Validating event, the validation code does not run
I tried placing a simple picture box on the form and I notice it has no CausesValidation property - although it can be set at design mode. Does the CausesValidation now work for picture box controls and if not how can I get round this
many thanks in advanc
Siobhan