Recent

Author Topic: LAMW: error moving component  (Read 372 times)

simsee

  • Full Member
  • ***
  • Posts: 114
LAMW: error moving component
« on: September 05, 2022, 09:24:15 pm »
Hello everybody. I installed for the first time LAMW on Windows 64bits, using fpcupdeluxe with no significant error messages.

After creating a new project (LAMW [GUI] Android jForm), from the Android Bridges tab I select jButton, but the ide gives me the following error message "error moving component jButton1: jButton".

What could be the problem? A thousand thanks.

jmpessoa

  • Hero Member
  • *****
  • Posts: 2153
Re: LAMW: error moving component
« Reply #1 on: September 06, 2022, 07:37:46 pm »

Hi, simsee!

Maybe fpcupdeluxe don't  install  all stuff need by LAMW ....

ref:

https://forum.lazarus.freepascal.org/index.php/topic,40750.html


Alternatively you can try official LAMW install guide:

https://github.com/jmpessoa/lazandroidmodulewizard

Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

jmpessoa

  • Hero Member
  • *****
  • Posts: 2153
Re: LAMW: error moving component
« Reply #2 on: September 10, 2022, 09:05:24 pm »
Hi, simsee!

maybe I found the "bug"...


Please,  go to file  "LamwDesigner.pas" in LAMW folder  "...\androidmodulewizard\android_wizard\smartdesigner"

and change this line:  [number 5000+]

DraftClassesMap := TDraftControlHash.Create(64);   //old !

to:

DraftClassesMap := TDraftControlHash.Create(128);  //new!


Thank you!

Edited: after the change re-install the package "lazandroidwizardpack.lpk" in the same folder...
« Last Edit: September 11, 2022, 05:35:51 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

TinyPortal © 2005-2018