Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?

2011-08-01 Thread Graeme Geldenhuys
On 08/02/2011 12:16 AM, Jesus Reyes wrote: > ex: 2: (my current case...) Load in data, process it and then I need > to purge the data, so I clear the SG and load in more data. > > you can do this with grid.rowcount := grid.fixedrows (which is btw > unsupported in delphi AFAIK), no need to

Re: [Lazarus] TCDButton doesn't appear

2011-08-01 Thread Felipe Monteiro de Carvalho
2011/8/1 "Arí Ricardo Ody" : > I can't find the TCDButton in any pallete in the Lazarus. The ide needs to be rebuilt for that. >I cannot insert it manually in the code. why not? -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@list

Re: [Lazarus] Installer recommendations

2011-08-01 Thread Hans-Peter Diettrich
Mark Morgan Lloyd schrieb: The thing that seems really painful to me is that a program which (say) uses database facilities would have to have a way of asking the target OS's package system for the name of the package that contained the appropriate libraries. This probably implies talking to a

Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?

2011-08-01 Thread Jesus Reyes
--- El lun 1-ago-11, John Repucci escribió: De: John Repucci Asunto: Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows / columns? A: lazarus@lists.lazarus.freepascal.org Fecha: lunes, 1 de agosto de 2011, 16:14 From: Jesus Reyes ... Delphi grids do not implement a clear metho

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

2011-08-01 Thread Howard Lee Harkness
I have a dummy database and complete program I can let you look at if you would like. Nothing particularly proprietary about the code; it's a trivial application. The database is the sensitive part, and I have it dummied out. I posted the schema a few days ago, and I've added a zipcode table to th

Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?

2011-08-01 Thread John Repucci
> > From: Jesus Reyes > > > ... Delphi grids do not implement a clear method :D so this is not a > compatibility problem, or is it?. > > The add-on component VirtualStringView/Tree does implment a clear method that does not delete the headers. I can envision cases where I would like a completely

Re: [Lazarus] Installer recommendations

2011-08-01 Thread Mark Morgan Lloyd
Henry Vermaak wrote: On 1 August 2011 10:24, Mark Morgan Lloyd wrote: I wonder if I could phrase the OP's question in a slightly different way. Allowing that Linux and other unix-style OSes have package formats of various kinds, and allowing that an MSI file is just another implementation of t

Re: [Lazarus] Determining OS

