Can't move controls on form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eric Kiernan

    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?


  • mayayana

    #2
    Re: Can't move controls on form

    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.
    [color=blue]
    > 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[/color]
    in[color=blue]
    > 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[/color]
    add[color=blue]
    > 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?
    >
    >[/color]


    Comment

    • Eric Kiernan

      #3
      Re: Can't move controls on form

      that's the problem, thanks.

      "mayayana" <mayaXXyana1a@m indYYspring.com > wrote in message
      news:DS7Zc.1036 0$6o3.2634@news read2.news.atl. earthlink.net.. .[color=blue]
      > 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.
      >[color=green]
      > > 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[/color]
      > in[color=green]
      > > design mode ), I can't move any of the controls to other positions with[/color][/color]
      my[color=blue][color=green]
      > > mouse. This is also true of any controls that i add to the form. If i[/color]
      > add[color=green]
      > > a new control, it also can't be moved. I notice that when i hightlite[/color][/color]
      the[color=blue][color=green]
      > > 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?
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • mickey

        #4
        Re: Can't move controls on form

        On Tue, 31 Aug 2004 18:30:43 -0700, "Eric Kiernan"
        <erickiernan@co x.net> you typed some letters in random order:
        [color=blue]
        >that's the problem, thanks.
        >
        >"mayayana" <mayaXXyana1a@m indYYspring.com > wrote in message
        >news:DS7Zc.103 60$6o3.2634@new sread2.news.atl .earthlink.net. ..[color=green]
        >> 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.
        >>[color=darkred]
        >> > 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[/color]
        >> in[color=darkred]
        >> > design mode ), I can't move any of the controls to other positions with[/color][/color]
        >my[color=green][color=darkred]
        >> > mouse. This is also true of any controls that i add to the form. If i[/color]
        >> add[color=darkred]
        >> > a new control, it also can't be moved. I notice that when i hightlite[/color][/color]
        >the[color=green][color=darkred]
        >> > 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?
        >> >[/color][/color][/color]

        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>
        [color=blue]
        > ISTR I had to do something to get those icons to appear on the[/color]
        toolbar,[color=blue]
        > but I don't remember what it was.[/color]

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

        Comment

        • Rick Rothstein

          #5
          Re: Can't move controls on form


          "mickey" <mickeyATgruize lgruis.nl> wrote in message
          news:e9uaj01g7j 1mof8fe7cdrj603 dv9tna8db@4ax.c om...[color=blue]
          > On Tue, 31 Aug 2004 18:30:43 -0700, "Eric Kiernan"
          > <erickiernan@co x.net> you typed some letters in random order:
          >[color=green]
          > >that's the problem, thanks.
          > >
          > >"mayayana" <mayaXXyana1a@m indYYspring.com > wrote in message
          > >news:DS7Zc.103 60$6o3.2634@new sread2.news.atl .earthlink.net. ..[color=darkred]
          > >> 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[/color][/color][/color]
          box[color=blue][color=green][color=darkred]
          > >> > controls on. Everything previously worked. Now when I enter the[/color][/color][/color]
          form[color=blue][color=green][color=darkred]
          > >> in
          > >> > design mode ), I can't move any of the controls to other[/color][/color][/color]
          positions with[color=blue][color=green]
          > >my[color=darkred]
          > >> > mouse. This is also true of any controls that i add to the form.[/color][/color][/color]
          If i[color=blue][color=green][color=darkred]
          > >> add
          > >> > a new control, it also can't be moved. I notice that when i[/color][/color][/color]
          hightlite[color=blue][color=green]
          > >the[color=darkred]
          > >> > control(s) with the mouse, the little boxes in the line[/color][/color][/color]
          surrounding the[color=blue][color=green][color=darkred]
          > >> > control are not filled solid, as they are on other forms. any[/color][/color][/color]
          ideas?[color=blue][color=green][color=darkred]
          > >> >[/color][/color]
          >
          > 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>
          >[color=green]
          > > ISTR I had to do something to get those icons to appear on the[/color]
          > toolbar,[color=green]
          > > but I don't remember what it was.[/color]
          >
          > 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>[/color]

          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

          Comment

          • Bob Butler

            #6
            Re: Can't move controls on form

            "mayayana" <mayaXXyana1a@m indYYspring.com > wrote in message news:<DS7Zc.103 60$6o3.2634@new sread2.news.atl .earthlink.net> ...[color=blue]
            > 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.[/color]

            Try Format / Lock Controls
            or right-click on the form and select Lock Controls

            Comment

            Working...