Re: [Lazarus] Checking characters in a string

2014-03-12 Thread Richard Mace
OK. Perhaps I could just look for a string with a number in it? Richard On 12 Mar 2014 14:05, silvioprog silviop...@gmail.com wrote: 2014-03-12 10:53 GMT-03:00 Richard Mace richard.m...@gmail.com: Hi, I am trying to check to make sure the a string contains at least 1 uppercase character, 1

Re: [Lazarus] OnGuard

2014-03-09 Thread Richard Mace
Graeme, Thanks for updating that, I am just about to implement into one of my projects. Richard On 8 March 2014 16:58, Graeme Geldenhuys mailingli...@geldenhuys.co.ukwrote: On 2014-03-08 11:50, Richard Mace wrote: Found that the CCR svn repository seems to work. I've updated the source

Re: [Lazarus] OnGuard

2014-03-08 Thread Richard Mace
Thanks Reinier. Found that the CCR svn repository seems to work. On 7 Mar 2014 09:33, Reinier Olislagers reinierolislag...@gmail.com wrote: On 06/03/2014 20:47, Richard Mace wrote: Hi all, I tried to add the OnGuard package to Lazarus 1.2 and am unable to compile because it is complaining

[Lazarus] Scrolling about box

2014-03-06 Thread Richard Mace
Hi all, In the ide when you choose help about, what component is the scrolling text ? Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Scrolling about box

2014-03-06 Thread Richard Mace
Thanks Mattias On 6 Mar 2014 12:00, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 6 Mar 2014 11:53:31 + Richard Mace richard.m...@gmail.com wrote: Hi all, In the ide when you choose help about, what component is the scrolling text See ide/aboutfrm.pas Mattias

[Lazarus] OnGuard

2014-03-06 Thread Richard Mace
Hi all, I tried to add the OnGuard package to Lazarus 1.2 and am unable to compile because it is complaining of a missing unit ogreg. Has anyone got this working recently? Thanks in advance, and many thanks for all who were involved in making 1.2 happen. Richard --

Re: [Lazarus] newbie

2014-01-26 Thread Richard Mace
There is indeed and very goods it is too. Whichever Windows version you choose, Lazarus should work well for you. Richard On 26 January 2014 08:45, Sven Barth pascaldra...@googlemail.com wrote: On 26.01.2014 07:19, M.Zamil wrote: Hello all, I am new to Lazarus and I am wondering if there

[Lazarus] Getting and setting the x numbered word in a sentence

2014-01-07 Thread Richard Mace
Hi, Is there an existing routine in Lazarus that will get and set effectively the x numbered word in a sentence without actually knowing what the actual word is? E.g with the string the cat sat on the mat You could say replace word 3 with string stood so the result would be a string which was the

Re: [Lazarus] OT: Happy new year!

2013-12-31 Thread Richard Mace
Same from me 00:14 from UK :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] ValueListEditor column width

2013-12-29 Thread Richard Mace
Hi, Is there any way of programmatically reading and specifying what the key column width is in a ValueListEditor? Thanks in advance Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] ValueListEditor column width

2013-12-29 Thread Richard Mace
Hi Bart, On 29 December 2013 15:51, Bart bartjun...@gmail.com wrote: On 12/29/13, Richard Mace richard.m...@gmail.com wrote: Hi, Is there any way of programmatically reading and specifying what the key column width is in a ValueListEditor? Should be no different than for any other grid

Re: [Lazarus] TValueListEditor example

2013-12-17 Thread Richard Mace
Hi Bart, Yes, all working in Trunk Thanks for all of your hard work. Richard If you exclude KeyEdit from it, the Key column will not be editable by I've done that, but it is still editable? Works for me in trunk. I have attached a test suite I use for development of ValEdit. Build

[Lazarus] TValueListEditor example

2013-12-15 Thread Richard Mace
Hi All, Please could someone give me an example of how to programmatically add column and then items into a TValueListEditor? Thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] TValueListEditor example

