I can not duplicate this.
When I pick text from a activex textbox, pick up the Tab key press, dump its contents into another textbox, then move focus to a third textbox, I get no blinking at all. It seems to work fine. I put a bunch of text between them (etc etc), and I do not get blinking.
Except, as combo points out, in the status bar. The status bar blanks when focus is in an ActiveX control.
combo - put a text formfield (or if you prefer, a Forms textbox) into a document. Run:
Code:
MsgBox ActiveDocument.Shapes.Count & _
vbCrLf & vbCrLf & _
ActiveDocument.InlineShapes.Count
Both counts = 0. I am not sure, perhaps in other versions, a formfield textbox is a Shape, or an InlineShape. However, in Word 2002, they appear to be neither a Shape or an InlineShape. Even if you declare both a Shape object, and a InlineShape object and use them (as in a For Each) to run through the collection...there is nothing there. Yet the document HAS textboxes.
Formfield textboxes are their own objects, and can not be converted to either Shapes, or InlineShapes. At least I can not do so. If there is a way, please post some code.
ActiveX textboxes, on the other hand may be converted. However, it is always a bit tricky doing this, as the change from un-anchored to anchored can cause some unforseen effects. Anchored objects, when converted by code, by default move to the top of the current page. So it is always a good idea to include anchor locations when doing a conversion.
Back to this post though. Ricardo, I do not know what to suggest. I do not see why the other instructions would affect anything. Turn off screen refresh and update until the end of your code? I don't know...
Gerry