[lazarus] About copyright infringement

2007-11-19 Thread George Lober
Hello, Question: What if clean room approach code is the same as the other. Simplistically speaking, how many other ways can one write 1 + 1 = 2? Even if you may be able, most people would write it that way anyway. When you get right down to it, the set of standard mathematical and other

Re: [lazarus] Laz / Fpc function listing

2007-11-17 Thread George Lober
SteveG wrote: Would anybody know if there is a listing (or some way of building one) of all functions available for Lazarus and/or Fpc ? I'm sure a lot of us (programmers) are re-inventing many wheels out here, especially if writing for multiple platforms Thanks - SteveG Not sure how

Re: [lazarus] Mouse capture not releasing

2007-08-29 Thread George Lober
George Lober wrote: Jesus Reyes wrote: --- George Lober [EMAIL PROTECTED] escribió: Hi All, I have a bit of a problem. This is happening with GTK2. I have a StringGrid where when the column header is clicked on, a ComboBox appears in the header in the dropped down state. The dropped

Re: [lazarus] Mouse capture not releasing

2007-08-27 Thread George Lober
Jesus Reyes wrote: --- George Lober [EMAIL PROTECTED] escribió: Hi All, I have a bit of a problem. This is happening with GTK2. I have a StringGrid where when the column header is clicked on, a ComboBox appears in the header in the dropped down state. The dropped down state is done

Re: [lazarus] Weird error problem

2007-07-31 Thread George Lober
George Lober wrote: I hope you can help me with this one. Using FPC 2.0.4 and Lazarus 0.9.23 rev.11447M. I am converting my main Delphi project to Lazarus under Linux/GTK1 and I get an odd error. As far as I can determine the error happens when a function in another unit is called the second

[lazarus] Weird error problem

2007-07-17 Thread George Lober
Hi guys, I hope you can help me with this one. Using FPC 2.0.4 and Lazarus 0.9.23 rev.11447M. I am converting my main Delphi project to Lazarus under Linux/GTK1 and I get an odd error. As far as I can determine the error happens when a function in another unit is called the second time. The

Re: [lazarus] reading XML error

2007-07-15 Thread George Lober
Bram Kuijvenhoven wrote: George Lober wrote: I have this code which reads XML. I get a SIGSEGV error when reading a NodeValue which has no content. For runtime it works ok because I put in the try/except block, but this still produces error at design time which is a nuisance. Any suggestions

[lazarus] reading XML error

2007-07-14 Thread George Lober
Hello, I have this code which reads XML. I get a SIGSEGV error when reading a NodeValue which has no content. For runtime it works ok because I put in the try/except block, but this still produces error at design time which is a nuisance. Any suggestions? Is there a way to check for an empty

Re: [lazarus] Working with XML: crosscompatibility

2007-06-30 Thread George Lober
Lee Jenkins wrote: Luiz Americo Pereira Camara wrote: Alvise Nicoletti wrote: Hi... I have to parse xml both with Lazarus on linux (server) and Delphi on Windows (client). Actually, with Lazarus, I'm using the DOM, ReadXML, WriteXML units. Is there something that I can use in Delphi with

Re: [lazarus] Working with XML: crosscompatibility

2007-06-30 Thread George Lober
Lee Jenkins wrote: Luiz Americo Pereira Camara wrote: Alvise Nicoletti wrote: Hi... I have to parse xml both with Lazarus on linux (server) and Delphi on Windows (client). Actually, with Lazarus, I'm using the DOM, ReadXML, WriteXML units. Is there something that I can use in Delphi with

Re: [lazarus] Working with XML: crosscompatibility

2007-06-30 Thread George Lober
Lee Jenkins wrote: Luiz Americo Pereira Camara wrote: Alvise Nicoletti wrote: Hi... I have to parse xml both with Lazarus on linux (server) and Delphi on Windows (client). Actually, with Lazarus, I'm using the DOM, ReadXML, WriteXML units. Is there something that I can use in Delphi with

Re: [lazarus] TNoteBook vs TPageControl

2007-06-18 Thread George Lober
Hello, Yes that would be showstopper, but I checked TPageControl/TTabSheet under GTK, with TButton, TEdit, TListview and TStringGrid, and the controls resize correctly, either with alClient or with alNone and anchors set. ??? Regards, George Hess, Philip J wrote: Graeme, You might want