2013-12-15 Thread Richard Mace
Bart, Many thanks for your reply, it's starting to make sense now :) It is possible to make the key column read only? Richard On 15 December 2013 14:59, Bart bartjun...@gmail.com wrote: Hi, Please could someone give me an example of how to programmatically add column and then items into

Re: [Lazarus] TValueListEditor example

2013-12-15 Thread Richard Mace
Hi Bart, Many thanks for your reply. On 15 December 2013 22:51, Bart bartjun...@gmail.com wrote: It is possible to make the key column read only? Look at KeyOptions property. If you exclude KeyEdit from it, the Key column will not be editable by the user. I've done that, but it is still

Re: [Lazarus] Vertical String Grid

2013-12-09 Thread Richard Mace
onthe StringGrid to have orinetaion: Horizontal or Vertical to make things really easy? Richard On 6 December 2013 06:47, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-12-03 15:12, Richard Mace wrote: Could you give me any hints or example code? You can do whatever painting you want

[Lazarus] OnCustomDrawItem

2013-12-04 Thread Richard Mace
Hi, I am using Lazarus 1.2RC1 and am seeing an issue with OnCustomDrawItem. If I hover my mouse over a list view entry which has been modifed as follows: Sender.Font.Style := [fsBold]; Sender.Font.Color := clGreen; then, the first entry in the list view flickers and heading

Re: [Lazarus] Pick List as a Value List item

2013-12-04 Thread Richard Mace
Excellent, thank you. Richard On 3 December 2013 18:24, Bart bartjun...@gmail.com wrote: On 12/3/13, Richard Mace richard.m...@gmail.com wrote: Hi, Is it possible to have a Pick List within the ValueList editor or is it just strings? From my ValEdit test suite: procedure TForm1

[Lazarus] Pick List as a Value List item

2013-12-03 Thread Richard Mace
Hi, Is it possible to have a Pick List within the ValueList editor or is it just strings? Thanks in advance Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Vertical String Grid

2013-12-03 Thread Richard Mace
Hi, I've found the String Grid which looks great with all it's functionailty in, however, is there a way where it can be changed to vertical, effectively so that the columns are rows down the left, like the value list? Richard -- ___ Lazarus mailing

Re: [Lazarus] Vertical String Grid

2013-12-03 Thread Richard Mace
Thanks for your response and I'm sure it is easy but i wouldn't know where to start. Could you give me any hints or example code? Richard On 3 Dec 2013 14:33, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: Hi Richard, On Tuesday 03/12/2013 at 12:06, Richard Mace wrote: I've found

[Lazarus] Deleteing a file that has a path that's longer than 256 characters

2013-11-26 Thread Richard Mace
Hi All, I have an issue where I am unable to delete a file where the path name is longer than 256 characters. Interesting enough, the error as reported from Windows (SysErrorMessage(GetLastError)) reports that Windows is unable to find the path specified. I have even tried renaming the file so

Re: [Lazarus] Deleteing a file that has a path that's longer than 256 characters

2013-11-26 Thread Richard Mace
Many thanks for this input Frederic, I'll check it out. Richard On 26 November 2013 14:16, Frederic Da Vitoria davito...@gmail.com wrote: 2013/11/26 Richard Mace richard.m...@gmail.com Hi All, I have an issue where I am unable to delete a file where the path name is longer than 256

[Lazarus] Openbox and fonts

2013-11-20 Thread Richard Mace
Hi All, Is there a way that we can change the font size in a ListView to be independant of the OS settings? The reason I ask is that changing the font size in CrunchBang (uses Openbox) does not affect the font size in my Lazarus application, and I need to make the font size bigger. Any ideas?

Re: [Lazarus] Lazarus 1.2RC1 Ctrl-F9 not working

2013-11-15 Thread Richard Mace
Thanks Henry, spot on Richard OnIn case anyone is struggling to find it in XFCE: Settings-Window Manager-Keyboard. Disable the shortcut for Workspace 9. Henry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Lazarus 1.2RC1 Ctrl-F9 not working

2013-11-13 Thread Richard Mace
Hi All, Running the latest RC in stock Xubutu 12.04 and Ctrl-F9 doesn't work, but if you select compile from the menu, it works fine. Any ides? Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Local CHM help files or web based?

