[Lazarus] ShowMessage-Window size on newer versions of Windows

2015-04-23 Thread Jürgen Hestermann

When I use ShowMessage then often long file names (or other text)
require to break them into lines. I use a function for this.
But since Windows 8 (or maybe other versions of Windows too) the size
of the WidgetSet-Window is of fixed size (instead of that it widens to
the longest line in the window as it was before). This is a completely
nonsense-change! Who is doing all these bullshit API changes at MS?
I don't get it.

Today I stumbled about this web page
http://zarko-gajic.iz.hr/displaying-long-non-breakable-text-file-path-in-messagedlg-truncationellipsis-issues/
where the author complains in the same way about this issue
but offers a workarounds (but only for Delphi).

My question:
Is this workaround (usage of old style message windows)
available in Lazarus too?
If yes, how?
If no, can it be added?

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Mark Morgan Lloyd

Joost van der Sluis wrote:

On 04/23/2015 12:28 PM, Mark Morgan Lloyd wrote:

Mattias Gaertner wrote:

On Wed, 22 Apr 2015 16:40:02 +0200
Michael Schnell  wrote:


On 04/22/2015 02:07 PM, Mattias Gaertner wrote:

Why downgrade? You can install both and switch any time in the IDE.

Thanks !

But how to "install" most easily on Linux (I always use the svn) .


cd your/fpc/svn
make install INSTALL_PREFIX=/usr


This is broken on 2.7.1. Mantis 27272.


It's "make install PREFIX=/usr" and it is not broken. Case 27272 is 
about INSTALL_BINDIR.


Sorry, I was wrong.

But in general, you don't have to specify any prefix. To install fpc 
from source:


cd your/fpc/svn
make clean all install


I know. But over the last few months I've been trying to keep distinct 
binary versions: originally because I was trying to look at things like 
helpfile content and suspected that some things weren't working properly 
unless all binaries were consistent.


Since 2.7.1 this has been broken, and every time I've built a new trunk 
I've ended up copying a few dozen files from /usr/local/bin to 
/usr/local/bin/fpc.d/2.7.1... even with enforced practice it's been 
getting frustrating.


So my apologies once more for the mistaken cross-reference.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GUI front-end for Firebird Trace Manager

2015-04-23 Thread Michael Van Canneyt



On Thu, 23 Apr 2015, Graeme Geldenhuys wrote:


On 2015-04-23 13:12, Joost van der Sluis wrote:

If you want, I can dig it up.


That would be much appreciated, thanks.


Same here !

Maybe it can be 'componentized' and added to sqldb, just like the 
backup/restore and events.

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Joost van der Sluis

On 04/23/2015 12:28 PM, Mark Morgan Lloyd wrote:

Mattias Gaertner wrote:

On Wed, 22 Apr 2015 16:40:02 +0200
Michael Schnell  wrote:


On 04/22/2015 02:07 PM, Mattias Gaertner wrote:

Why downgrade? You can install both and switch any time in the IDE.

Thanks !

But how to "install" most easily on Linux (I always use the svn) .


cd your/fpc/svn
make install INSTALL_PREFIX=/usr


This is broken on 2.7.1. Mantis 27272.


It's "make install PREFIX=/usr" and it is not broken. Case 27272 is 
about INSTALL_BINDIR.


But in general, you don't have to specify any prefix. To install fpc 
from source:


cd your/fpc/svn
make clean all install

That's it. It could be that you have to adapt your fpc.cfg, though.

Joost.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GUI front-end for Firebird Trace Manager

2015-04-23 Thread Graeme Geldenhuys
On 2015-04-23 13:12, Joost van der Sluis wrote:
> If you want, I can dig it up.

That would be much appreciated, thanks.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] need suggestion about TDataset.Lookup

2015-04-23 Thread Joost van der Sluis

On 04/16/2015 03:10 PM, FreeMan wrote:

I need use TDataset.Lookup, I know how to do this, but need help about,
result field is blob field


The whole idea of blob-fields is that they are not loaded into the 
dataset-in-memory.


They are only read from the database if they are specifically read.

So, no, you can not use lookup to access them.

Joost.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GUI front-end for Firebird Trace Manager

2015-04-23 Thread Joost van der Sluis

On 04/20/2015 11:08 AM, Graeme Geldenhuys wrote:> Hi,


Has anybody built (or know about) a cross-platform GUI front-end for
Firebird 2.5's Trace Manager? I know there are commercial products that
seem very good, but they are all Windows platform only. :-/


