[Lazarus] How do you install Lazarus on Debian?

2012-11-08 Thread Howard Lee Harkness
directory `/etc/lazarus/ide' make: *** [ide] Error 2 root@debian:/etc/lazarus# -- Howard Lee Harkness (214) 390-4896 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How do you install Lazarus on Debian?

2012-11-08 Thread Howard Lee Harkness
and fpc-packages before doing the make. After an apt-get install fpc, make appears to be running just fine in the lazarus directory. Now to figure out how to start it up... On Thu, Nov 8, 2012 at 1:40 PM, Chavoux Luyt chav...@gmail.com wrote: Hi Howard On 8 November 2012 21:26, Howard Lee

Re: [Lazarus] How do you install Lazarus on Debian?

2012-11-08 Thread Howard Lee Harkness
://wiki.lazarus.freepascal.org/Installing_Lazarus -- Howard Lee Harkness (214) 390-4896 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] returning the stop execution dialog

2012-11-02 Thread Howard Page-Clark
, General page, Show message on stop checkbox. Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Splash window with drop shadow

2012-10-31 Thread Howard Page-Clark
On 30/10/12 10:49, Leonardo M. Ramé wrote: Alberto, how can I make a window transparent?. There's a suggestion here: http://www.lazarus.freepascal.org/index.php/topic,18738.msg106055.html#msg106055 -- ___ Lazarus mailing list

Re: [Lazarus] TStrings, Windows and Unicode

2012-10-24 Thread Howard Page-Clark
correctly when supplied (as here) with a string from the IDE Editor which is also UTF8. However the streaming code in SaveToFile eventually calls some Windows system routine which does not handle UTF8 and so requires conversion from the UTF8 filename to be correctly handled. Howard

Re: [Lazarus] TStrings, Windows and Unicode

2012-10-24 Thread Howard Page-Clark
Marc Weustink wrote: A stringlist is not LCL and it does not expect anything but strings. If you write the contents of a stringlist to a file you get bytes you have put into the list. Nothing more nothing less. Thanks for the clarification. Juergen Hestermann wrote: There is the theory of

Re: [Lazarus] TStrings, Windows and Unicode

2012-10-24 Thread Howard Page-Clark
(as Marc pointed out) and when later retrieved via a stringlist LoadFromFile call those bytes will be inserted into the stringlist just as they were saved, ready to display in UTF8 encoding. Howard -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] TStrings, Windows and Unicode

2012-10-24 Thread Howard Page-Clark
Explorer then recognises the encoding? Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TListBox.AddItem doesn't exist?

2012-10-21 Thread Howard Page-Clark
to store a list of string items use lstVolumeList.Items.Add(Volumes[index].VolumeName); Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to deselect text in edit control

2012-10-09 Thread Howard Page-Clark
On 09/10/12 1:32, Frank Church wrote: Whenever I press the enter key in an edit control which is not configured to tab to the next item, all the ext in the edit control becomes selected. Is there some way to disable this behaviour, or unselect the selected text? Try setting AutoSelect to

[Lazarus] Object Inspector

2012-09-19 Thread Howard Page-Clark
property to be displayed in the grid without the need to scroll. Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Passing a section of an array to a function.

2012-09-10 Thread Howard Page-Clark
: integer; begin i:=1; if (cbuf[0]and $F0)=$20 then begin Inc(i,2); len:=cbuf[i]and $7; end; ... end; There is no looping construct (while or repeat) in your decompress_r procedure. Howard -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Lazarus 1.0 release notes

2012-09-06 Thread Howard Page-Clark
be reviewed by one of the developers in case some rephrasing (say for clarity) inadvertently changes the meaning. Obviously I do not intend for that to happen, but any editing opens that possibility. Howard -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] TForm BorderIcons

2012-09-06 Thread Howard Page-Clark
On 06/9/12 8:21, Roberto P. wrote: Before going to call for a bug, is there anyone who can try it on a blank Form ? Setting biHelp here (Win 7, 32-bit app) does not give an extra border icon. Presence/absence of a manifest makes no difference either. Howard

Re: [Lazarus] What is aarre?

2012-09-04 Thread Howard Page-Clark
distinctive. If an English word is preferred it could be called chest, which describes the container, rather than the contents. Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] What happened with make LCL_PLATFORM?

2012-08-29 Thread Howard Page-Clark
a 2.7. FPC, i. e. it does not use features introduced in the 2.7.x branch. Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus 1.0 Release

2012-08-29 Thread Howard Page-Clark
On 29/8/12 8:06, Bernd wrote: Is there an official press release so that the news portals that might happen to stumble over this news know what they need to write? I've just done a bit of tidying-up on the wiki history page in case news editors use that link (which Mattias mentions) for

Re: [Lazarus] html control from turbopower_ipro that comes with lazarus

2012-08-23 Thread Howard Page-Clark
have to adapt your text data, i. e. save it as an .html file and insert the HTML tags yourself. So the text 'This has a single *bold* word' would need to be saved as (say) test.html containing the data: html body This has a single bbold/b word /body /html Howard

[Lazarus] Delphi post-XE3 roadmap

2012-08-21 Thread Howard Page-Clark
of another open source toolchain and their own new debugger, revamped FireMonkey etc. http://blogs.embarcadero.com/jtembarcadero/2012/08/20/xe3-and-beyond/ Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Lazarus 1.0 release candidate 1 available for download

2012-08-02 Thread Howard Page-Clark
flawlessly. I like the new Windows installer options Install chm files, and Clean up: Delete all user config files from previous installs. Haven't checked yet whether these are available on other OSs. The installer somehow has a more professional feel to it. Howard

[Lazarus] Type_Class_Explorer application

2012-08-02 Thread Howard Page-Clark
, so the selection is based on RC1, and since component selection is unfortunately hard-coded (I'm not sufficiently experienced to work out how to do this dynamically), further adjustments may be needed to make the program work with a comprehensive Version 1.0 component set. Howard

[Lazarus] Unitname already in project dialog

2012-07-27 Thread Howard Page-Clark
. There are clearly various ways to improve the wording - but there is no reason the provided buttons should not be better identified, along with their purpose. Howard attachment: unitalreadyexists.png-- ___ Lazarus mailing list Lazarus

[Lazarus] TTIProgressBar component

2012-07-23 Thread Howard Page-Clark
Presently TTIProgressBar's properties Link and UseRTTIMinMax remain public. To be useful in this component surely they should be promoted to published? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] KZdesktop: tabbed IDE package

2012-07-23 Thread Howard Page-Clark
KZ doesn't ring a bell for me (and Google didn't help either), and since the developer seems to be Brazilian he's probably unaware of any offensive meaning. Can somebody please enlighten me? see http://en.wikipedia.org/wiki/Nazi_concentration_camps --

[Lazarus] Strings Property Editor dialog newline keystroke reminder

2012-07-08 Thread Howard Page-Clark
the dialog's StatusLabel's caption have a bit of help appended to it something on the lines of ' (Use [Ctrl][Enter] to add a new line)' ? Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

[Lazarus] Probable CodeTools error?

2012-07-05 Thread Howard Page-Clark
In recent Lazarus trunk revisions (running under Win 7, 32-bit) I get CodeTools errors on units that specify unneeded units in the uses clause (usually Classes or SysUtils). The Messages window error message includes a negative line number something along the lines of unit1.pp(-1,7) Error:

Re: [Lazarus] Probable CodeTools error?

2012-07-05 Thread Howard Page-Clark
the problem. Is it possible for the code tools to be aware of an updated compiler and warn (or automatically rescan)? Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Probable CodeTools error?

2012-07-05 Thread Howard Page-Clark
On 05/7/12 6:56, Mattias Gaertner wrote: On Thu, 05 Jul 2012 18:11:00 +0100 It does in many cases, but not in all. Scanning everything every time would be too slow. Understood. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Main menu disappeared

2012-06-20 Thread Howard Page-Clark
On 20/6/12 5:50, Timothy Groves wrote: I am working on a project, and decided for the first time ever to use a main menu. I set it up, it worked, and then it vanished. It is still present in the IDE and source code, but it no longer appears when the app is run. You could check that the

Re: [Lazarus] Object inspector hints ?

2012-04-30 Thread Howard Page-Clark
Handler for mouse click which hardly aids a programmer looking for more information, and in fact is hardly worth displaying at all. Would it be difficult to add parameter and parameter type information, and function return type such as codetools offers in the Editor? Howard

Re: [Lazarus] Object inspector hints ?

2012-04-30 Thread Howard Page-Clark
On 30/4/12 11:54, Hans-Peter Diettrich wrote: Howard Page-Clark schrieb: What's the use of such additional information in OI? You can let the OI create the event handler for you, no need to bother with parameters here. For people who use a stable release all the time, set up according

Re: [Lazarus] Removing read-only files in FileUtil.DeleteDirectory ?

2012-04-30 Thread Howard Page-Clark
On 30/4/12 11:45, Bart wrote: On 4/29/12, Juha Manninenjuha.mannine...@gmail.com wrote: I would change the declaration to: function DeleteDirectory(const DirectoryName: string; OnlyChilds: boolean; const RemoveReadOnlyFiles: Boolean = False): boolean; If the suggestion is adopted

Re: [Lazarus] Has there been a known bug in GTK2 where TabVisible property affects the visibility of the tabsheet?

2012-04-25 Thread Howard Page-Clark
On 25/4/12 2:44, Frank Church wrote: I am running a program developed for Win32 on Linux and I notice that setting the TabVisible to false on a PageControl make the whole tabsheet invisible. Is that a known bug with the GTK2 page control? TabSheets have two properties (for Delphi

[Lazarus] Minor typo in rttigrids.pas and objectinspector.pp

2012-04-19 Thread Howard Page-Clark
I've noticed that the property PrefferedSplitterX is misspelled in three source files (should be PreferredSplitterX). The corresponding F data field that holds the value is spelled correctly, so it's clearly an inadvertent typo. Locations are: lazarus\components\rtticontrols\rttigrids.pas

[Lazarus] minor typo

2012-03-15 Thread Howard Page-Clark
/lazarus/lcl/lclclasses.pp has a minor typo in line 203. The debugln string should read '... circular reference ...' (not 'circulair'). -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] External help dialog

2012-03-04 Thread Howard Page-Clark
On 04/3/12 5:57, Mattias Gaertner wrote: On Sat, 03 Mar 2012 23:05:32 + Howard Page-Clarkh...@talktalk.net wrote: The work being done to improve the Help functionality in Lazarus is much appreciated. One part of the newer interface that currently seems inadequate to me is the naming

[Lazarus] External help dialog

2012-03-03 Thread Howard Page-Clark
The work being done to improve the Help functionality in Lazarus is much appreciated. One part of the newer interface that currently seems inadequate to me is the naming of the Macrofy button (Tools¦Options¦Help¦External). I think it is OK to name the underlying string function Macrofy, as a

Re: [Lazarus] Test

2012-03-02 Thread Howard Page-Clark
On 02/3/12 9:22, Richard Mace wrote: Please can someone respond, as I don't think my messages are getting through to the list. That message appeared OK. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] from hfiandor 23 feb 2012 about popup menu

2012-02-22 Thread Howard Page-Clark
On 23/2/12 3:50, Ing. Héctor F. Fiandor Rosario wrote: Dear colleagues: i have included a tPopUpMenu in a form and programed as in Delphi, but I can´t make it visible. 1. You've hijacked an existing thread with an unrelated topic. Please start a new thread when raising a new issues. 2. A

Re: [Lazarus] Adding Notes in FPDoc

2012-02-11 Thread Howard Page-Clark
On 11/2/12 3:04, Michael Van Canneyt wrote: Within the notes tag, you can include one or more note tags. Why so complicated? Can you give a *reasonable* example of the intended usage of this feature? Yes. User notes on a website. This website has been in the pipeline for a long time. The

Re: [Lazarus] RE : TQuery.Open 100x slower than same code using PostrgreSQL

2012-02-06 Thread Howard Lee Harkness
-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Howard Lee Harkness (214) 390-4896 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] TPageControl - how to use it?

2012-01-28 Thread Howard Page-Clark
On 28/1/12 7:50, Bernd wrote: I have a TPageControl on my form and at runtime I want to add a new page with a SynEdit on it. This is what I have so far: ... But it does not work. Try this: procedure TForm1.AddTab(AFileName: String); var Sheet: TTabSheet; Ed: TSynEdit; begin Sheet :=

Re: [Lazarus] TPageControl - how to use it?

2012-01-28 Thread Howard Page-Clark
On 28/1/12 9:00, Mattias Gaertner wrote: Hint: You don't need the Delphism set Parent first under LCL. The above will create a lot of updates. procedure TForm1.AddTab(AFileName: String); var Sheet: TTabSheet; Ed: TSynEdit; begin Sheet := TTabSheet.Create(pagecontrol1); Sheet.Caption

Re: [Lazarus] Displaying serial data

2012-01-26 Thread Howard Page-Clark
On 26/1/12 10:28, Koenraad Lelong wrote: I'm using a memo to contain the serial port data. I add the data to the last line of the memo, until I get a CR and/or LF character, then I add a new line in the memo. That works fine, except when the lines are longer, then the memo starts to flicker.

Re: [Lazarus] Need help with TValueListEditor

2012-01-18 Thread Howard Page-Clark
On 18/1/12 5:52, Mattias Gaertner wrote: Please create a bug report with a small example project (only sources). Done, issue 21115. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Cycle vs. Circle errors

2012-01-05 Thread Howard Page-Clark
On 05/1/12 12:39, Mattias Gaertner wrote: In both cases the important thing is not so much the adjective (circular, cyclic) but the combination of adjective plus noun, which /should/ be used consistently in documentation and error messages. Yes. And since this is open source, it should also

Re: [Lazarus] circular reference etc.

2012-01-05 Thread Howard Page-Clark
On 05/1/12 4:21, etienne.lebl...@free.fr wrote: in a famous French langage dictionnary there was once upon a time a perfect circular reference étourneau (see) sansonnet sansonnet (see) étourneau .. not to mention the numerous programming books which have indexes containing entries like

Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Howard Page-Clark
On 03/1/12 5:43, Mattias Gaertner wrote: The term circle was translated from German graph theory, but the common words in English graph theory are cycle and cyclic. I'm not familiar with graph theory and the possibly specialist technical meanings given there to words in common use.

Re: [Lazarus] Combobox styles

2011-12-27 Thread Howard Page-Clark
On 27/12/11 12:57, Hans-Peter Diettrich wrote: A combobox with csSimple style is not handled properly at design time (win32). It's impossible to give the control a specific Height, it stays on the dropdown style equivalent (Height=23). Is it me, or is this a bug? I think it's a limitation of

Re: [Lazarus] Date format conversion function?

2011-12-22 Thread Howard Lee Harkness
On Thu, Dec 22, 2011 at 2:30 AM, michael.vancann...@wisa.be wrote: See FormatDateTime in sysutils. And TDateEdit has a Date property which is of type TDateTime. Michael. I discovered that about thirty minutes after I posted the request. Thanks! -- Howard Lee Harkness (214) 390-4896

[Lazarus] Date format conversion function?

2011-12-21 Thread Howard Lee Harkness
! -- Howard Lee Harkness (214) 390-4896 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Check changes on disk with loading

2011-12-11 Thread Howard Page-Clark
' Possible improved phrasing (if I've understood the feature correctly) might be 'Check for disk file changes via content rather than timestamp' Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Petition to Skype

2011-12-05 Thread Howard Page-Clark
and enhance Skype services, just as C++, Python and Java developers are doing. Yours sincerely, the Free Pascal and Lazarus community BTW, does FPC/Lazarus currently run under OS/2? Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] RunError(53216) in TOpenDialog

2011-11-09 Thread Howard Page-Clark
On 09/11/11 6:21, Anders E. Andersen wrote: I uninstalled win64 lazarus and installed win32 lazarus and rebuild my project. It works fine in 32 bit! Then I uninstalled that and reinstalled 64 bit lazarus and rebuild again. The program crashes again. In which case you have uncovered a bug in

Re: [Lazarus] RunError(53216) in TOpenDialog

2011-11-08 Thread Howard Page-Clark
On 08/11/11 12:30, Anders E. Andersen wrote: I am using Lazarus 0.9.30.2 on Windows 7 Home premium 64 bit. When I hover with the mouse over a word document in TOpenDialog I get the runerror. I compile and run your project without errors on Win7. This runtime error you experience may be

[Lazarus] recent Tools-Example Projects dialog

2011-10-28 Thread Howard Page-Clark
Just for clarity in the code I suggest that \ide\manageexamples.pas lines 54 and 55 should have procedures named: FillDirectoriesPending; FillProjectsPending; with a 'P' not a 'B'? Howard -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Lazarus 0.9.30.2RC2 available

2011-10-26 Thread Howard Page-Clark
On 26/10/11 7:39, silvioprog wrote: The setup to Windows is corrupted too: http://imagebin.org/180904 Strange, I had no problem with the windows download or installation. Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] How to obtain the color of a component?

2011-10-20 Thread Howard Page-Clark
to overriding the Loaded method to set the desired value. Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] unfortunate typo in ideintf\propedits.pp

2011-10-14 Thread Howard Page-Clark
Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] FindInFiles dialog size

2011-10-14 Thread Howard Page-Clark
components correctly. Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Does Lazarus have file name and line number macros for inserting into DebugLn/WriteLn statements?

2011-10-06 Thread Howard Page-Clark
On 06/10/11 1:12, Frank Church wrote: all that remains is the name of the current procedure :) There is already $ProcedureName() you can use in a code template (see Tools-Code Templates). H -- ___ Lazarus mailing list

Re: [Lazarus] lazde problem with '' character

2011-10-03 Thread Howard Page-Clark
On 03/10/11 1:14, Mattias Gaertner wrote: On Sun, 02 Oct 2011 20:57:20 +0100 Howard Page-Clarkh...@talktalk.net wrote: If you attempt to open the lazarus\docs\xml\rtl\system.xml in lazde it chokes on line 9705 pos 31 with an exception: character '' not allowed in attribute value I

[Lazarus] lazde problem with '' character

2011-10-02 Thread Howard Page-Clark
is causing the problem. Presumably lazde was not used to create this file? Is there some way to escape characters such as this which have a special meaning to an XML file parser? If not, should I report this as a bug? Howard -- ___ Lazarus mailing list

Re: [Lazarus] Problem to rename a form

2011-09-28 Thread Howard Page-Clark
On 28/9/11 1:24, Rafael Tuim Elias wrote: I found a strange behavior in Lazarus IDE. To reproduce follow that steps: 1 - Create a new project. 2 - Rename Form1 to fmAINmENU 3 - Save all 4 - Try to rename the form to FMainMenu IDE doesn't permit. The error: This component has already the class

Re: [Lazarus] typinfo routine gives memory leak

2011-09-21 Thread Howard Page-Clark
On 20/9/11 10:02, Martin wrote: On 20/09/2011 21:59, Howard Page-Clark wrote: The following (button and memo) program loses 276 bytes heap memory that are not recovered. ... procedure TForm1.BGetPropertiesClick(Sender: TObject); var ppl: PPropList; pl: TPropList; ppi: PPropInfo; pi

[Lazarus] typinfo routine gives memory leak

2011-09-20 Thread Howard Page-Clark
^; if PropIsType(TEdit, pi.Name, tkAString) then ShowMessageFmt('TEdit''s first PropList entry is %s of tkAString',[pi.Name]); end; end. Anyone know what I'm doing wrong? Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] [Feature request] Add PNF image to Package

2011-08-31 Thread Howard Page-Clark
of code, and use the lazres.exe tool to generate the correct .lrs file yourself. Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] TQuery.Open 100x slower than same code using PostrgreSQL

2011-08-06 Thread Howard Lee Harkness
:='select * from clients where lastname is not NULL order by lastname,firstname,middlename'; qClients.Open; // takes 4 to 6 seconds here There has GOT to be something I'm not understanding. I thought SQLite was going to speed things up, not slow them down. On Wed, Aug 3, 2011 at 11:10 AM, Howard

[Lazarus] Chain procedure in FPC/Lazarus?

2011-08-03 Thread Howard Lee Harkness
In Delphi, I recall that there is an Exec procedure for calling another .exe, and a Chain procedure for transferring to another .exe. I assume that these are also in FPC/Lazarus, but I haven't found any Lazarus documentation for these calls. Could somebody tell me where to look? -- Howard Lee

Re: [Lazarus] Chain procedure in FPC/Lazarus?

2011-08-03 Thread Howard Lee Harkness
2011/8/3 Arí Ricardo Ody ar...@gmx.com: TProcess That was what I needed. Using that as the search term got me the relevant documentation. Thanks! -- Howard Lee Harkness (214) 390-4896 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] I thought it was solved -- TQuery.Open very slow.

2011-08-01 Thread Howard Lee Harkness
sqlite3.exe return instantaneously, so I am concluding that I have not set something up correctly in the LCL. -- Howard Lee Harkness (214) 390-4896 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] I thought it was solved -- TQuery.Open very slow.

2011-08-01 Thread Howard Lee Harkness
. Would you like me to email it directly to you, or post it? On Mon, Aug 1, 2011 at 1:56 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 1 Aug 2011, Howard Lee Harkness wrote: I thought I had fixed the performance problem, but it is still there. What I am doing is opening 3

Re: [Lazarus] (no subject)

2011-07-31 Thread Howard Page-Clark
. It is only a solution for Windows, and it does not remove the 'permanent' cursor until a second click, but it should get you on the right path. Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] SQLite performance problem. Simple query takes too long.

2011-07-29 Thread Howard Lee Harkness
mse00...@gmail.com: Am Donnerstag 28 Juli 2011, 22:01:32 schrieb Howard Lee Harkness: Unfortunately, it has a lot of information that is sensitive (belongs to a client). I will look at building a database with dummy data. I can, however, provide the schema, if that would help. I tested with MSEide

Re: [Lazarus] RE : SQLite performance problem. Simple query takes toolong.

2011-07-29 Thread Howard Lee Harkness
; does the COMMIT and a BEGIN to start a new transaction. Just to be complete, I'm using lazarus 0.9.31 svn with fpc 2.5.1 svn. Ludo -- Howard Lee Harkness (214) 390-4896 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] RE : RE : SQLite performance problem. Simple query takestoolong.

2011-07-29 Thread Howard Lee Harkness
insight into what is causing the problem. It looks like the lookups for the dependent tables are happening multiple times. Not sure why that would be (I didn't think I did anything to that part of the code other than change database engines), but I hope to find out shortly. -- Howard Lee Harkness (214

[Lazarus] RE : SQLite performance problem. Simple query takes too long. (SOLVED)

2011-07-29 Thread Howard Lee Harkness
the slight difference in behavior, and he thinks that is an improvement, because it will help prevent accidentally entering phone #, address, etc. for the wrong client. Thanks for the help! On Fri, Jul 29, 2011 at 2:21 PM, Howard Lee Harkness howard.lee.harkn...@gmail.com wrote: On Fri, Jul 29, 2011

Re: [Lazarus] SQLitePass package install problems

2011-07-28 Thread Howard Lee Harkness
: Free, trusted and rich email service. Get it now. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Howard Lee Harkness (214) 390-4896

[Lazarus] SQLite performance problem. Simple query takes too long.

2011-07-28 Thread Howard Lee Harkness
by lastname,firstname,middlename' ) Params = left = 504 top = 64 end -- Howard Lee Harkness -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SQLite performance problem. Simple query takes too long.

2011-07-28 Thread Howard Lee Harkness
:54:03 Howard Lee Harkness wrote: I am doing a conversion of a small database application from PostgreSQL to SQLite. I have gotten the program to work, but it it about 2 orders of magnitude slower than the PostgreSQL version. In particular, a query like     select distinct clients.* from

Re: [Lazarus] Problem with SQLite commit in Lazarus

2011-07-27 Thread Howard Lee Harkness
during the run of the program? Surely that would speed things up. 2011/7/27 Max Vlasov max.vla...@gmail.com: On Wed, Jul 27, 2011 at 6:28 AM, Howard Lee Harkness howard.lee.harkn...@gmail.com wrote: I am guessing that I am missing some basic detail in the setup somewhere

[Lazarus] Problem with SQLite commit in Lazarus

2011-07-26 Thread Howard Lee Harkness
subtlety in the operation of SQLite. I would greatly appreciate somebody sending me a clue on how to deal with this. TIA! -- Howard Lee Harkness -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Documentation style

2011-07-23 Thread Howard Page-Clark
) be trusted to edit them correctly? What about formatting style, indenting etc. for code examples? It would be good to have consistency here too. I notice quite a lot of fpc/Lazarus source is quite terse: [ result:=i*trunc(x/y); rather thanresult := i * Trunc( x/y ); ] yours Howard

Re: [Lazarus] Absolute paths on different platforms

2011-06-27 Thread Howard Page-Clark
On 27/6/11 8:12, Marco van de Voort wrote: Some of these features have been added only after W2K, as Mark annotated. It may be for compatibility reasons, or not-updated Explorer behaviour, when links and shortcuts still are stored in the old-fashion way. The tipping point is Vista, not XP

Re: [Lazarus] Drawing angle boundaries

2011-06-24 Thread Howard Page-Clark
(uAngleDrawing.lfm is just an empty form). Howard unit uAngleDrawing; {$mode objfpc}{$H+} interface uses Classes, Forms, Graphics, Dialogs, ExtCtrls; type TPointArray = array[0..3] of TPoint; { Tquad } Tquad = class private FCanvas: TCanvas; Fa, Fb, Fc, Fd, FIntersection

Re: [Lazarus] LCL memory leak

2011-06-20 Thread Howard Page-Clark
On 20/6/11 7:04, Mattias Gaertner wrote: On Mon, 20 Jun 2011 17:43:35 +0100 Howard Page-Clarkh...@talktalk.net wrote: Since the LCL has become a package like any other I've been building it using the heaptrace unit. This shows an 8 byte leak in line 30 of chmlcl.pas following the creation

Re: [Lazarus] New features since 0.9.30?

2011-06-17 Thread Howard Page-Clark
parameter brackets that gives you a full parameter hint window: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Parameter_Hints Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Whats happend for snapshots?

2011-06-09 Thread Howard Page-Clark
and are updated. When snapshot back? The most up-to-date source seems to be via ftp: ftp://ftp.freepascal.org/pub/lazarus/snapshots Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Parameter hints

2011-05-16 Thread Howard Page-Clark
On 16/5/11 10:03, Mattias Gaertner wrote: Hi all, For those wondering what the new button in the parameter hints is good for: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Parameter_Hints Thanks Mattias - this is a boon! Howard

Re: [Lazarus] clDefault propagation

2011-04-26 Thread Howard Page-Clark
), clDefault is here - default color for all wincontrols is clDefault and that's it. So I think you're seeing the difference between clBtnFace (earlier) and clDefault (now). Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] trouble with Radiogroup

2011-04-06 Thread Howard Page-Clark
On 06/4/11 12:08, hector fiandor wrote: hello: i have a medical app. with TDbf were it is used a lot of RadioGroups and CheckBox. When call Insert for a new patient, all this RadioGroups and CheckBox appears Cheched as default, but it is preferred to appear as unchecked and lets the doctors to

Re: [Lazarus] Refactor Menu

2011-03-05 Thread Howard Page-Clark
, rather to raise the question if now is not a good time to take stock of the erratic menu growth and changes over the past few years, and as Juha suggests, refactor it constructively. Howard -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Newbie

2011-03-05 Thread Howard Page-Clark
. I see no progress, only result 10. Add Application.ProcessMessages; e. g. like this ... edit1.Text:=inttostr(i); Application.ProcessMessages; sleep(1000); ... Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Newbie

2011-03-05 Thread Howard Page-Clark
On 05/3/11 7:36, DSK wrote: Try for i:=0 to 1 and comment out //sleep .. This will fail - he's declared i as shortint H -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Newbie

2011-03-05 Thread Howard Page-Clark
On 05/3/11 9:22, DSK wrote: Howard, This will fail - he's declared i as shortint Dang .. shoulda checked first ... 10,000 shouldn't fail: Smallint -32768 .. 32767 mea culpa - misread -- ___ Lazarus mailing list Lazarus

[Lazarus] Rebuilding IDE+packages fails

2011-02-10 Thread Howard Page-Clark
With the latest Win32 snapshot (revision 29435) I cannot successfully rebuild the IDE even with 'clean all'. Compilation fails saying Recompiling fcllaz, checksum changed for RegisterFCL fcllaz.pas(64,35) Fatal: Can't find unit fcllaz used by PackageSystem with the fcllaz unit opened in the

[Lazarus] Missing SVN resource: sortselectiondlg.lfm

2011-02-08 Thread Howard Page-Clark
Recent (Windows) snapshots have not got a working Edit-Sort Selection dialog, because the sortselectiondlg.lfm is missing from the snapshot. As far as I can see it has dropped out of the SVN repository too. Anyone able to rectify this? H -- ___

Re: [Lazarus] ICS on Lazarus?

2011-01-24 Thread Howard Page-Clark
On 24/1/11 5:16, Joshua Lim wrote: Hi, i've a major project that uses ICS, and I intend to port it to Lazarus. Has anyone used ICS on Lazarus successfully? Note - you seem to have hijacked a thread with a different subject, I presume by mistake. The webservices toolkit (WST) available at:

Re: [Lazarus] Forum under attack

2011-01-12 Thread Howard Page-Clark
be jumped through, and suggests that the users of the forum can't write valid Pascal! Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

<    1   2   3   >