[lazarus] custom application settings storage - LSB / Windows

2007-02-15 Thread Graeme Geldenhuys
Hi, Sorry, this is not strictly a Lazarus question, but thought maybe other Lazarus users have solved this problem. What is the recommend location to store application (custom) settings per user? By application settings, I mean the following: Form State (size, position and state

Re: custom application settings storage - LSB / Windows

2007-02-15 Thread Graeme Geldenhuys
Under Linux: - There is the GetAppConfigDir(False) function, but this that appropriate? On my system it ruturns the following: /home/graemeg/.config/applicationname - Is it LSB compliant? I forgot to mention I can always used the GetEnvironmentVariable('HOME') under Linux, but still don't

Re: [lazarus] XML and XPath?

2007-02-15 Thread Kris Leech
Michael Van Canneyt wrote: On Mon, 12 Feb 2007, Lee Jenkins wrote: Kris Leech wrote: Lee Jenkins wrote: Lepidosteus wrote: In fpc/fcl/xml there is a xpath unit. Never used it, don't know if it works, guess it should. Ahh, you're correct. I'll poke

Re: [lazarus] custom application settings storage - LSB / Windows

2007-02-15 Thread Michael Van Canneyt
On Thu, 15 Feb 2007, Graeme Geldenhuys wrote: Hi, Sorry, this is not strictly a Lazarus question, but thought maybe other Lazarus users have solved this problem. What is the recommend location to store application (custom) settings per user? This depends on the OS. By application

Re: [lazarus] XML and XPath?

2007-02-15 Thread Lee Jenkins
Kris Leech wrote: Can you forward a copy of the fixed unit to my email? And to me as well, so I can commit the fix in SVN :-) It may still need a few bug fixes yet, Ive sent some feedback to Sebastian but I know he is really busy at the moment. However the basics work, its just a few

[lazarus] CodeTools problem - functions always return nil

2007-02-15 Thread Graeme Geldenhuys
Hi, I created a package that inserts a Toolbar at the top of the editor window. Currently containing one button (the first of many) that jump to certain parts of the code (Interface section, Implementation section, etc). For the life of me, I can't get the following two functions to work. Can

Re: [lazarus] add a timer?

2007-02-15 Thread Al Boldi
于野 wrote: I'm a Chinese OIer(which is short for someone who has intersts in 'Olympiad in Informatics'). Now I'm using Lazarus to debug. but every time when I want to know how much time it spend during the program runs, I have to add something like this: var ta,tb:Tsystemtime; begin

[lazarus] TLabel/TStaticText font changes.

2007-02-15 Thread Charl van Jaarsveldt
Hi, I am trying to get either TLabel or TStaticText to be bold, or just bigger (either or both). I tried setting the Font - Style property in the Object Inspector to get it bold, but it doesn't work. To get it bigger I tried changing the size and height properties for the font, but it does not

[lazarus] gtk2 Problems with x86_64 AMD64

2007-02-15 Thread tanila
Hi all, i have the following problem: Compiling my test-application under gtk1 works very well now i tried to compile the project under gtk2 interface. Both for x86_64 linux. FPC and Lazarus are the actual svn versions. compilation succeeded, but the application does not start. I have this

[lazarus] Patch: Clearing listview selection

2007-02-15 Thread Yury Sidorov
Hello, Here is a patch which clears listview selection when assigning nil to Selected: ListView1.Selected:=nil; It is Delphi compatible. Currently AV is thrown in this case. P.S. Did someone saw my other patch for IDE which I sent to [EMAIL PROTECTED] 2 days ago? Yury Sidorov. ListView.diff

[lazarus] WikiHelp

2007-02-15 Thread Christian Ulrich
Hi there, I have written an small tool to create my online helps from Wiki Pages. I plan to support also printable documentation as pdf in next time. Maybe this is an good way to make the lazarus help. The Lazarus Wiki is used frequently and so we could have an help with tuturials and stuff

Re: [lazarus] XML and XPath?

2007-02-15 Thread Kris Leech
Lee Jenkins wrote: Kris Leech wrote: Can you forward a copy of the fixed unit to my email? And to me as well, so I can commit the fix in SVN :-) It may still need a few bug fixes yet, Ive sent some feedback to Sebastian but I know he is really busy at the moment. However the basics

[lazarus] [lazarus-dev] TCanvas.Rectangle

2007-02-15 Thread Vicnent Snijders
Hi, A bug was reported that TCanvas.Rectangle is incompatible to Delphi, but somebody suggested that this was rather a Delphi bug. For the complete story see: http://www.freepascal.org/mantis/view.php?id=8342 In a note I wrote: The canvas routines in Delphi are inspired by the winapi for

Re: [lazarus] [lazarus-dev] TCanvas.Rectangle

2007-02-15 Thread Luiz Americo Pereira Camara
Vicnent Snijders wrote: Hi, A bug was reported that TCanvas.Rectangle is incompatible to Delphi, but somebody suggested that this was rather a Delphi bug. For the complete story see: http://www.freepascal.org/mantis/view.php?id=8342 In a note I wrote: The canvas routines in Delphi are

Re: [lazarus] [lazarus-dev] TCanvas.Rectangle

2007-02-15 Thread Bisma Jayadi
I'm the person who reported the supposed bug. But after the explanation of a peer, i agreed that was a bug/misbehavior of Delphi. So i'm favorable as not considerating as a bug but as a difference that should be considered when porting a Delphi app. I think that we should follow Delphi as

Re: [lazarus] [lazarus-dev] TCanvas.Rectangle

2007-02-15 Thread Felipe Monteiro de Carvalho
On 2/16/07, Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: So, in resume, i think that more important than getting the LCL to work _exactly_/bit per bit as Delphi/win32 is to document the differences between them. Please, add this information to the Wiki =) There is a page about

Re: [lazarus] TLabel/TStaticText font changes.

2007-02-15 Thread Graeme Geldenhuys
I use Gtk1 and can't get Bold to work on any TLabel either. I'm using the latest Lazarus (svn) and FPC 2.1.1 (svn). Graeme. On 2/15/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hi, I am trying to get either TLabel or TStaticText to be bold, or just bigger (either or both). I tried