Aligning objects in a from

Could anybody explain me why the menu items Format/Align/... are always disabled? I'm using VB5.
kirillAsked:
Who is Participating?
 
InteqamConnect With a Mentor Commented:
Either one of those:

1- you are locking the controls, to unlock them use format/lock controls.

2- you are using source safe and you didn't check out the form to use.

3-you didn't select more than one control

0
 
kirillAuthor Commented:
3rd variant is the right answer. But where is the reason for a such behaviuor of VB? Why I'm not allowed to align only one control?? And what  should I do if I have ONLY ONE control in a form at all???
0
 
InteqamCommented:
Oh i c ,
the format window is used to format more than one control to be in the same width or left or top or to control the spacing etc...

what i know is that there is no alginment for the control it self since you can move it by mouse or by keyboared ,

to move it by keyboard do the following :
- select the control(s)
- press Ctrl
- use arrows
to size it using the KB do:
- select the control(s)
- press Shift
- use arrows

if it moves very slowly try the followin:

-select Tools/Options... from the menu
-select the general tab
-check the "align controls to grid" check box

then repeat the moving and resizing options i described first.

if it is slow too. you can choose Tools/Options... again
select the General Tab
change the grid Points , try to enlarge them

Hope this will help

Yours InTeQaM


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.