473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Can't move controls on form

I have a form that I previously created and put a number of text box
controls on. Everything previously worked. Now when I enter the form ( in
design mode ), I can't move any of the controls to other positions with my
mouse. This is also true of any controls that i add to the form. If i add
a new control, it also can't be moved. I notice that when i hightlite the
control(s) with the mouse, the little boxes in the line surrounding the
control are not filled solid, as they are on other forms. any ideas?
Jul 17 '05 #1
5 18288
This may not be the problem but it's something that
you can check:
There's a hidden setting (Microsoft even hides settings
from porgrammers!) that will cause controls to be
unmoveable. Open the .FRM file in Notepad. If it contains
a line: LockControls = -1
then remove that line.
I have a form that I previously created and put a number of text box
controls on. Everything previously worked. Now when I enter the form in design mode ), I can't move any of the controls to other positions with my
mouse. This is also true of any controls that i add to the form. If i add a new control, it also can't be moved. I notice that when i hightlite the
control(s) with the mouse, the little boxes in the line surrounding the
control are not filled solid, as they are on other forms. any ideas?

Jul 17 '05 #2
that's the problem, thanks.

"mayayana" <ma**********@mindYYspring.com> wrote in message
news:DS******************@newsread2.news.atl.earth link.net...
This may not be the problem but it's something that
you can check:
There's a hidden setting (Microsoft even hides settings
from porgrammers!) that will cause controls to be
unmoveable. Open the .FRM file in Notepad. If it contains
a line: LockControls = -1
then remove that line.
I have a form that I previously created and put a number of text box
controls on. Everything previously worked. Now when I enter the form

in
design mode ), I can't move any of the controls to other positions with my mouse. This is also true of any controls that i add to the form. If i

add
a new control, it also can't be moved. I notice that when i hightlite the control(s) with the mouse, the little boxes in the line surrounding the
control are not filled solid, as they are on other forms. any ideas?


Jul 17 '05 #3
On Tue, 31 Aug 2004 18:30:43 -0700, "Eric Kiernan"
<er*********@cox.net> you typed some letters in random order:
that's the problem, thanks.

"mayayana" <ma**********@mindYYspring.com> wrote in message
news:DS******************@newsread2.news.atl.eart hlink.net...
This may not be the problem but it's something that
you can check:
There's a hidden setting (Microsoft even hides settings
from porgrammers!) that will cause controls to be
unmoveable. Open the .FRM file in Notepad. If it contains
a line: LockControls = -1
then remove that line.
> I have a form that I previously created and put a number of text box
> controls on. Everything previously worked. Now when I enter the form in
> design mode ), I can't move any of the controls to other positions withmy > mouse. This is also true of any controls that i add to the form. If i

add
> a new control, it also can't be moved. I notice that when i hightlitethe > control(s) with the mouse, the little boxes in the line surrounding the
> control are not filled solid, as they are on other forms. any ideas?
>


There is a button on your toolbar to lock/unlock the controls on a
form. It looks like a lock

If the button is not on your toolbar you can create it following this
little howto.
<snip from otherpost>
ISTR I had to do something to get those icons to appear on the toolbar, but I don't remember what it was.


Below is an old post of mine that outlines the procedure...

Rick - MVP

To clarify the Comment/Uncomment Block suggestions...

1) Right click on a blank area of the Command Bar (the one with all
the
icons) and select Customize from the popup menu.

2) Click on the Commands tab and select Edit from the ListBox on the
left.

3) Find the Comment Block icon and text description in the ListBox on
the right. Drag it on to the Command Bar at a location where you want
it
to be.

4) After doing that, the Modify Selection button will become active.
Click it and find the Name entry in the popup menu. Add an ampersand
in
front of the letter that you want to use for an Alt shortcut keystroke
(I picked the first letter - "C"). Hit the Enter key and you will then
be able to comment highlighted blocks of code by either clicking on
the
button or pressing Alt+C.

5) Repeat 3 and 4 above for the Uncomment Block (I chose the "U" for
its
Alt shortcut keystroke).

</snip>

Groetjenz,

Mickey
--
#### gewoan skrieve su ast ut seist ####
Jul 17 '05 #4

