Keeping text box on top

RichO

Registered Yoozer
Local time
Yesterday, 18:30
Joined
Jan 14, 2004
Messages
1,036
Simply for decorative purposes, I placed a colored box behind a text box on a form. All is fine except that when the text box loses focus, it disappears behind the colored box and the only way to get focus back to that control is to cycle through the tab order.

Is there a way around this?

Thanks
 
Delete the box, change background color of textbox.
 
Use a rectangle object, instead of a textbox, for decoration.
 
I am using a rectangle object for the decoration, there is an active text box in the center of the colored rectangle that disappears behind the rectangle when it loses focus and you can't click in the center of the rectangle to return to the text box. I do want the back color of the text box to remain white though.
 
Well in A97 I can’t reproduce the problem unless I bring the rectangle to the front in design view. When the rectangle is sent to the back of the text box all is OK.

Are you sure the rectangle has been sent to the back?
Is this some difference between A97 and A2K?

Regards,
Chris.
 
Sorry, what do you mean by "sent to the back"?

I've tried moving the objects around, dropping the text box on top of the rectangle and vice-versa and I get the same result either way.
 
Select the rectangle…go to Format/Send to Back.

That should do it.

Regards,
Chris.
 
That was it! I figured it was something simple but I didn't know to look beyond the properties box.

Thanks Chris
 
You are welcome.

It’s almost always simple… just a complex path to find simplicity.

Hindsight is the only exact science.

Regards,
Chris.
 

Users who are viewing this thread

Back
Top Bottom