Yes, I've build such a tool. But after I've got from it what I needed, I 
stopped the project.


If you want, I can dig it up.

Joost.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Mark Morgan Lloyd

Henry Vermaak wrote:

On Thu, Apr 23, 2015 at 10:28:24AM +, Mark Morgan Lloyd wrote:

Mattias Gaertner wrote:

On Wed, 22 Apr 2015 16:40:02 +0200
Michael Schnell  wrote:


On 04/22/2015 02:07 PM, Mattias Gaertner wrote:

Why downgrade? You can install both and switch any time in the IDE.

Thanks !

But how to "install" most easily on Linux (I always use the svn) .

cd your/fpc/svn
make install INSTALL_PREFIX=/usr

This is broken on 2.7.1. Mantis 27272.


The bug report concerns INSTALL_BINDIR, not INSTALL_PREFIX?
INSTALL_PREFIX works fine for me, always has done.


Sorry, my mistake.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Henry Vermaak
On Thu, Apr 23, 2015 at 10:28:24AM +, Mark Morgan Lloyd wrote:
> Mattias Gaertner wrote:
> >On Wed, 22 Apr 2015 16:40:02 +0200
> >Michael Schnell  wrote:
> >
> >>On 04/22/2015 02:07 PM, Mattias Gaertner wrote:
> >>>Why downgrade? You can install both and switch any time in the IDE.
> >>Thanks !
> >>
> >>But how to "install" most easily on Linux (I always use the svn) .
> >
> >cd your/fpc/svn
> >make install INSTALL_PREFIX=/usr
> 
> This is broken on 2.7.1. Mantis 27272.

The bug report concerns INSTALL_BINDIR, not INSTALL_PREFIX?
INSTALL_PREFIX works fine for me, always has done.

Henry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Mark Morgan Lloyd

Mattias Gaertner wrote:

On Wed, 22 Apr 2015 16:40:02 +0200
Michael Schnell  wrote:


On 04/22/2015 02:07 PM, Mattias Gaertner wrote:

Why downgrade? You can install both and switch any time in the IDE.

Thanks !

But how to "install" most easily on Linux (I always use the svn) .


cd your/fpc/svn
make install INSTALL_PREFIX=/usr


This is broken on 2.7.1. Mantis 27272.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Michael Schnell

On 04/23/2015 11:34 AM, shoKwave wrote:


You can download stable versions form svn too (fpc 2.6.4: 
http://svn.freepascal.org/svn/fpc/tags/release_2_6_4/).


Then build and install like the trunk but using a differnt directory. 
Finaly switch the fpc in Lazarus.



Thanks a lot !

I will give this a try

-Michael

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread shoKwave



Am 23.04.2015 um 10:05 schrieb Michael Schnell:

On 04/22/2015 04:59 PM, Mattias Gaertner wrote:

On Wed, 22 Apr 2015 16:40:02 +0200
Michael Schnell  wrote:


But how to "install" most easily on Linux (I always use the svn) .

cd your/fpc/svn
make install INSTALL_PREFIX=/usr

I know this and to it often to make use of the current svn version of 
fpc.


Sorry for being unclear. I meant:

"how to install the non-current fpc  1.2.6. library version (and use 
it for building/using Lazarus) ?"



You can download stable versions form svn too (fpc 2.6.4: 
http://svn.freepascal.org/svn/fpc/tags/release_2_6_4/).


Then build and install like the trunk but using a differnt directory. 
Finaly switch the fpc in Lazarus.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Michael Schnell

On 04/23/2015 10:11 AM, Mattias Gaertner wrote:


fpc 1.2.6?


Sorry for that nonsense. As said in the first mail in this thread: FPC 2.6.4

Thanks for your patience ;-)

-Michael

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Mattias Gaertner
On Thu, 23 Apr 2015 10:05:24 +0200
Michael Schnell  wrote:

>[...]
> "how to install the non-current fpc  1.2.6. library version (and use it 
> for building/using Lazarus) ?"

fpc 1.2.6?

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Michael Schnell

On 04/22/2015 04:59 PM, Mattias Gaertner wrote:

On Wed, 22 Apr 2015 16:40:02 +0200
Michael Schnell  wrote:


But how to "install" most easily on Linux (I always use the svn) .

cd your/fpc/svn
make install INSTALL_PREFIX=/usr


I know this and to it often to make use of the current svn version of fpc.

Sorry for being unclear. I meant:

"how to install the non-current fpc  1.2.6. library version (and use it 
for building/using Lazarus) ?"


Thanks,
-Michael

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus