[lazarus] patch files (.diff)

2005-11-14 Thread Graeme Geldenhuys
Hi, I am using 0.9.10 on win32. Can I attach or include .diff files generated, using Tools->Diff for a few fixes I did locally. e.g.: 1) RowSelect enabled in ToDo List screen & a few others. 2) Fix resizing issues in Unit Info screen. etc... Regards, - Graeme - _

Re: [lazarus] error when compile Lazarus on Debian

2005-11-14 Thread Simeon Mitev
the next problem is: ... Fatal: Can't find unit glib Error: Compilation aborted i am running KDE 3.4 Vincent Snijders wrote: Mattias Gaertner wrote: On Fri, 11 Nov 2005 17:15:21 +0100 dannym <[EMAIL PROTECTED]> wrote: Hi, Am Freitag, den 11.11.2005, 12:17 +0200 schrieb Simeon Mitev:

[lazarus] TBitBtn and custom glyph

2005-11-14 Thread Graeme Geldenhuys
Hi, I added a custom glyph which contains a clFuchsia mask. In Delphi (I am new to Lazarus) when I did that, it automatically detected and removed the mask. How do I do this in Lazarus? I am using the Win32 version. Regards, - Graeme - _

Re: [lazarus] Synedit error-Bit more

2005-11-14 Thread christer . t . johansson
Hi John. FontStyle is a 'set' , but I think you can get it this way: --- type pFontStyles = ^TFontStyles; pInteger = ^integer; function FontStylesToInteger(const Value : TFontStyles): integer; begin Result := pInteger(@Value)^; end; function IntegerToFontStyles(const Value : integer)

[lazarus] Synedit error-Bit more

2005-11-14 Thread John Samperi
OK so now I have Background colour and Font colour working using WriteInteger: myINI.WriteInteger('Editor','Background Colour',SynEdit1.Color); myINI.WriteInteger('Editor','Font Color',SynEdit1.Font.Color); Trying to do the same with Font.Style brings up another error Got TFontStyles ex

Re: [lazarus] Synedit error

2005-11-14 Thread John Samperi
At 07:05 PM 14/11/2005, you wrote: SynEdit1.Color is not a string, but a TGraphicsColor just as the message tells you ;-). Try WriteInteger instead. How foolish of me to think that Red or Black were numbers not strings :-D but I can see that it is saving the index number of the drop down menu.

Re: [lazarus] Synedit error

2005-11-14 Thread John Samperi
At 07:46 PM 14/11/2005, you wrote: Last param should be the default value, if there are no value: SynEdit1.Font.Size:= myINI.ReadInteger('Editor','Font Size',12); The number gets read back from the ini file. I initializes it to 12 if the ini file has not been created yet, then it get

[lazarus] Installing Lazarus on SuSE 10.0

2005-11-14 Thread sana
Hi! Is there somebody, who knows all tricks to compile Lazarus correctly on suse 10.0 ? Packages, dependency ... Thanks, San _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject arc

Re: [lazarus] Distribution Specific Packages

2005-11-14 Thread Mattias Gaertner
On Wed, 09 Nov 2005 07:29:24 -0200 Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > Hi, > > I've seing many problems about lazarus linux packages and solving > dependencies for them. > > Maybe we should add distribution specific packages? Many programs > implement this and I find it to

Re: [lazarus] Patch for toolbuttons and evaluate dialog (issue 500)

2005-11-14 Thread Mattias Gaertner
On Sun, 13 Nov 2005 12:29:57 +0200 Ere Maijala <[EMAIL PROTECTED]> wrote: > Hi, > > the attached patch adds shortcut (mnemonic) support for toolbar buttons, > makes initial focus in the evaluate dialog go to the input field and > makes pressing enter in the input field evaluate it. Thanks. App

Re: [lazarus] [Fwd: Emailing: debugger.diff]

2005-11-14 Thread Mattias Gaertner
On Fri, 11 Nov 2005 12:25:08 +0200 Simeon Mitev <[EMAIL PROTECTED]> wrote: > Hi, this patch sets autosrcoll on to watchesdlg.pp > it was not possible to watch a deep structures of data when dialog's > width reachs the screen width. Thanks. Applied. Mattias __