2011-08-01 Thread Alberto Narduzzi
here, on a "sligthly" old Fedora 7: cat /etc/*-release gives the following: Fedora release 7 (Moonshine) and lsb_release -a (of course, we ask for "-a" to have a handful of information...) gives: LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor

[Lazarus] TCDButton doesn't appear

2011-08-01 Thread Arí Ricardo Ody
I'm needing to user TCDButton wich is part of the package Customdrawn. I click Package|Open Loaded Package and the package Customdrawn appears in the list of loaded package. If I click in Package|Install/Uninstall Packages the CustomDrawn appears in the left list(e.g., install) I can't find the

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

2011-08-01 Thread Michael Van Canneyt
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 dependent queries after selecting a record in the main table. It takes 8 or 9 seconds to do the 3 calls to TQuery.Open. Any clues as to what I might

Re: [Lazarus] Installer recommendations

2011-08-01 Thread Henry Vermaak
On 1 August 2011 10:24, Mark Morgan Lloyd wrote: > > I wonder if I could phrase the OP's question in a slightly different way. > > Allowing that Linux and other unix-style OSes have package formats of > various kinds, and allowing that an MSI file is just another implementation > of the same sort

Re: [Lazarus] Installer recommendations

2011-08-01 Thread Henry Vermaak
On 31 July 2011 22:43, Graeme Geldenhuys wrote: > On 31 July 2011 22:39, Henry Vermaak wrote: >> It's an interface to the Windows Installer where you define all the >> specifics of your project in an XML file.  It the compiles and links >> into an msi file. > > I can't comment on WiX (never knew a

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

2011-08-01 Thread Howard Lee Harkness
I thought I had fixed the performance problem, but it is still there. What I am doing is opening 3 dependent queries after selecting a record in the main table. It takes 8 or 9 seconds to do the 3 calls to TQuery.Open. Any clues as to what I might be doing wrong? The sample queries done from sqlite

Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?

2011-08-01 Thread Jesus Reyes
--- El lun 1-ago-11, Alexander Klenin escribió: > De: Alexander Klenin > Asunto: Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows / columns? > A: "Lazarus mailing list" > Fecha: lunes, 1 de agosto de 2011, 2:25 > On Mon, Aug 1, 2011 at 18:13, Graeme > Geldenhuys > wrote: > > On 08

Re: [Lazarus] Determining OS

2011-08-01 Thread Mark Morgan Lloyd
Michael Schneider wrote: Am Monday 01 August 2011 11:58:33 schrieb Mark Morgan Lloyd: Taking that into account, I thought it worth taking a closer look at a number of systems. Slackware x86 8.1 with desktop: neither lsb_release nor xdg-open. Slackware x86 13.37 with desktop: no lsb_release, do

Re: [Lazarus] Determining OS

2011-08-01 Thread Alexsander Rosa
We motivate our customers to use Ubuntu if they decide to go the Linux route. (2) 2011/8/1 Graeme Geldenhuys > On 08/01/2011 12:49 PM, Marco van de Voort wrote: > > > > Of course, due to Linux' fragmentation, the standards are most needed on > > Linux too :-) > > Very true, and I see Linux fragm

Re: [Lazarus] Installer recommendations [ot]

2011-08-01 Thread Lukasz Sokol
On 01/08/2011 08:09, Graeme Geldenhuys wrote: > On 08/01/2011 02:55 AM, Hans-Peter Diettrich wrote: >> >> I can second that bad experience. Recently I was short on disk space, >> and wanted to uninstall several applications. Unfortunately the MSI >> rejected the uninstalls - due to lack of disk s

[Lazarus] RE : RE : Determining OS

2011-08-01 Thread Ludo Brands
> So with luck Ubuntu will either have lsb_release on newer > systems, or a > codename embedded in apt/sources.list on older ones. > > All bets are off if access is through a proxy with non-standard names. > > -- On ubuntu 4.10 (first ubuntu release) lsb_release was already installed by defaul

Re: [Lazarus] Determining OS

2011-08-01 Thread Michael Schnell
On 08/01/2011 03:01 PM, Michael Schneider wrote: is cat /etc/*-release working? Suse: yep. I can contribute this: Angstom (ARM distribution) no cat /etc/*-release, no lsb-release, but root@da850-omapl138-evm:~# lsb_release -a Distributor ID: Angstrom Description:Angstrom GNU/Linux 201

Re: [Lazarus] Determining OS

2011-08-01 Thread Graeme Geldenhuys
On 08/01/2011 03:01 PM, Michael Schneider wrote: > just out of curiosity > is > cat /etc/*-release > > working? $ cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS" Regards, - Graeme - -- fpGUI Toolkit - a cross-pla

Re: [Lazarus] Determining OS

2011-08-01 Thread Michael Schneider
Am Monday 01 August 2011 11:58:33 schrieb Mark Morgan Lloyd: > Taking that into account, I thought it worth taking a closer > look at a number of systems. > > Slackware x86 8.1 with desktop: neither lsb_release nor xdg-open. > > Slackware x86 13.37 with desktop: no lsb_release, does have xdg-open.

Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?

2011-08-01 Thread Graeme Geldenhuys
On 08/01/2011 01:44 PM, cobines wrote: > > Try: > > SG.Clean([gzNormal]); That clears the "text" content in cells. It doesn't remove associated Objects with each cell or row, and doesn't reduce the number of rows in the grid. So its behaviour is actually very different to Clear(). Regards,

Re: [Lazarus] Determining OS

2011-08-01 Thread Graeme Geldenhuys
On 08/01/2011 01:32 PM, Michael Van Canneyt wrote: > > Funny to hear this from someone who rolls his own GUI toolkit instead > of using the LCL :-) Yeah, yeah. :) I think we can safely say there is a huge difference in project scale. "whole OS" vs "gui toolkit". Regards, - Graeme - -- fpGU

Re: [Lazarus] TTabControl (d)evolution

2011-08-01 Thread Felipe Monteiro de Carvalho
On Mon, Aug 1, 2011 at 1:41 PM, Hans-Peter Diettrich wrote: > I couldn't find any code where a TTabControl is painted? lcl/include/tabcontrol.inc: procedure TTabControl.Paint; var ARect: TRect; TS: TTextStyle; Details: TThemedElementDetails; begin //DebugLn(['TTabControl.Paint Bounds=',d

Re: [Lazarus] RE : Determining OS

2011-08-01 Thread Mark Morgan Lloyd
Ludo Brands wrote: Can somebody confirm this for Ubuntu? Are there comparable files for other distreax? Both my Ubuntu 8.04.4 and Ubuntu 10.04.3 systems have the lsb_release and the xdg-open commands available. So I guess that's +1 to Canonical for at least trying to be helpful! Yes, but f

Re: [Lazarus] TTabControl (d)evolution

2011-08-01 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: It the case of TTabControl one idea is custom drawing the entire control, with themes it looks native, and that's how it already works now. Finishing the current TTabControl would probably be easier to do then finishing your new implementation. I couldn't f

Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?

2011-08-01 Thread cobines
2011/8/1 John Repucci : > I have a fixed row in my SG with the titles for the columns, but when I do a > SG.clear, the fixed rows are deleted. > I understand why that is happening (the so-called fixed rows are just row > [0] within the SG). > > However, it would be nice if the fixed rows were not a

[Lazarus] RE : Determining OS

2011-08-01 Thread Ludo Brands
> > >> Can somebody confirm this for Ubuntu? Are there comparable > files for > >> other distreax? > > > > Both my Ubuntu 8.04.4 and Ubuntu 10.04.3 systems have the > lsb_release > > and the xdg-open commands available. So I guess that's +1 > to Canonical > > for at least trying to be helpfu

Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-08-01 Thread Felipe Monteiro de Carvalho
2011/8/1 "Arí Ricardo Ody" : > Excuse me, but are you telling me that I can't use mouse in the Lazarus > applications that I develop in windows(7, in this case) and compile to run > in windows mobile? Your device has no mouse. Logically you cannot use something which doesn't exist. The browser em

Re: [Lazarus] Determining OS

2011-08-01 Thread Michael Van Canneyt
On Mon, 1 Aug 2011, Graeme Geldenhuys wrote: Linux unification is IMHO further away then in the 1997-2000 timeframe. I agree. Some things have improved, but others have not. And with every Tom, Dick and Harry wanting his own "distro" doesn't help the cause much. Funny to hear this from s

Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-08-01 Thread Arí Ricardo Ody
Excuse me, but are you telling me that I can't use mouse in the Lazarus applications that I develop in windows(7, in this case) and compile to run in windows mobile? Be patient, I am not understanding what's happen... [ ] Ricardo - Original Message - From: Felipe Monteiro de Carval

Re: [Lazarus] Determining OS

2011-08-01 Thread Mark Morgan Lloyd
Marco van de Voort wrote: On Mon, Aug 01, 2011 at 12:16:15PM +0200, Graeme Geldenhuys wrote: On 08/01/2011 11:58 AM, Mark Morgan Lloyd wrote: Solaris (8 and 10) have neither lsb_release nor xdg-open as standard. Same probably applies to BSD. :-) That doesn't come as a surprise considering that

Re: [Lazarus] Determining OS

2011-08-01 Thread Graeme Geldenhuys
On 08/01/2011 12:49 PM, Marco van de Voort wrote: > > Of course, due to Linux' fragmentation, the standards are most needed on > Linux too :-) Very true, and I see Linux fragmentation become more and more of a problem. Many people would like to move off Windows for all kinds of reasons, it's just

Re: [Lazarus] Determining OS

2011-08-01 Thread Marco van de Voort
On Mon, Aug 01, 2011 at 12:16:15PM +0200, Graeme Geldenhuys wrote: > On 08/01/2011 11:58 AM, Mark Morgan Lloyd wrote: > > > > Solaris (8 and 10) have neither lsb_release nor xdg-open as standard. > > Same probably applies to BSD. > > :-) That doesn't come as a surprise considering that they are

Re: [Lazarus] Determining OS

2011-08-01 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: Can somebody confirm this for Ubuntu? Are there comparable files for other distreax? Both my Ubuntu 8.04.4 and Ubuntu 10.04.3 systems have the lsb_release and the xdg-open commands available. So I guess that's +1 to Canonical for at least trying to be helpful! Yes, b

Re: [Lazarus] Determining OS

2011-08-01 Thread Mark Morgan Lloyd
Marco van de Voort wrote: On Sun, Jul 31, 2011 at 04:43:44PM +0200, Graeme Geldenhuys wrote: 2011/7/31 ik : Please note that system.d is Fedora implementation (v15) so for Linux you need to detect also the Linux distro, and that's a bit more complicated. Any distro worth using should support t

Re: [Lazarus] Determining OS

2011-08-01 Thread Graeme Geldenhuys
On 08/01/2011 11:58 AM, Mark Morgan Lloyd wrote: > > Solaris (8 and 10) have neither lsb_release nor xdg-open as standard. > Same probably applies to BSD. :-) That doesn't come as a surprise considering that they are "Linux" Standards Base. > xdg-open in the past, on the assumption that since

Re: [Lazarus] Determining OS

2011-08-01 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 31 July 2011 23:10, Marco van de Voort wrote:>> Any distro worth using should support the LSB standards. With that>> being said, you can use the 'lsb_release' command to find out exactly>> what distribution and version is being used.>> Not installed by default on Fed

Re: [Lazarus] Installer recommendations

2011-08-01 Thread Mark Morgan Lloyd
Henry Vermaak wrote: On 31 July 2011 17:18, David M. Lawrence wrote: Back in the ancient days when I got Delphi, it was bundled with a version of InstallShield. Can ya'll recommend any decent -- preferably free -- replacements? If you like the Windows installer system, can anyone point me to

[Lazarus] RX 1.0 on lazarus 0.9.30

2011-08-01 Thread Diwakoe
Dea all, I already installed lazarus 0.9.30 on ubuntu maverick and want to install rxnew component, but the dependency package is required rx 1.0. On this release 0.9.30 I can not find any rx.lpk package on component folder, only couple .pas file. Is there any solution how to download rx 1.0 comp

Re: [Lazarus] Determining OS

2011-08-01 Thread Michael Schnell
On 08/01/2011 10:17 AM, Felipe Monteiro de Carvalho wrote: It works in Mandriva Linux: [felipe@localhost fpvectorial]$ lsb_release -a Of course lsb_release -a does work with Suse as well, only without a parameter it issues a n/a. -Michael -- ___

Re: [Lazarus] Determining OS

2011-08-01 Thread Felipe Monteiro de Carvalho
It works in Mandriva Linux: [felipe@localhost fpvectorial]$ lsb_release -a LSB Version: lsb-4.0-ia32:lsb-4.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:cxx-3.2-ia32:cxx-3.2-noarch:graphics-3.2-ia32:graphics-3.2-noarch:lsb-3.0-ia32:lsb-3.0-noarc

Re: [Lazarus] Determining OS

2011-08-01 Thread Michael Schnell
On 07/31/2011 04:55 PM, ik wrote: I'm using Arch Linux and that is my output: $ lsb_release LSB Version:n/a same with Suse. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazar

Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?

2011-08-01 Thread Alexander Klenin
On Mon, Aug 1, 2011 at 18:13, Graeme Geldenhuys wrote: > On 08/01/2011 03:10 AM, John Repucci wrote: >> I have a fixed row in my SG with the titles for the columns, but when I >> do a SG.clear, the fixed rows are deleted. > > I have raised that issue too. I believe what you have to do, is set the

Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?

2011-08-01 Thread Graeme Geldenhuys
On 08/01/2011 03:10 AM, John Repucci wrote: > I have a fixed row in my SG with the titles for the columns, but when I > do a SG.clear, the fixed rows are deleted. I have raised that issue too. I believe what you have to do, is set the RowCount property to equal FixedRowCount - instead of calling C

Re: [Lazarus] Installer recommendations

2011-08-01 Thread Graeme Geldenhuys
On 08/01/2011 02:55 AM, Hans-Peter Diettrich wrote: > > I can second that bad experience. Recently I was short on disk space, > and wanted to uninstall several applications. Unfortunately the MSI > rejected the uninstalls - due to lack of disk space :-( We have had that too. Makes you wonder w

Re: [Lazarus] TTabControl (d)evolution

2011-08-01 Thread Felipe Monteiro de Carvalho
On Mon, Aug 1, 2011 at 2:52 AM, Hans-Peter Diettrich wrote: > After all the compatibility discussions I have the strong impression, that > Delphi compatibility should be reconsidered. It's easy to provide fully > compatible components for the Win32 platform, so why do we offer a very > different i