Recent

Author Topic: Error when trying to add new button  (Read 2510 times)

stab

  • Full Member
  • ***
  • Posts: 234
Error when trying to add new button
« on: November 12, 2012, 03:57:56 pm »
Hi,

Lazarus:  1.1
FPC:        2.6.0
Platform: Windows 7/64

Succeeded to generate, install and run androidlcl-example on Sony Ericsson Xperia.
Continued to make my own app by copying androidlcl-example,
changing app name in res/strings.xml update bat-files, installed and run, all OK.

Added a new button, tested and all OK.

BUT, when I try to add a OnClickEvent I get following error:

Unable to create new method.
In message window the error is: unit not found: types
and Controls unit opens and cursor set to types in uses clause.

What is wrong? :(

Regards
stab

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Error when trying to add new button
« Reply #1 on: November 12, 2012, 05:29:45 pm »
Rescan FPC source directory

stab

  • Full Member
  • ***
  • Posts: 234
Re: Error when trying to add new button
« Reply #2 on: November 12, 2012, 05:45:19 pm »
Hi Leledumbo,

Thanks for replying.

Unfortunately, no change, same error

/stab %)

 

TinyPortal © 2005-2018