LostFocus Event Doesn't Fire for ActiveX TextBoxes 
Author Message
 LostFocus Event Doesn't Fire for ActiveX TextBoxes

I'm using a series of ActiveX Textboxes in a Word 2000 document to
provide the user with a small table where they can enter dollar
amounts, and have a total calculate. I used the ActiveX controls,
instead of some of the other options for doing this, so that I could
have greater control over the validation, formatting and calculation
of the controls.

The solution works, except for two problems. (I'll post the other
problem separately.)

The LostFocus event (where I place all of my processing code) fires if
I tab from one textbox to another, but not if I click on another
textbox. Why is this? The first textbox certainly did lose the focus.
Can anyone suggest a way around this? I tried using the Change event,
and various keystroke events, but that causes the processing to run
every time the user hits a key. It works, but the screen does a bit of
flickering after every keystroke, which is less than ideal.

Thanks in advance for any help you are able to provide!

Fri, 31 Dec 2004 08:28:25 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Subform's Form_Current event doesn't fire

2. AfterUpdate and LostFocus Events do not fire

3. Worksheet Change Event - doesn't fire

4. Event fires....and then it doesn't?

5. Workbook_Open Event doesn't fire

6. Change Event Doesn't Fire When a Data Validated Cell Changes

7. OnExit event doesn't fire

8. Workbook_Open event doesn't seem to fire (Excel 97)

9. Form_Load event doesn't fire

10. Resize event doesn't fire

Powered by phpBB® Forum Software © phpBB Group