Re: [lazarus] TNoteBook vs TPageControl

2007-06-18 Thread George Lober
Ok, never mind, I see now the bug is applicable to Win32 only. Although using other modes other than alNone, seems to work Ok. George George Lober wrote: Hello, Yes that would be showstopper, but I checked TPageControl/TTabSheet under GTK, with TButton, TEdit, TListview and TStringGrid

Re: [lazarus] TNoteBook vs TPageControl

2007-06-18 Thread George Lober
, Philip J wrote: I don't see that on Windows. Setting the TEdit's Align to alCustom has the same problem as clNone. The other settings expand the TEdit to take up the entire sheet, which isn't what we want. Thanks. -Phil -Original Message- From: George Lober [mailto:[EMAIL PROTECTED] Sent

Re: [lazarus] fsSplash Form in a project

2007-04-07 Thread George Lober
Graeme Geldenhuys wrote: On 4/6/07, Alex Smirnov [EMAIL PROTECTED] wrote: 1)I have some project in Linux that spends 10-20 seconds to initialize its classes. I know you found a solution arleady, but I thought I would comment on this point. From a user point of view, this would drive me

Re: [lazarus] Managing Cross Platform Projects

2007-03-21 Thread George Lober
Since the subject of SVN came up I couldn't resist to ask. Presently my method is to take a snapshot of the project directory to do backup. Easy and simple to do, and since I'm a one man show it is good enough for me. But of course there are problems if you need to look into changes in code, and

Re: [lazarus] XML and Record type

2007-03-19 Thread George Lober
Interesting. I have to mention that the main reason for my question is that I want to use XML for data storage, because I can see XML being able to withstand changes in the data format. So that brings up the question in my mind, how would the example code handle addition or removal of record

Re: [lazarus] ReadXMLFile memory leaks?

