My form layout window(vb6.0) doesnt show any forms in it,but i want to position my forms..is there any settings i should change?or is there any alternative to position my forms(by coding)?
Positioning forms
Collapse
X
-
Originally posted by vdraceilMy form layout window(vb6.0) doesnt show any forms in it,but i want to position my forms..is there any settings i should change?or is there any alternative to position my forms(by coding)?
I think you are asking to do the forms size and position so try with the StartUpPosition property that will solve the problem.
You can use Height and Width property of form to set the size of form.Last edited by Killer42; Oct 14 '07, 08:35 AM. -
Originally posted by vdraceilI want to position my forms using code and not sizing.
Use this code
Code:Me.Left= Position on left Me.Top= Position on top
ALIComment
-
Originally posted by Killer42Also consider the .Move method. It lets you combine everything into one statement.
But in move form will directly to X and Y positions both but in .Left and .Top user can enter only a single command.
No it can be done by .move also.
.Move is good.
ThanxComment
Comment