richtextbox takes up entire form

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?
LVL 6
Mach1proAsked:
Who is Participating?
 
Mark_FreeSoftwareConnect With a Mentor Commented:

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
 
lunchbyteCommented:
Try putting the buttons in a frame and RTF control in a different frame. The frame will contain it.


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.