2013-11-12 Thread Richard Mace
Hi all, I'm just about to start writing help files for my application but I can't work out whether to use web based ones or local c h m ones any ideas welcome? Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] CopyFile in Windows

2013-11-12 Thread Richard Mace
Spot on. Can't believe I missed that. Thanks On 11 November 2013 20:48, Luca Olivetti l...@wetron.es wrote: Al 11/11/13 18:14, En/na Jürgen Hestermann ha escrit: So either you remove the windows unit or, if not possible, you need to fully qualify from which unit you want to call

[Lazarus] CopyFile in Windows

2013-11-11 Thread Richard Mace
Hi, I am getting a compile error in Lazarus 1.0.12 FPC 2.6.2 running on Windows XP: Error: Wrong number of parameters specified for call to CopyFile When I am using the syntax CopyFile(SourceFile,DestFile); Both SourceFile and DestFile are strings. Any ideas, as as far as I can see, at least

[Lazarus] Reading from an external process

2013-11-05 Thread Richard Mace
Hi All, I have got the following code from the wiki for creating and reading from an external process. Effectively, I want to capture all of the output from the process handle.exe, into a StringList so that I can read it to make sure that everything went OK, however, when I run the following code,

[Lazarus] Treeview change and changing events

2013-10-06 Thread Richard Mace
Hi All, I have a Treeview on a form and when I click on a treenode, the OnChanging event get's fired, with one of the variables being passed being AllowChange. If I set that variable to be false, I was expecting that the change would be cancelled and that would be that, however, I also get the

[Lazarus] Adding blob data to MSSQL database

2013-10-04 Thread Richard Mace
Hi All, I am using the native components that come with Lazarus and can successfully connect and retrieve data from a MSSQL database. However, I am now needing to add data to the database, and have read many examples of adding strings or integer's to the database, but I can't find any with an

[Lazarus] Refactoring - Inverse Assignment

2013-09-22 Thread Richard Mace
Hi Guy's, Just wanted to say Thank You to the person that came up with the idea/coded the Inverse Assignment feature. I just stumbled across it and said out loud oh, smart! :) Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Nodes and Image in TTreeview

2013-09-21 Thread Richard Mace
That sorted it. Thanks Mattias. On 20 September 2013 08:23, Mattias Gaertner nc-gaert...@netcologne.dewrote: On Fri, 20 Sep 2013 07:43:12 +0100 Richard Mace richard.m...@gmail.com wrote: Hi, If I add Child nodes with images into a TTreeview, everything looks great until I actually

[Lazarus] Nodes and Image in TTreeview

2013-09-20 Thread Richard Mace
Hi, If I add Child nodes with images into a TTreeview, everything looks great until I actually select the child node, at which point the image disappears until I select another node. Then, the image comes back, but disappears on the new node that I have just selected. Is there a way of adjusting

[Lazarus] Changing the cursor to hourglass then to default

2013-09-20 Thread Richard Mace
Hi, I am trying to change the cursor in my app to busy and then default, when it is going to be busy for a bit. I have changed to cursor := crHourglass and then back to crDefault at the end, but the cursor doesn't update. Even if I put application.processmessages in (after the crHourglass bit).

Re: [Lazarus] Changing the cursor to hourglass then to default

2013-09-20 Thread Richard Mace
Le 20/09/2013 15:47, Richard Mace a écrit : Hi, I am trying to change the cursor in my app to busy and then default, when it is going to be busy for a bit. I have changed to cursor := crHourglass and then back to crDefault at the end, but the cursor doesn't update. *Screen.*Cursor

Re: [Lazarus] TTreenode.data

2013-09-16 Thread Richard Mace
Thanks Antonio, that worked fine. Goodness knows what I was originally doing! Richard Details are missing about your implementation: Lzarus FPC, OS, etc. I've made a little test on Win32 and Linux_X64, Lazarus 1.0.12 I added some nodes to the TTreeView like this: var SData:

Re: [Lazarus] TTreenode.data