Re: [lazarus] Building Lazarus 20051111 gives Identifier not found.

2005-11-14 Thread Mattias Gaertner
On Fri, 11 Nov 2005 17:24:23 -0300 ogunsett <[EMAIL PROTECTED]> wrote: > make -vt make OPT=-vt > GNU Make 3.80 > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR

Re: [lazarus] patch for setPixelPerInch

2005-11-14 Thread Mattias Gaertner
On Sun, 13 Nov 2005 22:23:01 +0100 darekM <[EMAIL PROTECTED]> wrote: > > >Measuring your text using PixelsPerInch is very unreliable, almost > >meaningless. > > > > > > > >>Why You want to remove it. It's not disturb. > >> > >> > > > >Because it does not have much meaning, and it changes of

Re: [lazarus] Lazarus Windows: LazHTMLLite 0.1.1

2005-11-14 Thread Timothy Ha
I must confess that the component is still usable. Though it compiles, when I add it to a form, it gives List index out of bounds (-1)...(-3) and halted Lazarus In the component tree it can be seen that HTMLLite consists of TPanel, Scrollbar, Timer, etc. - don't know why they appear there... Ca

Re: [lazarus] Lazarus Windows: LazHTMLLite 0.1.1

2005-11-14 Thread Timothy Ha
WOW - it compiled!!! After commenting out writeln lines that had DbgS(Self) Adding Use FPCanvas where psInsideFrame error occured, everything compiled!! Thanks. Timothy. Alexander Todorov пишет: On 11/14/05, Panagiotis Sidiropoulos <[EMAIL PROTECTED]> wrote: I'm trying to compile LazHTML

Re: [lazarus] LNet Package ERROR

2005-11-14 Thread Ales Katona
Tony Maro wrote: Or, the package has been site to build for win32 widgets. Check the project and package settings to make sure GTK+ / Linux are selected everywhere. -Tony The package doesn't specify OS or widgetset. It leaves "default". I suspect lazarus is too old and it interprets some

Re: [lazarus] LNet Package ERROR

2005-11-14 Thread Tony Maro
Ales Katona wrote: Kleiton Luiz wrote: Hi, i'm try to install "lnetpackage-0.1.zip" in lazarus for linux, but i dont can compile, on press install the lazarus show me this message: /root/Desktop/lnetpackage-0.1/lnet/tomwinsock.pas(1,1) Fatal: Can't find unit Windows My Free Pascal Compi

Re: [lazarus] LNet Package ERROR

2005-11-14 Thread Ales Katona
Kleiton Luiz wrote: Hi, i'm try to install "lnetpackage-0.1.zip" in lazarus for linux, but i dont can compile, on press install the lazarus show me this message: /root/Desktop/lnetpackage-0.1/lnet/tomwinsock.pas(1,1) Fatal: Can't find unit Windows My Free Pascal Compiler have version 2.0.0

Re: [lazarus] Re: lNet components package

2005-11-14 Thread Ales Katona
Felipe Monteiro de Carvalho wrote: Ales Katona wrote: I'm happy to announce first alpha version of lNet components package for Lazarus. It adds two components to Lazarus, TLTcpComponent and TLUdpComponent. More info can be found at http://wiki.lazarus.freepascal.org/index.php/LNet Please

Re: [lazarus] Lazarus Windows: LazHTMLLite 0.1.1

2005-11-14 Thread Alexander Todorov
On 11/14/05, Panagiotis Sidiropoulos <[EMAIL PROTECTED]> wrote: > I'm trying to compile LazHTMLLite into Windows version of Lazarus and get > compiler error message: > - Error identifier not found "TWMMouse" > > Click link to see a visual of compilation: > - http://www.magenta.gr/ftp/temp/laz1.jpg

[lazarus] Re: lNet components package

