Placing Objects over a TextBox/RichTextBox

Posted on 2003-03-12
Medium Priority
Last Modified: 2010-05-01
I want to place a line over a richtextbox, but when I draw it over, it is hidden by the richtextbox.  How can I have the line appear on top of the text area?


Question by:SlingBlade
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8122449
As far as I know, the line only draws on the form itself.  It won't go over any control.  You could use 2 richtextboxes, and make the them join with the same coordinates as the line.  That would give the appearance of a line.

Author Comment

ID: 8122557
The line needs to move over the textbox and I don't think VB would accomplish that very smoothly as far as the visual aspect is concerned.  Not to mention the additional programming overhead that would cause.

I think I figured it out.  I am using a picturebox to load a line image and "floating" that over the rich text box


Accepted Solution

SpideyMod earned 0 total points
ID: 8123094
PAQ'd and all 25 points refunded.

Community Support Moderator @Experts Exchange

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month11 days, 4 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question