|
-
Aug 1st, 2000, 04:38 AM
#1
Thread Starter
New Member
Hi,
I'd like to know how to resize and to move a richtextbox in my form during the run-time.
Thanks a lot!
-
Aug 1st, 2000, 05:07 AM
#2
New Member
What do you mean?
I think you can make it by using the properties such as Left,Top,Width,height;and you can also user the move method.
Very glad to see you !
I'm a very begginer!
-
Aug 1st, 2000, 06:21 AM
#3
Thread Starter
New Member
I mean I can't
Originally posted by Netfox
What do you mean?
I think you can make it by using the properties such as Left,Top,Width,height;and you can also user the move method.
Thanks for your answer.
But I put the event "text.move" on mouse move but it just moves a shape and the richtextbox still sticks on the form.
And about resizing it, in fact I would like that when the user add some text in the richtextbox, the box be automatically resized with the right height and width to display all the words.
Thanks for your answer.
-
Aug 1st, 2000, 08:09 AM
#4
Put the following code in the Form_Resize event:
Code:
RichTextBox1.Move 0, 0, Me.ScaleWidth, Me.ScaleHeight
Good luck!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|