[Lazarus] My Lazarus Help Dialog Application.

2008-08-10 Thread Peter Williams
Dear Mattias,

Thank you for your hard work on getting my Help Dialog (e.g. multitab
form) Application to work. Could you please archive the folder
containing the Lazarus code for it (as I don't have a completely
working copy of it). Also, if there is a space character in any of the
filenames or the name of the binary file generated - please remove the
space character.

I would greatly appreciate your help in this matter. *SMILE*

Fond Regards  Best Wishes,
PEW

-- 
Fond Regards,
Peter Eric (aka 'pew') WILLIAMS
from Hobart, Tasmania, Australia -- phone (03) 6236-9675

My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs

(please visit my free website and let me know what you think about it.)
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Error when loading forms in Lazarus - Unknown property: LCLVersion

2008-08-10 Thread Mattias Gaertner
On Sat, 9 Aug 2008 04:16:46 +1000
Peter Williams [EMAIL PROTECTED] wrote:

 Hi Mattias,
 
 I've just spent about 2 hours (approx or even more!!!) using Lazarus
 to try to sort out this problem!
 
 I think that a major problem (for me anyway!) is that I don't
 understand the concepts of the difference between Lazarus project
 (*.lpi) and Lazarus Project source (*.lpr). In my confusion I've
 actually created BOTH in the same folder and using the same units and
 forms and resources. THIS IS A NIGHTMARE { But I'm trying to smile
 about it }

Maybe this helps:
http://wiki.lazarus.freepascal.org/Lazarus_For_Delphi_Users#Projects

 
 Can someone please look at my .lpi or .lpr file(s) and help me to
 compile and run them?!? E.g. I would like to send them as an
 attachment to a person who would be kind enough to help me sort out
 this f*cking mess!!!
 
 Mattias, in the past has been kind enough to receive the files as an
 attachment... and I would be happy if he would like to do that again.
 HINT HINT ;-)))

The files you sent worked for me.

 
[...]


Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Carbon key mapping

2008-08-10 Thread Dominique Louis
Mattias Gaertner wrote:
 This works here too.

Hi Mattias,
   There is something definitately wrong because ever since your change 
and the need to switch to Mac OS X  short-cut scheme, the commands do 
NOT work. I even did a completely clean svn update, so there can not be 
any conflicts at all now.


 Can you try to compile the carbon interface with -dVerboseKeyboard
 (build clean), then compile the rest of the IDE, start IDE and
 press Cmd+C in IDE.

I did this and no Cmd key combinations work, neither does the Enter or 
Backspace key, but all other letters and numbers work fine.

Where does Lazarus store it's settings on Mac OS X. It can't be in 
/usr/local/share/lazarus, because I deleted everything before doing the 
last svn update and my IDE settings still persisted. I think that may be 
the only way for me to get the IDE working in it's most basic form.


Dominique.


___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Carbon key mapping

2008-08-10 Thread Mattias Gaertner
On Sun, 10 Aug 2008 11:34:48 +0100
Dominique Louis [EMAIL PROTECTED] wrote:

 Mattias Gaertner wrote:
  This works here too.
 
 Hi Mattias,
There is something definitately wrong because ever since your
 change and the need to switch to Mac OS X  short-cut scheme, the
 commands do NOT work.

