[Lazarus] wince - system.ppu

2008-10-28 Thread thiel
Hello, (Now I'am talking about the 2.2.3 2.2.2 windows versions of the lazarus installer) I' ve installed lazarus in c:\Programme\lazarus (snapshot from yesterday) and installed also the cross-compiler for arm. But since (I believe) 3 weeks lazarus tells me that it don't find the system.ppu

[Lazarus] Lazarus Custom Tools issue under Windows

2008-10-28 Thread Graeme Geldenhuys
For my fpGUI development with Lazarus IDE, I launch the fpGUI UI Designer by pressing Ctrl+Shift+F12. That shortcut is a custom tools setup and passes the current editor file to fpGUI UI Designer. The UI Designer consists out of three forms. The main form containing the component palette, the

Re: [Lazarus] Lazarus Custom Tools issue under Windows

2008-10-28 Thread Vincent Snijders
2008/10/28 Graeme Geldenhuys [EMAIL PROTECTED]: On Tue, Oct 28, 2008 at 8:52 AM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Under Linux everything works fine - the UI Designer loads the current editor file and displays the form to be edited. Under Windows there is a problem. The main form of

Re: [Lazarus] Lazarus Custom Tools issue under Windows

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 8:52 AM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Under Linux everything works fine - the UI Designer loads the current editor file and displays the form to be edited. Under Windows there is a problem. The main form of the UI Designer doesn't display for some reason,

Re: [Lazarus] Lazarus Custom Tools issue under Windows

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 9:41 AM, Vincent Snijders [EMAIL PROTECTED] wrote: And if you do: p := TProcessUTF8.Create(self); Yup, replaced TProcess with TProcessUTF8 and everything still worked. Lazarus does set process options like pipes etc, but I have no idea how pipes and stuff work. Though

Re: [Lazarus] Lazarus Custom Tools issue under Windows

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 10:31 AM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: [--- ExtToolDialog.pas line 335-} TheProcess.ShowWindow := swoHide; I found the culprit!!! Even when using TProcess, the above line causes the main form of fpGUI UI Designer not to display. Why is that

Re: [Lazarus] Lazarus Custom Tools issue under Windows

2008-10-28 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: On Tue, Oct 28, 2008 at 10:31 AM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: [--- ExtToolDialog.pas line 335-} TheProcess.ShowWindow := swoHide; I found the culprit!!! Even when using TProcess, the above line causes the main

Re: [Lazarus] Lazarus Custom Tools issue under Windows

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 11:08 AM, Mattias Gärtner [EMAIL PROTECTED] wrote: AFAIK swoHide is needed to run tools hidden. For example compile scripts. I guess some further checkboxes are needed to control TProcess flags. That should solve the issue. I'll see if I can create a patch over the

Re: [Lazarus] wince - system.ppu

2008-10-28 Thread Henry Vermaak
On 28/10/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I would love it if there would be also a linux wince crosscompiler ... this might not be that hard to build. you can use the binutils provided by the cegcc project. henry ___ Lazarus mailing

Re: [Lazarus] 0.925 editor of the Chinese characters overlap

2008-10-28 Thread peng
Now the situation is: Lazarus 0.926 on Windows XP chinese (zh_CN) . Chinese characters overlap in editor, Temporary solution is here: Environment》Editor Options…》Display》Default editor font… (change other font). The ScreenPrint can see here: http://pengtu.net/wp2/pc/lazarus-0926-zh

[Lazarus] error: free Pascal sources not found (at startup)

2008-10-28 Thread Tommi Prami
Where I could find the sources, or download/install them. It might be that Nightlies (0.9.27 beta, if I read it correctly, because about-box will crash Lazarus..) don't ship with it (or it don't get installed etc...) I had some issues with 0.9.26 so I was thinking to test with new beta, but

[Lazarus] Initializing my App

2008-10-28 Thread Dave Coventry
Hi, How can I tell when my application has loaded and I can start initializing some of the form elements? At the moment I place all of the initialization routines in the FormCreate but quite often I get an 'external SIGSEHV' exception as the mouse generates a false onSelection event on a

Re: [Lazarus] Initializing my App

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 1:59 PM, Dave Coventry [EMAIL PROTECTED] wrote: At the moment I place all of the initialization routines in the FormCreate but quite often I get an 'external SIGSEHV' exception as the mouse generates a false onSelection event on a StringGrid, presumably because the

[Lazarus] TSQLQuery ApplyUpdates

2008-10-28 Thread Terry A. Haimann
Ok, I am trying to understand how to use tsqlquery to update my data (using mysql.) It doesn't work, but I think I am on the right idea. I have never used this paraterized sql before, so bear with me. This is what I have got: I Have a TsqlQuerry, lets say its name is MyQuery. So

Re: [Lazarus] error: free Pascal sources not found (at startup)

2008-10-28 Thread Tommi Prami
I have Vista 64bit and tried following installers : - Lazarus-0.9.27-17116-fpc-2.2.3-20081024-win64.exe - Lazarus-0.9.27-17114-fpc-2.2.2-20081024-win64.exe Both with same result... Setting (which error message tells me to check is empty) -TP- ps. Could there be support for ctrl+c with

Re: [Lazarus] error: free Pascal sources not found (at startup)

2008-10-28 Thread Vincent Snijders
2008/10/28 Tommi Prami [EMAIL PROTECTED]: I have Vista 64bit and tried following installers : - Lazarus-0.9.27-17116-fpc-2.2.3-20081024-win64.exe - Lazarus-0.9.27-17114-fpc-2.2.2-20081024-win64.exe Both with same result... Setting (which error message tells me to check is empty) I try to

Re: [Lazarus] Initializing my App

2008-10-28 Thread Dave Coventry
Hi Graeme, How does the 'Loaded' thing work? 2008/10/28 Graeme Geldenhuys [EMAIL PROTECTED]: On Tue, Oct 28, 2008 at 1:59 PM, Dave Coventry [EMAIL PROTECTED] wrote: At the moment I place all of the initialization routines in the FormCreate but quite often I get an 'external SIGSEHV'

Re: [Lazarus] Initializing my App

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 3:03 PM, Dave Coventry [EMAIL PROTECTED] wrote: How does the 'Loaded' thing work? As far as I know the form streaming code sets the internal ComponentState as it does it's job. Read the help on Loaded, Loading and ComponentState. Regards, - Graeme -

Re: [Lazarus] Cannot install Lazarus-0.9.26/fpc-2.2.2 on Suse 10.0, help needed

2008-10-28 Thread Bart
I'm not keen on upgrading my Suse to 11.0 (or 10.3), because I run it on an old computer (Celeron 700 Mhz, 512 Mb), and getting X to recognise and setting up my LCD monitor was a PITA. Does anyone know if it is at all possible to build fpc 2.2.2 form source with glibc 2.3? If so, I could tarts

[Lazarus] TListview issues

2008-10-28 Thread Michael Van Canneyt
Hi, We're trying to implement dragdrop from/to a TListView. There are several issues: 1. The selected listitem is not yet set when the drag is initialized. This prevents knowing which item in the list is being dragged, and this is the initial problem. Trying to work around this, we hit 2

Re: [Lazarus] error: free Pascal sources not found (at startup)

2008-10-28 Thread Tommi Prami
I downloaded newer version, same results but I actually managed to find correct path for it now :) Now I see no error... -TP- -Original Message- From: [EMAIL PROTECTED] [mailto:lazarus- [EMAIL PROTECTED] On Behalf Of Vincent Snijders Sent: 28. lokakuuta 2008 14:59 To: General

Re: [Lazarus] Cannot install Lazarus-0.9.26/fpc-2.2.2 on Suse 10.0, help needed

2008-10-28 Thread Florian Klaempfl
Bart schrieb: I'm not keen on upgrading my Suse to 11.0 (or 10.3), because I run it on an old computer (Celeron 700 Mhz, 512 Mb), and getting X to recognise and setting up my LCD monitor was a PITA. Does anyone know if it is at all possible to build fpc 2.2.2 form source with glibc 2.3? If

Re: [Lazarus] error: free Pascal sources not found (at startup)

2008-10-28 Thread Vincent Snijders
Tommi Prami schreef: I downloaded newer version, same results but I actually managed to find correct path for it now :) What was the wrong path and what is the correct path? Vincent ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] TSQLQuery ApplyUpdates

