Solved

Aligning objects in a from

Posted on 1998-12-07
3
148 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

840 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