2013-09-14 Thread Richard Mace
It is, and yes I am. :-) On 13 Sep 2013 16:01, Reinier Olislagers reinierolislag...@gmail.com wrote: On 13/09/2013 09:37, Antonio Fortuny wrote: Le 13/09/2013 07:48, Richard Mace a écrit : OK, I now have this code: Details are missing about your implementation: Lzarus FPC, OS, etc

Re: [Lazarus] TTreenode.data

2013-09-12 Thread Richard Mace
(Node.Data))); end; And I am now getting an exception when my app run? Richard On 11 September 2013 09:24, Antonio Fortuny a.fort...@sitasoftware.luwrote: Le 11/09/2013 07:51, Richard Mace a écrit : Hi, Can anyone give me an example of adding and retrieving an integer value to a TTreenode

[Lazarus] Possible bug?

2013-09-11 Thread Richard Mace
If you put a TPairSplitter on a form, then in the right sire add a TNotebook, then add a page, then add a memo that is anchored Top,Left and Right. When you resize the main form in design, the memo correctly wraps, but at runtime it doesn't. Is this a bug? Richard --

Re: [Lazarus] TTreenode.data

2013-09-11 Thread Richard Mace
Thanks for the reply. Can't it be type casted because both a pointer and integer are 4 bytes? On 11 Sep 2013 10:46, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-09-11 06:51, Richard Mace wrote: Can anyone give me an example of adding and retrieving an integer value

Re: [Lazarus] TTreenode.data

2013-09-11 Thread Richard Mace
On 11 September 2013 10:19, Graeme Geldenhuys gra...@geldenhuys.co.ukwrote: On 2013-09-11 06:51, Richard Mace wrote: Can anyone give me an example of adding and retrieving an integer value to a TTreenode via it's data property please? The Data property holds a pointer value, so don't

[Lazarus] TTreenode.data

2013-09-10 Thread Richard Mace
Hi, Can anyone give me an example of adding and retrieving an integer value to a TTreenode via it's data property please? I've tried the below, but it doesn't seem to work. Set: with tvMain.Items.AddChildObject(tvMain.Selected,'string',TObject(fUserList.Items[I].Id)) do and getting as, throws

[Lazarus] Confusion with TProcess on Windows

2013-08-08 Thread Richard Mace
Hi All, I am baffled :) If I open a command prompt, change to the directory which contains plink.exe and run the command: plink -pw password root@192.168.0.5 command The command works no problem, but if I do following in a TProcess I get a flash of a black window, then nothing! Process :=

Re: [Lazarus] Confusion with TProcess on Windows

2013-08-08 Thread Richard Mace
Michael and Ludo, You were both spot on, that's what it was. Thanks guys. Rich On 8 August 2013 07:45, Ludo Brands ludo.bra...@free.fr wrote: On 08/08/2013 08:02 AM, Richard Mace wrote: Hi All, I am baffled :) If I open a command prompt, change to the directory which contains

Re: [Lazarus] Getting a remote hostname

2013-08-06 Thread Richard Mace
Thanks Sven On 5 August 2013 20:10, Sven Barth pascaldra...@googlemail.com wrote: On 05.08.2013 19:34, Richard Mace wrote: Hi, What's the best/easiest/only was of getting a host name via an IP address? Effectively, i'd like to ping a number of ip addresses and see what the host name

[Lazarus] Including and existing unit

2013-08-06 Thread Richard Mace
Hi All, I am writing to similar applications, and want the child app to use some of the units of the parent app. If the units for the child app are in a different directory from the parent app, what's the best way of using an include in the child app? Hope that makes sense? Thanks Richard --

[Lazarus] Getting a remote hostname

2013-08-05 Thread Richard Mace
Hi, What's the best/easiest/only was of getting a host name via an IP address? Effectively, i'd like to ping a number of ip addresses and see what the host name is so that I can present the list to the user. Thanks in advance Richard -- ___ Lazarus

Re: [Lazarus] SSH