2005-11-14 Thread Felipe Monteiro de Carvalho
Ales Katona wrote: I'm happy to announce first alpha version of lNet components package for Lazarus. It adds two components to Lazarus, TLTcpComponent and TLUdpComponent. More info can be found at http://wiki.lazarus.freepascal.org/index.php/LNet Please keep in mind it's alpha. Altho the under

[lazarus] Re: Substitute for WinAPI BitBlt

2005-11-14 Thread Felipe Monteiro de Carvalho
Micha Nelissen wrote: There is a cross platform BitBlt in unit LCLIntf. But not all of the ROPs are supported in gtk. UAU! I really wasn't hoping for such an easy solution. I thought I would have to decompose the behavior of BitBlt and use a different function for each of it's features. Tha

[lazarus] Re: Substitute for WinAPI BitBlt

2005-11-14 Thread Felipe Monteiro de Carvalho
Tony Pelton wrote: i'm new to graphics programming, so i may be missing your question completley, but i've been doing a little bit of messing around recently with 'libsdl' and the 'JEDI-SDL' wrappers. i think SDL supports "blitting". The biggest problem is that the program is already written,

[lazarus] LNet Package ERROR

2005-11-14 Thread Kleiton Luiz
 Hi, i'm try to install "lnetpackage-0.1.zip" in lazarus for linux, but i dont can compile, on press install the lazarus show me this message: /root/Desktop/lnetpackage-0.1/lnet/tomwinsock.pas(1,1) Fatal: Can't find unit Windows My Free Pascal Compiler have version 2.0.0 [2005/05/09] for i386 My

Re: [lazarus] Substitute for WinAPI BitBlt

2005-11-14 Thread Tony Pelton
On 11/14/05, Timothy Ha <[EMAIL PROTECTED]> wrote: > Tony Pelton wrote: > Do JEDI things work in Lazarus-FreePascal? > I think JEDI started out as a Delphi component project. i'm not sure how/if JEDI works with Lazarus since that isn't how i've been using it so far. currently, i've been doing som

Re: [lazarus] Substitute for WinAPI BitBlt

2005-11-14 Thread Timothy Ha
Tony Pelton wrote: On 11/13/05, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: I'd like to make the program cross-platform, so I need a substitute for with API call. There is info about this call here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps_0fzo

Re: [lazarus] Substitute for WinAPI BitBlt

2005-11-14 Thread Tony Pelton
On 11/13/05, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > > > I'd like to make the program cross-platform, so I need a substitute for > with API call. > > There is info about this call here: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps_0fzo.asp i'm new

Re: [lazarus] Substitute for WinAPI BitBlt

2005-11-14 Thread Micha Nelissen
Felipe Monteiro de Carvalho wrote: I am converting a Visual Studio .NET program to Laarus, but the program uses BitBlt from the Windows API extensively and for nearly everything it does on graphics: Copy part of a bitmap from a place to another, inverting the bitmap colors, etc. There is a

[lazarus] Re: Substitute for WinAPI BitBlt

2005-11-14 Thread Felipe Monteiro de Carvalho
Sergio Samayoa wrote: If you really want cross cross-platform use Java. Please, don´t troll in here. I don´t want to see my post become a flaming war. What would you expect if I went to Java newsgroup and started telling people to use FPC if they really want cross-platform? You know you a

Re: [lazarus] Substitute for WinAPI BitBlt

