?
Solved

Aligning objects in a from

Posted on 1998-12-07
3
Medium Priority
?
151 Views
Last Modified: 2010-05-03
Could anybody explain me why the menu items Format/Align/... are always disabled? I'm using VB5.
0
Comment
Question by:kirill
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
Inteqam earned 80 total points
ID: 1448487
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
 

Author Comment

by:kirill
ID: 1448488
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
 
LVL 7

Expert Comment

by:Inteqam
ID: 1448489
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

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question