• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 154
  • Last Modified:

Aligning objects in a from

Could anybody explain me why the menu items Format/Align/... are always disabled? I'm using VB5.
  • 2
1 Solution
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

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???
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

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.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now