Recent

Author Topic: Can't move controls in the GUI designer!!  (Read 4268 times)

andrewkirsanow

  • Newbie
  • Posts: 2
Can't move controls in the GUI designer!!
« on: May 12, 2013, 11:56:27 pm »
Hi,

I'm new on here, but I am an experienced programmer.  I wanted to start a new project in FreePascal, having been a Delphi user back in the day...  However, I have installed three different versions of Lazarus on my Windows 7 32-bit system, and I just cannot make the mouse move the controls in the form designer!  I have tried 1.0.6, 1.0.8 and the version packaged with the current version of CodeTyphon.  I am now feeling very silly, as I can't find anything on the net about this, which makes me think I'm the only person with this problem!!

Any help would be really appreciated.

Andy.

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Can't move controls in the GUI designer!!
« Reply #1 on: May 13, 2013, 12:31:45 am »
In fact I have experienced this with a TListBox having a TTabSheet as parent few days ago. I had never this before.

I guess that open source projects create more bugs fixing other bug than necessary. The work of fixing bugs itself creates temporary bugs.
« Last Edit: May 13, 2013, 01:45:10 am by typo »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Can't move controls in the GUI designer!!
« Reply #2 on: May 13, 2013, 10:50:15 am »
Quote
I am now feeling very silly, as I can't find anything on the net about this, which makes me think I'm the only person with this problem!!
Maybe, never heard of this problem before. 1.0.8 works fine in my office's XP machine. Try running with --debug-log=log.txt and try again, then examine (or just post here) the contents of log.txt. There might be errors or something.

User137

  • Hero Member
  • *****
  • Posts: 1791
    • Nxpascal home
Re: Can't move controls in the GUI designer!!
« Reply #3 on: May 13, 2013, 01:39:15 pm »
It's a always reproducable bug in Lazarus, and my ticket about it is still unresolved
http://bugs.freepascal.org/view.php?id=23891

Simple fix, focus something other than "left, top, width, height" in Object inspector, before trying to move them. When any of them is focused, it sort of locks editing of that value.

andrewkirsanow

  • Newbie
  • Posts: 2
Re: Can't move controls in the GUI designer!!
« Reply #4 on: May 13, 2013, 02:19:28 pm »
I tried all that as I've seen your ticket, but In my case it made no difference. However, this morning I installed again and run Lazarus for it's first run from the command line. Worked fine straight away! Mine is a user account with admin privilege and I just started the command prompt normally. The only thing I can conclude is that during first run, it needs to access the file system from the current working directory, which isn't set right if simply started from the desktop. I had an issue with the codetyphon installer not working for the same reason!

 

TinyPortal © 2005-2018