Solved

richtextbox takes up entire form

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Use Multiple Forms 4 48
consolidate or create a new vba code for performing tasks 5 63
Validating VB6 Function 19 56
Advice in Xamarin 21 52
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

912 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now