2013-08-01 Thread Richard Mace
On 08/01/2013 07:48 AM, Richard Mace wrote: I am needing to add the ability to my Lazarus application to copy files to a linux server. Assuming that my application will be run on Windows, what's the best way of copying files to and from a Linux box? Ignoring the Subject I's just

[Lazarus] Path that .exe file is running from

2013-08-01 Thread Richard Mace
Hi, How can I get the path of where my application is running from? I have tried Application.Name but Application is not found? Thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Keeping process window open in Windows

2013-08-01 Thread Richard Mace
Hi, Is there a way that I can keep the console window open TProcess creates so that I can see exactly what the output and return was? Thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Keeping process window open in Windows

2013-08-01 Thread Richard Mace
Perhaps a different way of asking this question would be, how can I redirect the output to a .txt file so that I can check? Thanks in advance and sorry for the rapid questions :) Richard On 1 August 2013 20:10, Richard Mace richard.m...@gmail.com wrote: Hi, Is there a way that I can keep

Re: [Lazarus] Path that .exe file is running from

2013-08-01 Thread Richard Mace
On 1 August 2013 20:09, Reinier Olislagers reinierolislag...@gmail.comwrote: On 01/08/2013 20:56, Richard Mace wrote: Hi, How can I get the path of where my application is running from? I have tried Application.Name but Application is not found? e.g. paramstr(0) Note: getting the exe

Re: [Lazarus] Keeping process window open in Windows

2013-08-01 Thread Richard Mace
Sorry Reinier, yes your absolutely right. I need to use the wiki more :) Thanks Richard On 1 August 2013 20:40, Reinier Olislagers reinierolislag...@gmail.comwrote: On 01/08/2013 21:30, Richard Mace wrote: Perhaps a different way of asking this question would be, how can I redirect

[Lazarus] SSH

2013-07-31 Thread Richard Mace
Hi All, I am needing to add the ability to my Lazarus application to copy files to a linux server. Assuming that my application will be run on Windows, what's the best way of copying files to and from a Linux box? I've heard that the pgp command in putty might work, but I was just wondering if

Re: [Lazarus] WindowsVersion

2013-07-10 Thread Richard Mace
Thanks Howard On 10 July 2013 07:09, Howard Page-Clark h...@talktalk.net wrote: On 10/07/2013 06:33, Richard Mace wrote: Hi, Could someone let me know what until WindowsVersion is in please? The unit is win32proc. Howard -- __**_ Lazarus

[Lazarus] WindowsVersion

2013-07-09 Thread Richard Mace
Hi, Could someone let me know what until WindowsVersion is in please? I am trying to write an app which detects which version of Windows the app is being run on, and have found the following example, but it won't compile because of the Str255 type and WindowsVersion: Thanks in advance function

Re: [Lazarus] TProcess and Windows XP

2013-07-05 Thread Richard Mace
Yes. You can only specify executables in TProcess. .msi is not an executable file. You need to use the shellexecute function (maybe the LCL provides an equivalent) to start the executable associated with a file type (in this case, the MS installer). Ah, that makes sense. Thanks everyone

Re: [Lazarus] TProcess and Windows XP

2013-07-03 Thread Richard Mace
It was the complete path to an .msi file. Does that make a difference? Richard On 3 July 2013 07:16, leledumbo leledumbo_c...@yahoo.co.id wrote: Error 193 is %1 is not a valid Win32 application, what is your .Executable or .CommandLine property? -- View this message in context:

[Lazarus] Querying Windows service pack installations

2013-07-02 Thread Richard Mace
Hi, I am wanting to write an app that checks to see if a particular Windows update has been installed, and then if not, to run the pre downloaded file. Any ideas how to read if the update has already been installed? Is it a registry entry? Thanks in advance Richard --

[Lazarus] Converting pence into pounds and then to string

2012-12-12 Thread Richard Mace
Hi All, Got a simple question that has stumped me, which tends to happen if I don't do development for a couple of months. How's the best way of converting an integer number 208 (that is pence) into a string value that is in pounds (2.08) Thanks as always in advance. Richard --

Re: [Lazarus] Converting pence into pounds and then to string