2007-03-18 Thread George Lober
Vincent Snijders wrote: George Lober schreef: Hello, I am trying to use the ReadXMLFile function with the following code: var S: string; Doc: TXMLDocument; ANode: TDOMNode; begin Doc := TXMLDocument.Create; ReadXMLFile(Doc, XMLFileName); ANode := Doc.DocumentElement.FindNode('ValueName

[lazarus] XML and Record type

2007-03-18 Thread George Lober
Hello, A question guys. Are there any utilities/functions out there to convert a pascal record type into XML format and back? Is there such an animal, or am I asking for too much? Regards, George _ To unsubscribe: mail

[lazarus] ReadXMLFile memory leaks?

2007-03-17 Thread George Lober
Hello, I am trying to use the ReadXMLFile function with the following code: var S: string; Doc: TXMLDocument; ANode: TDOMNode; begin Doc := TXMLDocument.Create; ReadXMLFile(Doc, XMLFileName); ANode := Doc.DocumentElement.FindNode('ValueName'); S:= ANode.FirstChild.NodeValue;

Re: [lazarus] ReadXMLFile memory leaks?

2007-03-17 Thread George Lober
Vincent Snijders wrote: George Lober schreef: Hello, I am trying to use the ReadXMLFile function with the following code: var S: string; Doc: TXMLDocument; ANode: TDOMNode; begin Doc := TXMLDocument.Create; Try removing this line above. IIRC ReadXMLFile allocates the TXMLDocument

[lazarus] About bug 8086

2007-01-10 Thread George Lober
Hello Vincent, Your solution to initialize the size of the ImageBitmap does solve the problem my example code showed, but this unfortunately does not help the code I'm actually having problems with. I guess it wasn't a very good example. What I'm trying to do is to convert some Delphi

Re: [lazarus] Listview related question

2007-01-03 Thread George Lober
Felipe Monteiro de Carvalho wrote: On 12/22/06, George Lober [EMAIL PROTECTED] wrote: I assume by 6.0 controls you are talking about VisualBasic. 6.0 is the version of the Windows Common Controls DLL. This has nothing to do with Visual Basic. When you say send the right message, are you

Re: [lazarus] Listview related question

2006-12-22 Thread George Lober
Marc Weustink wrote: George Lober wrote: Hello List, I have seen some programs where the Listview column headers have a down arrow head glyph, which if you click on you get a drop-down list, like a ComboBox built into the header. A very useful function I think. Searching on the net

[lazarus] Listview related question

2006-12-21 Thread George Lober
Hello List, I have seen some programs where the Listview column headers have a down arrow head glyph, which if you click on you get a drop-down list, like a ComboBox built into the header. A very useful function I think. Searching on the net with something like delphi listview column drop

Re: [lazarus] Request for PR noise !

2006-05-14 Thread George Lober
Florian Klaempfl wrote: I think a name change isn't necessary, but what FPC/Lazarus would need is a group of people doing the same as distributors do: combining FPC/Lazarus into one nice and easy to use package. This project/package could get a new name, probably something descriptive like

Re: [lazarus] New help doc format?

2006-05-13 Thread George Lober
Andrew Haines wrote: The unit/package to control lhelp (modified LGPL) does not link to lhelp in any way. It talks to it using the IPC units that come with fpc. basically sending to lhelp text commands. You may distribute the lhelp program with your program but that does not make your

Re: [lazarus] New help doc format?

2006-05-11 Thread George Lober
Andrew Haines wrote: Felipe Monteiro de Carvalho wrote: On 5/11/06, Andrew Haines [EMAIL PROTECTED] wrote: In your lazarus directory /components/chmhelp/packages/chm/ there is a unit called chmreader. It is simple to get a list of any of the files in the chm and extracting them: Some

Re: [lazarus] New help doc format?

2006-05-09 Thread George Lober
Alexandre Leclerc wrote: 2006/5/9, Vincent Snijders [EMAIL PROTECTED]: A drawback of chm, that I don't know about free tools to generate it except the Microsoft Help Workshop, which is windows only. No problem for me, because windows is my main platform, but still. I have heard (not

Re: [lazarus] New help doc format?

2006-05-09 Thread George Lober
Alexandre Leclerc wrote: 2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: I'm sorry, I can't find the source code... :( The only code on sourceforge, well, I don't know if this is the compiler itself, but it does not look like. Any-way I've

Re: [lazarus] Lazarus vs Patents

2006-04-28 Thread George Lober
Michael Van Canneyt wrote: On Fri, 28 Apr 2006, [EMAIL PROTECTED] wrote: Hi, I have a question for the Lazarus/FPC community, that I got from a another thread in the mailing list (Lazarus Foundation). Does someones knows if there's a potential problem with Lazarus or FPC due to patents ?

[lazarus] Patch for ParentFont and Font property

2006-04-16 Thread George Lober
Here is a patch for bugs 1909, 1913, and also for TCheckGroup. It adds ParentFont property for all as well as font property for TRadioGroup and TCheckGroup. Tested OK under Win32 and GTK1. Index: ide/revision.inc === ---

Re: [lazarus] Dependencies under Linux

2006-04-10 Thread George Lober
Panagiotis Sidiropoulos wrote: After sending my first Linux Lazarus application to beta testers for evaluation and testing, I got complains even from those advanced users because of alot of application dependencies: Components on the form: - TDataSource - TDBF - TActionList - TMainMenu -

[lazarus] IDE component icons

2006-03-12 Thread George Lober
Here are some modified existing component icons which have been changed to have a blue accent. Personally I think they look better. Hopefully other people agree with me :-) . Regards, George

Re: [lazarus] IDE component icons

2006-03-12 Thread George Lober
George Lober wrote: Here are some modified existing component icons which have been changed to have a blue accent. Personally I think they look better. Hopefully other people agree with me :-) . Please disregard the tlabelededit_blue_mod.ico, I shouldn't have sent that one. Thanks

[lazarus] Help Authoring questions

2006-03-04 Thread George Lober
Hello all, Being a total noob when it comes to the subject of Help Authoring, I would like to ask people for pointers and suggestions on writing end user Help Documentation, possibly context sensitive, for a Lazarus app. What is involved implementing context sensitive help in Lazarus ? I can

[lazarus] App runs from command prompt window

2006-03-02 Thread George Lober
I haven't bothered about this for quite some time, but I thought I'd finally ask. Under Windows only, whenever a Lazarus application is run standalone or from the IDE, a command prompt window always opens up. The task bar then has a button for the window as well as for the app. Is there any

