J
JCB
A form containing details of a training course contains a text box with
a comma-separated list of types of attendee the course would be
suitable for. This list is derived from a table of courses/attendee
types. All of this is working properly.
When the user clicks on the text box, I want a subform to open to allow
them to edit the list of attendee types for this course. And I can get
that to happen as well.
But when the user then clicks anywhere off the subform, or moves to a
different window, I want the subform to close - in much the same way
that the list of options opens and closes for a combo box on a web
page. This isn't working because the only event I seem to be able to
pick up is the subform's Exit event - at which point the subform still
has focus, and I can't set .Visible = False
Any ideas, please?
a comma-separated list of types of attendee the course would be
suitable for. This list is derived from a table of courses/attendee
types. All of this is working properly.
When the user clicks on the text box, I want a subform to open to allow
them to edit the list of attendee types for this course. And I can get
that to happen as well.
But when the user then clicks anywhere off the subform, or moves to a
different window, I want the subform to close - in much the same way
that the list of options opens and closes for a combo box on a web
page. This isn't working because the only event I seem to be able to
pick up is the subform's Exit event - at which point the subform still
has focus, and I can't set .Visible = False
Any ideas, please?