2012-12-12 Thread Richard Mace
Guy's, Thanks for the quick info. It's brilliant to get so many good answers do quickly. Richard On 12 December 2012 12:17, Lukasz Sokol el.es...@gmail.com wrote: On 12/12/2012 11:23, Richard Mace wrote: Hi All, Got a simple question that has stumped me, which tends to happen if I don't

[Lazarus] Removing a character from string

2012-11-12 Thread Richard Mace
Hi all, I was sure there was a function to do this, but I can't seem to find it. How would I remove a character from a string? Many thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Removing a character from string

2012-11-12 Thread Richard Mace
Michael, Thanks. What would be the best way of finding the position of char in a string (Windows only) Thanks Richard *Richard Mace* *Are you interested in an additional income working part time and without affecting what you already do?* Then watch this 3minutevideo.co.ukhttp://www

[Lazarus] Converting an Integer of pence into pounds

2012-09-26 Thread Richard Mace
Hi All, I am having a bit of a mind block! What would be the code to convert an Integer of pence e.g. 650 into a value of pounds e.g. 6.50 and then convert to a string value of 6.50? Thanks in advance Richard -- ___ Lazarus mailing list

Re: [Lazarus] Converting an Integer of pence into pounds

2012-09-26 Thread Richard Mace
; strval := currtostr(pounds); 2012/9/26 Richard Mace richard.m...@gmail.com Hi All, I am having a bit of a mind block! What would be the code to convert an Integer of pence e.g. 650 into a value of pounds e.g. 6.50 and then convert to a string value of 6.50? Thanks in advance Richard

[Lazarus] Copy a folder to clipboard in Windows

2012-08-07 Thread Richard Mace
Hi All, Is there a way that I can write a bit of code that would copy a folder to clipboard in exactly the way as if I right clicked on a folder within Windows explorer and chose Copy? I would then want to use Windows explorer to paste the folder. Thanks in advance Richard --

[Lazarus] Listing wireless networks

2012-05-24 Thread Richard Mace
Hi, Does anyone have any code that will list available wireless networks on Win? Thanks in advance Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Disabled images not looking right in Win 7

2012-05-10 Thread Richard Mace
HI All, I am currently writing an app and testing on Win 7 and Win xp, and am using a various actions linked to menus and toolbar buttons. I have noticed a big difference in the look of disabled action images between Win XP and Win 7. I have attached both images so that you can see what I mean. In

[Lazarus] (no subject)

2012-05-08 Thread Richard Mace
Hi All, This question may have been asked several times before, so sorry if I am repeating it. When I am trying to debug, and I hover my mouse over a MyObject.property, I get MyObject has no component named property Am I missing something obvious? Do I need to turn an option on? Thanks in advance

Re: [Lazarus] Object inspector hints ?

2012-04-30 Thread Richard Mace
On 30 April 2012 09:23, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 30 Apr 2012 10:03:41 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: Hi, The lazarus code editor shows tooltip hints about identifiers; It gets those from the sources or even fpdoc.

Re: [Lazarus] Strip debug info

2012-04-30 Thread Richard Mace
Well, the problem is the size of the exe file. ;-) When I am working on a project I usually want to generate debug information for debugging. But when I give the generated file to someone else I surely do not need this information in the exe file anymore. So why should I be forced to

Re: [Lazarus] Strip debug info

2012-04-29 Thread Richard Mace
On 30 April 2012 04:49, Alexander Klenin kle...@gmail.com wrote: While I am personally ambivalent about the default state of -Xg switch, I'd like to point out another use case where it matters: compiling on Windows on slow machine with antivirus installed. When I tried to persuade my

[Lazarus] Strip debug info

2012-04-28 Thread Richard Mace
Hi, What's the safest way of making the .exe smaller than default? Is it just to strip debug info? How would I do this? Thanks in advance Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Strip debug info

2012-04-28 Thread Richard Mace
On 28 April 2012 08:21, Reinier Olislagers reinierolislag...@gmail.comwrote: On 28-4-2012 8:57, Richard Mace wrote: Hi, What's the safest way of making the .exe smaller than default? Is it just to strip debug info? How would I do this? Perhaps this will give you some ideas? http