:(
I tested various keyboard layouts and Cmd+C always worked.
I will try to test on other macs.


 I even did a completely clean svn update, so
 there can not be any conflicts at all now.
 
 
  Can you try to compile the carbon interface with -dVerboseKeyboard
  (build clean), then compile the rest of the IDE, start IDE and
  press Cmd+C in IDE.
 
 I did this and no Cmd key combinations work, neither does the Enter
 or Backspace key, but all other letters and numbers work fine.

Sorry for the confusion. I meant:
Start the IDE in the terminal and see the output. Every key press
should generate quite a lot when you compiled with -dVerboseKeyboard.
Please try svn revision 16015.
If you don't get a lot of output, then you started an old IDE or you
have not compiled the LCL clean.

 
 Where does Lazarus store it's settings on Mac OS X. It can't be in 
 /usr/local/share/lazarus, because I deleted everything before doing
 the last svn update and my IDE settings still persisted. I think that
 may be the only way for me to get the IDE working in it's most basic
 form.

~/.lazarus

The ~ stands for your home directory. /Users/username

You can load the key mapping in editor options / key mapping /
choose scheme / Mac OS.


Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Building native Lazarus for ARM on Linux (little-endian)

2008-08-10 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote:
 I'm exploring the capabilities of a small ARM-based system, I've got 
 Debian Etch on it with kernel 2.6.18.
..
 Assembling comctrls
 comctrls.pp(2706) Error: Can't call the assembler, error -1 switching to 
 external assembling
 comctrls.pp(2706) Fatal: There were 2 errors compiling module, stopping
 Fatal: Compilation aborted
 make[1]: *** [alllclunits.ppu] Error 1
 make[1]: Leaving directory `/usr/local/share/lazarus-0.9.24-0/lcl'
 make: *** [lcl] Error 2

The cause of the problem appears to have been lack of memory. The Debian 
installer had created a 90Mb swap partition which was inadequate, I 
rebuilt the system with 1Gb of which I believe around 200Mb was used 
during the Lazarus build (make all).

I believe I've got a good set of binaries out of it but execution fails 
with exceptions. I can't put any more time into this one right now but I 
will revisit at some point.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazarus under windows vista

2008-08-10 Thread Arí Ricardo Ody
I'm trying to install Lazarus 0.9.25 daily snapshot in a notebook that's 
running Windows Vista Home Premium.

The installation ends ok. When I first run Lazarus it says that the path to the 
FPC compiler is not filled. I fill and click OK and I receive an error asking 
for OK or cancel(That one that saids that if I answer OK there will be data 
corruption etc blablabla). I answer OK and give the FPC source path and the 
make path and click OK. When I open Lazarus again the fields are empty and the 
error repeats again and forever.

Is there a way to do the installation under win Vista? Am I making a mistake in 
some place?

Greetings from são paulo – Brazil 

Ricardo

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Recent Graphics changes...

2008-08-10 Thread Marc Weustink
wile64 wrote:

 I changed strategy and I don't load whole picture, I charge what is seen 
 and with DoubleBuffered is great ;)
 
 I have found a solution for the handles probleme, like this :
   PreviewImage:= TLazIntfImage.Create(0, 0);
   PreviewImage.DataDescription:=GetDescriptionFromDevice(0, 0, 0);
   PreviewImage.SetSize(PreviewWidth*32, PreviewHeight*32);
 
 This dont work:
  PreviewImage:= TLazIntfImage.Create(PreviewWidth*32, PreviewHeight*32);

Yes, this way you don't have a device description.

 I do not know if is good, but it works :-)

you can combine
PreviewImage.DataDescription:=GetDescriptionFromDevice(0, 0, 0);
PreviewImage.SetSize(PreviewWidth*32, PreviewHeight*32);
to
PreviewImage.DataDescription:=GetDescriptionFromDevice(
  0, PreviewWidth*32, PreviewHeight*32);

btw, why the *32 ?

Marc
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Recent Graphics changes...

2008-08-10 Thread Marc Weustink
Dominique Louis wrote:
 Dominique Louis wrote:
 I've logged the new TIcon problem under
 http://bugs.freepascal.org/view.php?id=11650
 
 Any further news on when TIcon will be working again?

Before .26 gets released.
I'm working on it, but have a lot of dificulties with masks

Marc


___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Recent Graphics changes...

2008-08-10 Thread Dominique Louis
Marc Weustink wrote:
 Before .26 gets released.
 I'm working on it, but have a lot of dificulties with masks

Thanks for the update Marc. I have one app that won't start due to this 
issue, so I am keen to find out how it is going.


The update is greatly appreciated.


Dominique.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Recent Graphics changes...

2008-08-10 Thread wile64
2008/8/10 Marc Weustink [EMAIL PROTECTED]

 wile64 wrote:

  I changed strategy and I don't load whole picture, I charge what is seen
  and with DoubleBuffered is great ;)
 
  I have found a solution for the handles probleme, like this :
PreviewImage:= TLazIntfImage.Create(0, 0);
PreviewImage.DataDescription:=GetDescriptionFromDevice(0, 0, 0);
PreviewImage.SetSize(PreviewWidth*32, PreviewHeight*32);
 
  This dont work:
   PreviewImage:= TLazIntfImage.Create(PreviewWidth*32, PreviewHeight*32);

 Yes, this way you don't have a device description.

  I do not know if is good, but it works :-)

 you can combine
 PreviewImage.DataDescription:=GetDescriptionFromDevice(0, 0, 0);
PreviewImage.SetSize(PreviewWidth*32, PreviewHeight*32);
 to
PreviewImage.DataDescription:=GetDescriptionFromDevice(
  0, PreviewWidth*32, PreviewHeight*32);


Thanks for this.


 btw, why the *32 ?


Juste for test (width and height of tiles), I change this later...

regards
-- 
Laurent.

If debugging is the art of removing bugs, then programming must be the art
of creating!

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus under windows vista

2008-08-10 Thread Arí Ricardo Ody

I examine the uac status of my win vista account and is it's disabled. Mistery! 

I can't find the reason for Lazrus doesn't update the environment clauses of the IDE as I explained early.

Do someone have a suggestion? A new idea?

Regards

Ricardo


Sun, 10 Aug 2008 21:21:48 +0200, Swen Heinig <[EMAIL PROTECTED]>escreveu:


uac means user account control. Maybe you should try to switch it off.The problem is, that the uac is asking several times for access rights.If a programm is not prepared for the uac you will not see the requestsand the uac blocks the programm. 
One of the differences between Vista and XP is, that also an admindoesn't have a full access to the system (several tasks must beconfirmed through the uac). A solution for the installed programm is touse a link on the desktop (see attachment (german language)). If youenable the option you will get only a request after the start.
There could also be 2 other reasons for a problem - spaces in the pathname and a broken snapshot.

Regards,
Swen


Arí Ricardo Ody schrieb:  
I have administrator rights. Sorry but I couldn't understand what you mean with uac. The trouble persists.regardsRicardoSun, 10 Aug 2008 17:50:18 +0200, Swen Heinig <[EMAIL PROTECTED] /> escreveu:
I could install and run Lazarus under Vista. Do you have admin rights?I guess, that Lazarus needs some adjustments on the uac. But if you are admin you should be on the safe side.Regards,SwenArí Ricardo Ody schrieb:  
I'm trying to install Lazarus 0.9.25 daily snapshot in a notebook that's running Windows Vista Home Premium.The installation ends ok. When I first run Lazarus it says that the path to the FPC compiler is not filled. I fill and click OK and I receive an error asking for OK or cancel(That one that saids that if I answer OK there will be data corruption etc blablabla). I answer OK and give the FPC source path and the make path and click OK. When I open Lazarus again the fields are empty and the error repeats again and forever.Is there a way to do the installation under win Vista? Am I making a mistake in some place?Greetings from são paulo – Brazil Ricardo___Lazarus mailing listLazarus@lazarus.freepascal.orghttp://www.lazarus.freep!
ascal.org/mailman/listinfo/lazarus

  

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] How do I install Linux Kubuntu daily snapshots of Lazarus etc?

2008-08-10 Thread Peter Williams
G'day All Lazarus people, from 'Down Under',

I think that I need to install the Lazarus and FPC 'daily snapshots'
-- since I've encountered a bug in Lazarus 0.9.24 which Mattias tells
me has been fixed in Lazarus 0.9.25 -- and the only way I think I can
get 0.9.25 is by using the daily snapshots of it.

http://wiki.lazarus.freepascal.org/Lazarus_Snapshots_Downloads

I need to say that I'm only a newbie at Linux and even more of a
newbie at Kubuntu. I downloaded the .rpm files (3 of them) earlier
this morning... however, I don't know the exact command to enter at a
'root terminal'. Please refer to the attachment, which is plain text
copy of a 'root terminal' session  it shows that I tried to use the
'rpm' command of Kubuntu... but alas, I was fumbling around in the
dark 'cos I really didn't know the exact command to do this -- e.g.
I'll admit it -- I didn't really know what I was doing! { Hey, until
this morning I didn't even know that there was such a thing as a 'rpm'
command. }

Is it possible to have some kind of 'script' (I think they're called)
which would install these files by simply running the script?!?

Please tell me the *exact* commands which I would need to enter to
install the Lazarus  FPC files.

Best Wishes and Happy Debugging,
PEW   *SMILE*

-- 
Fond Regards,
Peter Eric (aka 'pew') WILLIAMS
from Hobart, Tasmania, Australia -- phone (03) 6236-9675

My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs

(please visit my free website and let me know what you think about it.)
[EMAIL PROTECTED]:/home/user# cd /
[EMAIL PROTECTED]:/# rpm -i 
/home/user/Archives/fpc-src-2.2.2rc-20080810.i386.rpm
error: open of /home/user/Archives/fpc-src-2.2.2rc-20080810.i386.rpm failed: No 
such file or directory
[EMAIL PROTECTED]:/# ls /home/user/Archives/fpc-src-2.2.2rc-20080810.i386.rpm
ls: cannot access /home/user/Archives/fpc-src-2.2.2rc-20080810.i386.rpm: No 
such file or directory
[EMAIL PROTECTED]:/# ls /home/user/Archives/fpc*
/home/user/Archives/fpc-2.2.2rc2-20080810.i386.rpm  
/home/user/Archives/fpc-src-2.2.2rc2-20080810.i386.rpm
/home/user/Archives/fpc_all_i386_deb.tgz
[EMAIL PROTECTED]:/# rpm -i 
/home/user/Archives/fpc-src-2.2.2rc2-20080810.i386.rpm
error: Failed dependencies:
/bin/sh is needed by fpc-src-2.2.2rc2-20080810.i386
/usr/bin/env is needed by fpc-src-2.2.2rc2-20080810.i386
[EMAIL PROTECTED]:/# rpm -i /home/user/Archives/fpc*
/home/user/Archives/fpc_all_i386_deb.tgz: not an rpm package (or package 
manifest): 
[EMAIL PROTECTED]:/# ls -i /home/user/Archives/fpc*
37748913 /home/user/Archives/fpc-2.2.2rc2-20080810.i386.rpm  37748918 
/home/user/Archives/fpc-src-2.2.2rc2-20080810.i386.rpm
37748849 /home/user/Archives/fpc_all_i386_deb.tgz
[EMAIL PROTECTED]:/# rpm -i /home/user/Archives/fpc-2.2.2rc2-20080810.i386.rpm
error: Failed dependencies:
glibc is needed by fpc-2.2.2rc2-20080810.i386
binutils is needed by fpc-2.2.2rc2-20080810.i386
/bin/sh is needed by fpc-2.2.2rc2-20080810.i386
[EMAIL PROTECTED]:/# ls /home/user/Archives/laz*
/home/user/Archives/lazarus_0.9.24-0_i386.deb  
/home/user/Archives/lazarus-0.9.25-20080810.i386.rpm
[EMAIL PROTECTED]:/# rpm -i /home/user/Archives/lazarus-0.9.25-20080810.i386.rpm
error: Failed dependencies:
fpc-src = 2.2.2rc2 is needed by lazarus-0.9.25-20080810.i386
fpc = 2.2.2rc2 is needed by lazarus-0.9.25-20080810.i386
gdk-pixbuf is needed by lazarus-0.9.25-20080810.i386
gtk+ is needed by lazarus-0.9.25-20080810.i386
glibc is needed by lazarus-0.9.25-20080810.i386
gdb is needed by lazarus-0.9.25-20080810.i386
desktop-file-utils is needed by lazarus-0.9.25-20080810.i386
/bin/sh is needed by lazarus-0.9.25-20080810.i386
/bin/bash is needed by lazarus-0.9.25-20080810.i386
/usr/bin/env is needed by lazarus-0.9.25-20080810.i386
/usr/bin/make is needed by lazarus-0.9.25-20080810.i386
libX11.so.6 is needed by lazarus-0.9.25-20080810.i386
libXext.so.6 is needed by lazarus-0.9.25-20080810.i386
libXi.so.6 is needed by lazarus-0.9.25-20080810.i386
libc.so.6 is needed by lazarus-0.9.25-20080810.i386
libc.so.6(GLIBC_2.0) is needed by lazarus-0.9.25-20080810.i386
libc.so.6(GLIBC_2.1) is needed by lazarus-0.9.25-20080810.i386
libdl.so.2 is needed by lazarus-0.9.25-20080810.i386
libdl.so.2(GLIBC_2.0) is needed by lazarus-0.9.25-20080810.i386
libdl.so.2(GLIBC_2.1) is needed by lazarus-0.9.25-20080810.i386
libgdk-1.2.so.0 is needed by lazarus-0.9.25-20080810.i386
libgdk_pixbuf.so.2 is needed by lazarus-0.9.25-20080810.i386
libglib-1.2.so.0 is needed by lazarus-0.9.25-20080810.i386
libgtk-1.2.so.0 is needed by lazarus-0.9.25-20080810.i386
libm.so.6 is needed by lazarus-0.9.25-20080810.i386
libpthread.so.0 is needed by lazarus-0.9.25-20080810.i386
libpthread.so.0(GLIBC_2.0) is needed by lazarus