Solved

Aligning objects in a from

Posted on 1998-12-07
3
145 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
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
Inteqam earned 20 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now