Re: [Lazarus] Strip debug info

2012-04-28 Thread Richard Mace
On 28 April 2012 11:03, John Landmesser joh...@online.de wrote: On 28.04.2012 08:57, Richard Mace wrote: Hi, What's the safest way of making the .exe smaller than default? Is it just to strip debug info? How would I do this? Thanks in advance Richard

Re: [Lazarus] Strip debug info

2012-04-28 Thread Richard Mace
On 28 April 2012 08:21, Reinier Olislagers reinierolislag...@gmail.comwrote: On 28-4-2012 8:57, Richard Mace wrote: Hi, What's the safest way of making the .exe smaller than default? Is it just to strip debug info? How would I do this? Perhaps this will give you some ideas? http

[Lazarus] Renaming an existing unit

2012-04-19 Thread Richard Mace
What's the best steps for renaming a unit, that is part of an existing project? Richard *Richard Mace* *Too much month at the end of the money?* Watch this 3minutevideo.co.ukhttp://www.3minutevideo.co.uk/ -- ___ Lazarus mailing list Lazarus

[Lazarus] Compiling fixes

2012-04-16 Thread Richard Mace
Hi, Is make clean all the correct command line for the 1_0 fixes branch? I want to have everything compiled. Including all components. If I do the above command it seems to miss off the sqldb components? Richard -- ___ Lazarus mailing list

Re: [Lazarus] Compiling fixes

2012-04-16 Thread Richard Mace
On 16 April 2012 09:13, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 16 Apr 2012 08:10:18 +0100 Richard Mace richard.m...@gmail.com wrote: Hi, Is make clean all the correct command line for the 1_0 fixes branch? I want to have everything compiled. Including all components

[Lazarus] Ubuntu 12.04

2012-04-16 Thread Richard Mace
Hi All, When running the Lazarus Fixes 1_0 branch, I have to run Lazarus with the following command: LIBOVERLAY_SCROLLBAR=0 ./lazarus Is there a plan for Lazarus to auto detect Unity, so that Lazarus can be launched with simply: ./lazarus Richard --

[Lazarus] Compile error

2012-04-14 Thread Richard Mace
Hi All, I have done an apt-get install lazarus in Ubuntu 12.04 and then I installed via the 1_0 fixes svn When I do a make clean lazbuild useride I get the following error. ERROR: Package file not found The package FCL is installed, but no valid package file (.lpk) was found. A broken dummy

Re: [Lazarus] Changes of make, part I

2012-04-12 Thread Richard Mace
On 12 April 2012 08:39, Mattias Gaertner nc-gaert...@netcologne.de wrote: Fatal: Ca n't open include file revision.inc ERROR: tool reported error make: *** [useride] Error 2 The file ide\revision.inc is automatically created by default. Somehow you deactivated the creation. I changed

[Lazarus] Ctrl-Space jumps to LCLClasses

2012-04-12 Thread Richard Mace
Hi All, I have just upgraded my Lazarus installation to svn trunk (Thanks to Mattias for all your hard work) and now, when I try to force code completion with Ctrl-Space, my unit jumps to LCLClasses, and I don't understand why? My project compiles fine FYI Richard *Richard Mace* *Too much

Re: [Lazarus] Ctrl-Space jumps to LCLClasses

2012-04-12 Thread Richard Mace
On 12 April 2012 15:40, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 12 Apr 2012 13:21:29 +0100 Richard Mace richard.m...@gmail.com wrote: Hi All, I have just upgraded my Lazarus installation to svn trunk (Thanks to Mattias for all your hard work) and now, when I try

Re: [Lazarus] Changes of make, part I

2012-04-11 Thread Richard Mace
I think I am being a little dumb here What command would I need to issue, to stay up-to-date with trunk, building a new IDE (I guess?) and making sure all of my components are up-to-date. Would it be: make clean all lazarus-ide? Sorry if the question has already been answered, and that I have

Re: [Lazarus] Changes of make, part I

