[Lazarus] Randomize

2008-12-30 Thread Lv
Randomize seems to be 1 second dependent on the system clock. I cannot remember if this used to be the same in Borland Delphi/Pascal The example below shows a 1 second tick sensitivity to random number creation. Am I missing something? uses unix,crt; VAR dummystring,filename: String;

[Lazarus] Randomize

2008-12-30 Thread Lv
Randomize seems to be 1 second dependent on the system clock. I cannot remember if this used to be the same in Borland Delphi/Pascal The example below shows a 1 second tick sensitivity to random number creation. Am I missing something? uses unix,crt; VAR dummystring,filename: String;

[Lazarus] Call a KOL Form public method from a simple unit

2008-12-30 Thread User
Hi, I want to call a KOL Form public method (procedure PublicMethod; of Unit3) from a simple unit (Unit2) but the public method is not recognized. Why? My code: project1.lpr: { KOL MCK } // Do not remove this line! {$DEFINE KOL_MCK} {$ifdef FPC} {$mode delphi} {$endif} program project1; uses

Re: [Lazarus] Randomize

2008-12-30 Thread andtag
Put randomize before of repeat Lv ha scritto: Randomize seems to be 1 second dependent on the system clock. I cannot remember if this used to be the same in Borland Delphi/Pascal The example below shows a 1 second tick sensitivity to random number creation. Am I missing something? uses

Re: [Lazarus] Randomize

2008-12-30 Thread Michael Van Canneyt
On Tue, 30 Dec 2008, Lv wrote: Randomize seems to be 1 second dependent on the system clock. I cannot remember if this used to be the same in Borland Delphi/Pascal The example below shows a 1 second tick sensitivity to random number creation. Am I missing something? uses unix,crt;

[Lazarus] WinCE and ShowModal: Access violation

2008-12-30 Thread User
Hi, I get the error: Access violation. when I use quickly a TPopupMenu component with this code on the OnClick MenuItem event: procedure TForm1.MenuItem1Click(Sender: TObject); begin Form2 := TForm2.Create (Application); try Form2.ShowModal; finally Form2.Free; end; end; Why? I

Re: [Lazarus] FpGUI Interface - basic TLabel

2008-12-30 Thread Andreas Maier
Does it make sence to implement more things for the fpGUI-Interface at the current state of fpgui? There are a few minor changes I would still like to make to fpGUI Toolkit which will stabilise the API even more, but overall fpGUI's API now has a lot less code-breaking changes

[Lazarus] I've installed Lazarus 0.9.26 on M$ Windowz XP OS -- cannot find app file to run Lazarus!!!

2008-12-30 Thread Peter Williams
Hello Fellow Lazarus users ;-))) Today I downloaded (file #1) Lazarus-0.9.26-fpc-2.2.2-cross-arm-wince-win32 and (file #2) fpc-2.2.2-lazarus-0.9.26-doc-html.tar. I'm using it on my Dad's computer which is a pc with Windowz XP Pro and the latest SP. I ran the Lazarus compiler (file #1) and it

[Lazarus] test

2008-12-30 Thread Martin Friebe
just a test ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Call a KOL Form public method from a simple unit

2008-12-30 Thread User
The solution is to use {$mode delphi} or to use the classic syntax to call object's methods: Form2^.PublicMethod; 2008/12/30 User usuarioanonimomy...@gmail.com: Hi, I want to call a KOL Form public method (procedure PublicMethod; of Unit3) from a simple unit (Unit2) but the public method is

[Lazarus] WinCE and TDBGrid: Bus Error or misaligned data access

2008-12-30 Thread User
I get the error: Bus Error or misaligned data access. when I use quickly a TDBGrid component. Why? I use Lazarus 0.9.26. Best regards. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Rebuild LCL from within IDE on Linux

2008-12-30 Thread Bart
Hi, If I rebuild the LCL (and only the LCL) from within the IDE on Linux (Tools - Configure Build - LCL - Build), then Lazaris says it compiled the LCL fine, but it seems that changes take nof effect. Obviously I'm doing something wrong here, probably its a RTFM question ;-) but I just cannot

Re: [Lazarus] (no subject)

2008-12-30 Thread Reenen Laurie
I was just going to say that... Newer Inno Setup needs it explicitly stated. Not sure why, but it's got something to do with Vista I think... On Wed, Dec 24, 2008 at 9:30 AM, Vincent Snijders vincent.snijd...@gmail.com wrote: 2008/12/24 Alex Kovacic a.kova...@unsw.edu.au: - Hi Vincent