textbox's exit event

M

mark

Hello.

I have a textbox where a fiscal month name is entered. Based upon that, two
labels are populated. All three of these controls are within a frame control.

Originally, I had a second textbox in the same frame, that could take input.
But then I decided I didn't need/want it, and changed it to a label.

Now, when there is no other tabstop control in the same frame, I've
discovered that the first textbox's exit event doesn't fire.

I proved that by building a very simple form. I started with a blank form,
inserted a frame with one textbox and one label in the frame, and one textbox
outside of the frame.

With that, for the textbox in the frame, the exit event does not fire when I
tab to the second textbox outside of the frame. The first textbox's exit
event does fire when I use the X in the upper right to exit the form.

Why would a textbox's exit event firing be limited like that? Shouldn't it
fire no matter what when the textbox is exited?
 
M

mark

I've accomplished what I need using the AfterUpdate event.

I still don't understand why the timing of the firing of the Exit event for
a textbox would be dependant upon other controls within the same frame,
though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top