"mickey" <mickeyATgruizelgruis.nl> wrote in message
news:e9********************************@4ax.com...
On Tue, 31 Aug 2004 18:30:43 -0700, "Eric Kiernan"
<er*********@cox.net> you typed some letters in random order:
that's the problem, thanks.

"mayayana" <ma**********@mindYYspring.com> wrote in message
news:DS******************@newsread2.news.atl.eart hlink.net...
This may not be the problem but it's something that
you can check:
There's a hidden setting (Microsoft even hides settings
from porgrammers!) that will cause controls to be
unmoveable. Open the .FRM file in Notepad. If it contains
a line: LockControls = -1
then remove that line.

> I have a form that I previously created and put a number of text box > controls on. Everything previously worked. Now when I enter the form in
> design mode ), I can't move any of the controls to other positions with
my
> mouse. This is also true of any controls that i add to the form.
If i add
> a new control, it also can't be moved. I notice that when i hightlitethe
> control(s) with the mouse, the little boxes in the line

surrounding the > control are not filled solid, as they are on other forms. any ideas? >


There is a button on your toolbar to lock/unlock the controls on a
form. It looks like a lock

If the button is not on your toolbar you can create it following this
little howto.
<snip from otherpost>
ISTR I had to do something to get those icons to appear on the

toolbar,
but I don't remember what it was.


Below is an old post of mine that outlines the procedure...

Rick - MVP

To clarify the Comment/Uncomment Block suggestions...

1) Right click on a blank area of the Command Bar (the one with all
the
icons) and select Customize from the popup menu.

2) Click on the Commands tab and select Edit from the ListBox on the
left.

3) Find the Comment Block icon and text description in the ListBox on
the right. Drag it on to the Command Bar at a location where you want
it
to be.

4) After doing that, the Modify Selection button will become active.
Click it and find the Name entry in the popup menu. Add an ampersand
in
front of the letter that you want to use for an Alt shortcut keystroke
(I picked the first letter - "C"). Hit the Enter key and you will then
be able to comment highlighted blocks of code by either clicking on
the
button or pressing Alt+C.

5) Repeat 3 and 4 above for the Uncomment Block (I chose the "U" for
its
Alt shortcut keystroke).

</snip>


Of course you would have to click on Format in the ListBox on the left
at Step #2 and find the Lock icon in the ListBox on the right.

Rick - MVP

Rick - MVP

Jul 17 '05 #5
"mayayana" <ma**********@mindYYspring.com> wrote in message news:<DS******************@newsread2.news.atl.eart hlink.net>...
This may not be the problem but it's something that
you can check:
There's a hidden setting (Microsoft even hides settings
from porgrammers!) that will cause controls to be
unmoveable. Open the .FRM file in Notepad. If it contains
a line: LockControls = -1
then remove that line.


Try Format / Lock Controls
or right-click on the form and select Lock Controls
Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tony | last post by:
hi. using visual studio.net , when i add form object either web form or window forms , i can not move them to the location on the web by draging and droping them. they move but once the mouse...
5
by: Galina | last post by:
Hello I have an Access 2000 application. The form has got a tab with 3 pages. There are several text boxes and command buttons on one page. I need to move them to another page (to free form space...
1
by: simsimlhr | last post by:
We can move the form While mouse is pressed over title bar.If title bar is hide.Then how can we move the form while button is pressed over the client area. Any function Thanx in advance. Qasim...
1
by: John S | last post by:
How can I move controls and set their forecolor and font size in code on the fly?
1
by: David Sagenaut | last post by:
In 2003 VS.NET, I can drag a label control to design view, then I can move the label control around. But in 2005 VS.NET, I cannot move the label control around in design view after I drag a label...
4
by: Montaque [MVP] | last post by:
In VS.NET 2003, we can use CTL+ArrowKey to Move controls placed in the form or CTL+SHIFT+ArrowKey to adjust the size of controls. And the minimun step is one pixel, it is very terrible if you wanna...
0
menayah
by: menayah | last post by:
Hi all, How can i move the controls added to the web form using visual studio 2005? I'm new to VS2005 in VS2003 we just can change the mode of the webform layout.
2
ammoos
by: ammoos | last post by:
Hi friends I couldnt move controls in a user form(ms excel) using keyboard but I can move it by mouse.. I couldnt understand whats the issue.. now I reinstalled ms office 2003 on my machine,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.