Re: [Lazarus] Does anybody know a TStrinGrid-Component capable of sorting Date. Time, Float ...

2017-02-13 Thread Martin Schreiber via Lazarus
On Monday 13 February 2017 20:25:48 John Landmesser via Lazarus wrote: > Hi, > > i searched some time for such a component ... in vain! > > So i developed myself a TStringGrid, that sorts columns with TDate, > TTime, TFloat ... > TWidgetGrid from MSEgui supports it. There TDataEdit descendendants

Re: [Lazarus] Widget set definitions

2017-02-13 Thread Kostas Michalopoulos via Lazarus
The LCL package has this in custom definitions for dependent packages: -dLCL -dLCL$(LCLWidgetType) So Lazarus simply defines the LCL and LCL at compile time. is one of the subdirectories in lcl/interfaces. On Mon, Feb 13, 2017 at 12:21 PM, Mark Morgan Lloyd via Lazarus <

Re: [Lazarus] Does anybody know a TStrinGrid-Component capable of sorting Date. Time, Float ...

2017-02-13 Thread Vojtěch Čihák via Lazarus
Hi, IMO such sorting is not very handy. TStringGrid is for strings. Consider what you do: 1) you have some data structure - dates, floats, integers 2) you fill stringgrid with the data Now you need to sort. You have three possibilities: 1) Sort data structure and fill string grid again - better

[Lazarus] Does anybody know a TStrinGrid-Component capable of sorting Date. Time, Float ...

2017-02-13 Thread John Landmesser via Lazarus
Hi, i searched some time for such a component ... in vain! So i developed myself a TStringGrid, that sorts columns with TDate, TTime, TFloat ... I can't believe that this doesn't allready exists for Lazarus?! For example i found http://www.tkweb.eu/en/delphicomp/kgrid.html BUT!! "Written

Re: [Lazarus] Widget set definitions

2017-02-13 Thread Mark Morgan Lloyd via Lazarus
On 13/02/17 10:00, Mattias Gaertner via Lazarus wrote: On Mon, 13 Feb 2017 09:23:35 +Mark Morgan Lloyd via Lazarus wrote: I've got a bit of diagnostic code that I add to most programs that > retrieves things like Subversion revision numbers and link-time

Re: [Lazarus] Widget set definitions

2017-02-13 Thread Mattias Gaertner via Lazarus
On Mon, 13 Feb 2017 09:23:35 + Mark Morgan Lloyd via Lazarus wrote: > I've got a bit of diagnostic code that I add to most programs that > retrieves things like Subversion revision numbers and link-time build > ID. It also contains > > (*$IFDEF LCLQT *) >

Re: [Lazarus] Widget set definitions

2017-02-13 Thread Ondrej Pokorny via Lazarus
On 13.02.2017 10:23, Mark Morgan Lloyd via Lazarus wrote: Presumably LCLQT and the rest are defined somewhere in the IDE or LCL, but where can I find this so that I can make sure that my code's kept in step? They are defined in the LCL package. See "package options -> usage -> custom" and

[Lazarus] Widget set definitions

2017-02-13 Thread Mark Morgan Lloyd via Lazarus
I've got a bit of diagnostic code that I add to most programs that retrieves things like Subversion revision numbers and link-time build ID. It also contains (*$IFDEF LCLQT *) widV= 'Linked with the Qt widget set'; (*$DEFINE WIDGETSET *) (*$ENDIF *) (*$IFDEF LCLFPGUI *)