General information
Category:
Forms & Form designer
Hello Floyd.
There seems to be what I would call a bug in the error trap. If the subform is invoked by the valid event of the higher level form, the local error trap reports an error in the local event and then the debugger presents the local code.
This is not a bug. This is by design and it makes perfect sense. You cannot have a Valid() anywhere in the calling stack. This is because the valid method is used to decide where or not a control is allowed to lose focus. So it makes no sense to set focus to something else before you know whether or not the current control is allowed to lose focus.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only