Re: [lazarus] App runs from command prompt window

2006-03-02 Thread George Lober
Graeme Geldenhuys wrote: Under Compiler Options - Linking - tick the Win32 GUI Application checkbox Too simple, thanks George _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject

Re: [lazarus] TListView selection

2006-02-27 Thread George Lober
Micha Nelissen wrote: George Lober wrote: Darius Blaszijk wrote: Maybe the patch is too old ? It's patched against SVN, so I guess not ;) Applying the patch in the lcl directory, the output of 'patch --dry-run listview.diff' under Windows is: -- |Index

Re: [lazarus] TListView selection

2006-02-27 Thread George Lober
George Lober wrote: Micha Nelissen wrote: George Lober wrote: Darius Blaszijk wrote: Maybe the patch is too old ? It's patched against SVN, so I guess not ;) Applying the patch in the lcl directory, the output of 'patch --dry-run listview.diff' under Windows

Re: [lazarus] TListView selection

2006-02-27 Thread George Lober
Vincent Snijders wrote: [EMAIL PROTECTED] wrote: George, This feature does not work under win32. I have attached a patch that should fix this. I looked at the patch I don't understand the part in win32wscustomlistview.pas. You add SetProperty(TListView(AWinControl), lvpHideSelection,

Re: [lazarus] TListView selection

2006-02-27 Thread George Lober
George Lober wrote: Vincent Snijders wrote: [EMAIL PROTECTED] wrote: George, This feature does not work under win32. I have attached a patch that should fix this. I looked at the patch I don't understand the part in win32wscustomlistview.pas. You add SetProperty(TListView

Re: [lazarus] TListView selection

2006-02-26 Thread George Lober
[EMAIL PROTECTED] wrote: It's supposed to be a patch to fix it permanently. I was working on it some months ago but never come around to submitting the patch. If memory serves me right there is however still an issue but I cannot remember exactly what. Anyway it works with me. I'm not good with

Re: [lazarus] TListView selection

2006-02-26 Thread George Lober
Darius Blaszijk wrote: Maybe the patch is too old ? It's patched against SVN, so I guess not ;) Applying the patch in the lcl directory, the output of 'patch --dry-run listview.diff' under Windows is: patching file `comctrls.pp' can't find file to patch at input line 18 Perhaps

Re: [lazarus] TListView selection

2006-02-21 Thread George Lober
[EMAIL PROTECTED] wrote: George, This feature does not work under win32. I have attached a patch that should fix this. Darius Hi, I have a bit of a problem. I have a form which has two TListViews. I need to make a selection on each one and have it remained selected on both while

[lazarus] TListView selection

2006-02-20 Thread George Lober
Hi, I have a bit of a problem. I have a form which has two TListViews. I need to make a selection on each one and have it remained selected on both while clicking on other components. Under Windows this does not happen. When I click on a ListView the previously selected one unselects.

Re: closed bug 1478