2012-04-11 Thread Richard Mace
On Wed, 11 Apr 2012 11:39:08 +0100 Richard Mace richard.m...@gmail.com wrote: I think I am being a little dumb here What command would I need to issue, to stay up-to-date with trunk, building a new IDE (I guess?) and making sure all of my components are up-to-date. Would

Re: [Lazarus] Changes of make, part I

2012-04-11 Thread Richard Mace
On 11 April 2012 14:55, Mattias Gaertner nc-gaert...@netcologne.de wrote: ./lazbuild.exe --build-ide= primary config path: C:\Users\Richard\AppData\Local\lazarus After running make clean lazbuild useride I get the following error: [...] ERROR: Package file not found The package FCL

Re: [Lazarus] Changes of make, part I

2012-04-11 Thread Richard Mace
On 11 April 2012 15:45, Mattias Gaertner nc-gaert...@netcologne.de wrote: Mattias, I installed 9.30.RC3 in a c:\lazarus directory Then, did a svn checkout in a new c:\lazarus-trunk directory Then, copied the fpc bin directory from c:\lazarus to c:\lazarus-trunk and put it in the

[Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
Hi, When I create a new unit and then save it, I save it in all lower case. I then, edit the actual unit, and rename it to the case that I would like, such as renaming from mainunit to MainUnit. All is OK when I do this, but the tab doesn't update to the correct case until Lazarus is restarted.

[Lazarus] Sorting columns in a ListView

2012-04-10 Thread Richard Mace
Hi, Could anyone give me a quick exmaple of how I could sort the items in a ListView alphabetically when the column header is clicked? Many thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
Richard Mace richard.m...@gmail.com wrote: Hi, When I create a new unit and then save it, I save it in all lower case. I then, edit the actual unit, and rename it to the case that I would like, such as renaming from mainunit to MainUnit. Hint: You can save it as 'MainUnit.pas

Re: [Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
On 10 April 2012 13:10, Sven Barth pascaldra...@googlemail.com wrote: Am 10.04.2012 12:23, schrieb Mattias Gaertner: All is OK when I do this, but the tab doesn't update to the correct case until Lazarus is restarted. Could it not be updated when the actual unit is renamed? Only a minor

[Lazarus] TToolButton dropdown

2012-04-09 Thread Richard Mace
Hi, I have a TToolButton in a tool bar, with it's style set to tbsDropDown and have linked the DropDownMenu property to a drop down menu. All is working fine when I click on the down arrow to the right of the button, however, I'd really like the button to also activate the dropdown menu when it is

[Lazarus] Hashtags

2012-04-03 Thread Richard Mace
Hi All, Do we have a prefered twitter hashtag for Lazarus? I did try #Lazarus but that doesn't seem to have anything to do with our Lazarus Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Lazarus 64 bits and Firebird !

2012-03-18 Thread Richard Mace
On 17 March 2012 23:16, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 17 March 2012 08:27, Richard Mace wrote: It looks like the latest version of the tiOPF components is back in 2008, is that the case, or are there some more recent ones? Definitively not! You probably looked

Re: [Lazarus] Lazarus 64 bits and Firebird !

2012-03-17 Thread Richard Mace
On 16 March 2012 21:39, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 16 March 2012 22:43, Gugui wrote: which the best component to work with lazarus 0.9.30.2 x86_64-linux-gtk 2 and Firebird 2.1 ? Our company uses SqlDB primarily (part of FPC) and FBLib (lives in the tiOPF

[Lazarus] Massive progress...

2012-03-16 Thread Richard Mace
Hi All, A few weeks ago, when I first started kicking the tyres with Lazarus, I sent an email to the list saying how impressed I was with the progress that I thought has been made with Lazarus over the last few years. Over the last few weeks, I have started writing my first proper project with

[Lazarus] Shelling out to a command

2012-03-15 Thread Richard Mace
Hi, Could anyone give me a simple example of how to, via a GUI Lazarus application, shell out to a command. I have a Windows command line .exe which will run in a command Window, and I need to know how to call it? Many thanks Richard -- ___ Lazarus

<    1   2   3   >