Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cant select Textbox controls with mouse / only {Tab}

Status
Not open for further replies.

kazl

Programmer
Dec 9, 2002
68
GB
Hi There

I apologise in advance if this is something daft but I have been stuck on this since Friday...

I have a program that puts some text boxes, an oleControl (for a Rich TextBox) and the RTF Controls into a window (oWindow).

The problem is, altho all controls are enabled, I can only move between them by pressing Tab and not select them with the mouse (with the exception of the Rich Textbox and OK button)

When I comment out the ole and RTF code the text boxes work normally and I can click to select them but with the Rich Text Box active I can't do this.

Could anyone tell me why could that be please?

Thanks. Kaz.
 
... still working on this. The problem is actually related to the SHAPE controls I used to draw borders around each section on the screen.

When I remove these shapes the controls all work perfectly.

 
afternoon

is it something to do with sendtoback?

is the shape in front of the richtextbox?

just guessing

monkey
 
Yep. Thanks Monkey.

The shapes were at the front. Its all good now.

Kaz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top