2005-11-14 Thread Florian Klaempfl
Sergio Samayoa wrote: > If you really want cross cross-platform use Java. Yes, works on all platforms equally bad and slow :) > > > -Mensaje original- > De: news [mailto:[EMAIL PROTECTED] En nombre de Felipe Monteiro de > Carvalho > Enviado el: Sunday, 13 de November de 2005 04:39 p.m.

RE: [lazarus] Substitute for WinAPI BitBlt

2005-11-14 Thread Sergio Samayoa
If you really want cross cross-platform use Java. -Mensaje original- De: news [mailto:[EMAIL PROTECTED] En nombre de Felipe Monteiro de Carvalho Enviado el: Sunday, 13 de November de 2005 04:39 p.m. Para: lazarus@miraclec.com Asunto: [lazarus] Substitute for WinAPI BitBlt Hi, I am con

Re: [lazarus] Lazarus Windows: LazHTMLLite 0.1.1

2005-11-14 Thread Timothy Ha
Please look here: http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=1553 Seems like THTMLLite is not supported by Lazarus Project and developers recommend TurboPower IPro instead. But IPro HTML viewer has problem with selecting text for copy-paste operations. Please s

Re: [lazarus] Lazarus Windows: LazHTMLLite 0.1.1

2005-11-14 Thread Vincent Snijders
Panagiotis Sidiropoulos wrote: I'm trying to compile LazHTMLLite into Windows version of Lazarus and get compiler error message: - Error identifier not found "TWMMouse" Click link to see a visual of compilation: - http://www.magenta.gr/ftp/temp/laz1.jpg Any help would be most appreciated. La

Re: [lazarus] patch for setPixelPerInch

2005-11-14 Thread Andreas Berger
Micha Nelissen wrote: Andreas Berger wrote: Of course text is also scaled by this, since the canvas sets its text size by millimeters or inches. For this I also need to know the PixelsPerInch of the current canvas. Ok, but that's the PixelsPerInch of TCanvas, not TCustomForm, right ? F

Re: [lazarus] Synedit error

2005-11-14 Thread christer . t . johansson
SynEdit1.Font.Size:=(myINI.ReadInteger('Editor','Font Size',SynEdit1.Font.Size)); Last param should be the default value, if there are no value: SynEdit1.Font.Size:= myINI.ReadInteger('Editor','Font Size',12); Message from John Samperi <[EMAIL PROTECTED]> received on 2005-11-14 09:00

[lazarus] Lazarus Windows: LazHTMLLite 0.1.1

2005-11-14 Thread Panagiotis Sidiropoulos
I'm trying to compile LazHTMLLite into Windows version of Lazarus and get compiler error message: - Error identifier not found "TWMMouse" Click link to see a visual of compilation: - http://www.magenta.gr/ftp/temp/laz1.jpg Any help would be most appreciated. Regards, Panagiotis Sidiropoulos ---

Re: [lazarus] patch for setPixelPerInch

2005-11-14 Thread Micha Nelissen
Andreas Berger wrote: Of course text is also scaled by this, since the canvas sets its text size by millimeters or inches. For this I also need to know the PixelsPerInch of the current canvas. Ok, but that's the PixelsPerInch of TCanvas, not TCustomForm, right ? For vector drawing PixelsPerI

Re: [lazarus] patch for setPixelPerInch

2005-11-14 Thread Andreas Berger
Micha Nelissen wrote: On Sun, 13 Nov 2005 21:10:28 +0100 darekM <[EMAIL PROTECTED]> wrote: Micha Nelissen napisał(a): What does PixelsPerInch have to do with sizes of fonts ? Maybe not from Forms, but I use PixelsPerInch for calculate size of printing elements, I don't remem

Re: [lazarus] Synedit error

2005-11-14 Thread Micha Nelissen
John Samperi wrote: When I try and use it in the .ini save/read procedures as follows: myINI.WriteString('Editor','Background Colour',SynEdit1.Color); I get an error. Got "TGraphicsColor" expected "AnsiString" SynEdit1.Color is not a string, but a TGraphicsColor just as the message tells

Re: [lazarus] Synedit error

2005-11-14 Thread dhkblaszyk
> myINI.WriteString('Editor','Background Colour',SynEdit1.Color); > > I get an error. Got "TGraphicsColor" expected "AnsiString" On first sight, I would expect WriteString to recieve strings, and not TColor, so either try : myINI.WriteString('Editor','Background Colour',IntToStr(SynEdit1.Col

[lazarus] Synedit error

2005-11-14 Thread John Samperi
I'm having some problems saving some of Synedit attributes to a .ini file Example: Background color of screen set to black as following during init: SynEdit1.Color:=clBlack; No error is generated at this point. When I try and use it in the .ini save/read procedures as follows: myINI