2006-02-05 Thread George Lober
Mattias Gaertner wrote: On Sun, 5 Feb 2006 10:40:35 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sun, 5 Feb 2006, Micha Nelissen wrote: On Sat, 04 Feb 2006 20:35:29 -0800 George Lober [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Does

Re: closed bug 1478

2006-02-04 Thread George Lober
I can confirm that 'publish project' doesn't work. I will give you more details if you re-open the bug, or do you want me to create a new report? Regards, George _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: closed bug 1478

2006-02-04 Thread George Lober
Mattias Gaertner wrote: On Sat, 04 Feb 2006 14:50:46 -0800 George Lober [EMAIL PROTECTED] wrote: I can confirm that 'publish project' doesn't work. I will give you more details if you re-open the bug, or do you want me to create a new report? Yes, please give more details. It works

Re: closed bug 1478

2006-02-04 Thread George Lober
Mattias Gaertner wrote: On Sat, 04 Feb 2006 16:40:50 -0800 George Lober [EMAIL PROTECTED] wrote: [...] If you select an existing directory under Project-Publish Project-Destination directory, you get message unable to create directory xxx\xxx Does

Re: [lazarus] Debugger causing problem in Windows

2006-01-28 Thread George Lober
Vincent Snijders wrote: George Lober wrote: George Lober wrote: Since I mostly do my main Lazarus stuff under Linux, I have just now come to the conclusion that under Windows (win98se), with gdb (6.2.1) enabled, clicking on run or F9 causes the code to get compiled, but it doesn't run

Re: [lazarus] Debugger causing problem in Windows

2006-01-27 Thread George Lober
George Lober wrote: Since I mostly do my main Lazarus stuff under Linux, I have just now come to the conclusion that under Windows (win98se), with gdb (6.2.1) enabled, clicking on run or F9 causes the code to get compiled, but it doesn't run. If I disable gdb (no debugger at all) everything

[lazarus] Debugger causing problem in Windows

2006-01-24 Thread George Lober
Hello All, Since I mostly do my main Lazarus stuff under Linux, I have just now come to the conclusion that under Windows (win98se), with gdb (6.2.1) enabled, clicking on run or F9 causes the code to get compiled, but it doesn't run. If I disable gdb (no debugger at all) everything is fine,

[lazarus] LazReport Licence

2006-01-08 Thread George Lober
Is there any possibility of changing the LazReport license of LGPL to the Lazarus one of ModifiedLGPL? As I understand the Library General Public License one is not able to static link without the resulting code falling under the license restrictions. So basically you cannot use it in a

Re: [lazarus] Debugger

2005-12-09 Thread George Lober
[EMAIL PROTECTED] wrote: Question: what version of gdb do you all use?? I accidently erased my debugger and after installing gdb-5.2.1-1 the lazarus does not work properly anmore. 5.2.1-1 seems very old, I have 6.4 on my Gentoo (set for stable). After builing I get a debugger error

Re: [lazarus] TListView Questions

2005-12-07 Thread George Lober
Marc Weustink wrote: George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show a particular item on the top line of the TListView window

Re: [lazarus] TListView Questions

2005-12-07 Thread George Lober
George Lober wrote: Andrew Haines wrote: George Lober wrote: Marc Weustink wrote: George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show

[lazarus] error with printer4lazarus

2005-11-21 Thread George Lober
Hello All, I've been away from Lazarus for some period, so I started from scratch and erased my old Lazarus directory, got the latest SVN, and built Lazarus OK, but when I try to add the printer4lazarus package and I keep getting the following error:

Re: [lazarus] Cannot install Lazreport and Printer4Lazarus

2005-10-19 Thread George Lober
jean-marc levecque wrote: Hello, I now tried several times to re-install these packages, but they keep marked as to be installed at next start. I noticed while updating Lazarus to 0.9.10 on FPC 2.0.1 from rpm's that a message raised with group Mattias not found, using root, and then I got

Re: [lazarus] What does Delphi do?

2005-08-19 Thread George Lober
George Lober wrote: Luiz Americo wrote: Mattias Gaertner wrote: What should Cursor Left/Right do in the identifier/word completion box? What does Delphi do in its 'Code Completion' box? Let´s take an example, type: ShowM + Ctrl-Space - the box shows every possibility that begins

Re: Eclipse

2005-08-14 Thread George Lober
Raphael Alla wrote: Lazarus and Eclipse are compared as two IDEs, and why the most bloated one seem to be the most successful too. In my view, this is due to a lack of marketing effort from the freepascal and lazarus project, and the old school image associated with Pascal in general. This is

Re: [lazarus] OnCreate of MainForm not called after Application.CreateForm

2005-08-08 Thread George Lober
Tom Verhoeff wrote: On Mon, Aug 08, 2005 at 11:22:44PM +0200, Micha Nelissen wrote: On Mon, 8 Aug 2005 23:02:26 +0200 Tom Verhoeff [EMAIL PROTECTED] wrote: The various units report that they get initialized properly. However, in .lpr after Application.CreateForm(TMainForm,

[lazarus] Can't access Lazarus home page

2005-08-05 Thread George Lober
Is the Lazarus web page down ? I haven't been able to get on it for a day and a half. George. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] How do you do a diff with svn

2005-08-01 Thread George Lober
Florian Klaempfl wrote: George Lober wrote: It would be usefull if somebody could post an actual working example of that line. Does one need to use their computer's URL (I'd have to dig around for that one), and where in the line do you specify 'lazarus' ? Why do you need to diff 2