Solved

richtextbox takes up entire form

Posted on 2006-06-28
2
188 Views
Last Modified: 2010-04-30
I have midi form with a rich textbox control. I have buttons on the form below the rich control, but when the form opens, the buttons sit ontop of the rich control. What am I missing here?
0
Comment
Question by:Mach1pro
[X]
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
2 Comments
 
LVL 5

Expert Comment

by:lunchbyte
ID: 17002372
Try putting the buttons in a frame and RTF control in a different frame. The frame will contain it.


0
 
LVL 13

Accepted Solution

by:
Mark_FreeSoftware earned 250 total points
ID: 17002462

take a look at the form_resize
(from the form with the richtextbox)


i assume there is some code to resize the richtextbox, like this:
Richtextbox1.move 0,0,me.scalewidth,me.scaleheight

or

richtextbox1.top = 0
richtextbox1.left=0
richtextbox1.width=me.scalewidth
richtextbox1.height=me.scaleheigt



edit that code to take care of the buttons


0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 Month5 days, 15 hours left to enroll

626 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