2008-10-28 Thread Joost van der Sluis
If you can read dutch, read this: http://wiki.freepascal.org/index.php?title=SqlDBHowto/nl#Hoe_stuurt_SqlDB_de_wijzigingen_naar_de_Database-server.3F But I'll give some clues. Op dinsdag 28-10-2008 om 06:33 uur [tijdzone -0500], schreef Terry A. Haimann: Ok, I am trying to understand how to use

Re: [Lazarus] Canvas.CopyRect query...

2008-10-28 Thread Mattias Gaertner
On Mon, 27 Oct 2008 20:59:09 -0400 [EMAIL PROTECTED] wrote: Oops I cut and pasted a typo. x:= x + xx should be x := x + ww; But that still does not fix the problem. On Mon, 27 Oct 2008 20:36:55 -0400, [EMAIL PROTECTED] wrote: I'm using the following code to copy a portion of one

Re: [Lazarus] Initializing my App

2008-10-28 Thread Valdas Jankūnas
Dave Coventry rašė: Hi, How can I tell when my application has loaded and I can start initializing some of the form elements? At the moment I place all of the initialization routines in the FormCreate but quite often I get an 'external SIGSEHV' exception as the mouse generates a false

[Lazarus] Carbon: Application menu

2008-10-28 Thread EarMaster - Bent Olsen
Hi all, When you compile and run Carbon applications on a Mac you'll get an application menu up in the top left with some default menu items, but the items do always appear in English, and we can't change those. The application menu appear nice in applications like Safari and others, and

Re: [Lazarus] Initializing my App

2008-10-28 Thread Dave Coventry
Thanks Valdas, that's basically what I wanted to know. The event which will only be triggered once the Form is completely loaded. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Crash while Copy/Paste

2008-10-28 Thread Sebastian Kraft
Hello, since I upgraded to Ubuntu Intrepid last week Lazarus crashes during copy/paste with the following backtrace. Any Ideas? *** glibc detected *** /home/daseeb/devel/lazarus-svn64/lazarus: double free or corruption (out): 0x03196d40 *** === Backtrace: =

Re: [Lazarus] Initializing my App

2008-10-28 Thread Felipe Monteiro de Carvalho
On Tue, Oct 28, 2008 at 4:42 PM, Valdas Jankūnas [EMAIL PROTECTED] wrote: // when form appears procedure TfrMain.FormShow(Sender: TObject); const SHOWED_FIRST_TIME: Boolean=False; Does this work? If this was a variable this surely wouldn't work, because it's scope would be local to the

Re: [Lazarus] Crash while Copy/Paste

2008-10-28 Thread Vincent Snijders
Sebastian Kraft schreef: Hello, since I upgraded to Ubuntu Intrepid last week Lazarus crashes during copy/paste with the following backtrace. Any Ideas? Just that it is known: http://bugs.freepascal.org/view.php?id=12396 Vincent ___ Lazarus

Re: [Lazarus] Canvas.CopyRect query...

2008-10-28 Thread dominique
Yes Bounds Does the trick. Thanks! On Tue, 28 Oct 2008 19:44:09 +0100, Mattias Gaertner [EMAIL PROTECTED] wrote: Replace Classes.Rect with Classes.Bounds ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] Initializing my App

2008-10-28 Thread Jalal
There is a flaw in the code suggested below. To accomplish what you seem to want, the SHOWED_FIRST_TIME variable needs to be an instance variable rather than a local variable as declared below. That is, the SHOWED_FIRST_TIME variable should be declared in the class definition of the form.

Re: [Lazarus] Initializing my App

2008-10-28 Thread Flávio Etrusco
No, there's no problem. A typed constant is allocated just like a global variable (or a static local variable in C). The syntax is hackish, but the functionality is nice, indeed. -Flávio 2008/10/28 Jalal [EMAIL PROTECTED]: There is a flaw in the code suggested below. To accomplish what you seem

Re: [Lazarus] TSQLQuery ApplyUpdates

2008-10-28 Thread Terry A. Haimann
Close. Changing it to UpWhereAll didn't work, but changing it to UpWhereChanged did work. I spose I should post the results of this little excercise on the Forum, maybe get it added to the Wiki somehow. Joost van der Sluis wrote: If you can read dutch, read this: