|
-
July 18th, 2001, 11:54 AM
#1
Form resizing arrow
I have an MDI application with one Main form and 5 child forms. I am not getting the resizing arrow ( when moved the cursor at the ends of the form) for the child forms which facilitates the resizing of the form. I have set the Controlbox property of the each child form to be false so that those buttons do not appear on the form title bar. But the border style of the form is sizable.
Can any body please tell me what is the reason.
Thanks in advance.
Goutam.
-
July 18th, 2001, 12:32 PM
#2
Re: Form resizing arrow
in the MDI form write:
Form1.BorderStyle = 1 ' (1 - Fixed Single)
'(form1-child form)
you can look for more suitable borderstyles in the forms BorderStyle property at design time
----------
The @host is everywhere!
----------
-
July 18th, 2001, 12:40 PM
#3
Re: Form resizing arrow
Hello deghost
Thanks for prompt reply. If set the border style of Form1 to Fixed single then I can not resize the form1 in run time. My requirement is that I should be able to resize the form at run time and I should get the Mouse (double arrow) handle to resize the form. Right now I am able to resize the form but not getting the double arrow mouse pointer when I move the mouse over the borders of the form.
Thanks
Goutam
-
July 19th, 2001, 03:32 PM
#4
Re: Form resizing arrow
I don't quite get you, please write more clearly what do you want: with/without the arrows.
if you want with arrows use Sizable BorderStyle, if you don't want them, use FixedSingle. anyway you can resize the form at run time.
you can also choose both FixedSingle BorderStyle and false ControlBox if that's what you want
----------
The @host is everywhere!
----------
-
July 20th, 2001, 09:04 AM
#5
Re: Form resizing arrow
Hello deghost,
My requirement is as follows.
1)I want the form to be resizable. Hence I have selected the border style of the form to be Sizable. In runtime I am able to resize the form also. This is fine.
2)I want to get the double arrow pointer which indicates that the form is resizable (which you get for any normal window application when the cursor is brought on to the borders of the window). I am not getting this. The mouse pointer/cursor is not getting changed to double arrow pointer from the default cursor (VBarrow)when it is brought on to the borders of the form.
Thanks
Goutam
-
July 21st, 2001, 02:26 PM
#6
Re: Form resizing arrow
This is very strange, if i understood you right this time, you just want the MDIchild form work like a regular form (in the resizing arrows stuff). i tried just to make a new MDI form, an MDIchild form and wrote form1.show (the child). it showed the form with the resizing arrows. you can also resize it at runtime.
try creating a similar simple example and see if it works...
----------
The @host is everywhere!
----------
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
|