Solved

richtextbox takes up entire form

Posted on 2006-06-28
2
186 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

830 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