Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread Hans-Peter Diettrich

Jürgen Hestermann schrieb:


Icons are realy useless.
You cannot search for nor filter nor sort them.
They eat up space and performance without benefit.
I think that they were introduced for the illiterates who can't read.


Icons have been introduced for "visual" people, who organize their 
desktop by landmarks and locations, not by searching.


When I met the first GUI on my Atari ST, I was familiar with it within a 
few minutes, and knew that this is the way I want to work with computers 
and programs. While I can remember patterns (arrangements, pictures, 
faces...) very well, I cannot remember names (of commands, people...), 
unless I use these names every day.


I admit that too many icons, with too few differences, are not really 
helpful, i.e. textual menus and lists have their place in my world, too. 
But the same applies to text (captions), which have to be different 
enough without wasting too much space. That's why I'd prefer icons 
without captions, but with hints, and kind of a (context) menu for an 
*entire* toolbar that can be popped up whenever needed. In the best case 
that popup should be searchable by keystrokes (incremental search), to 
please me and also people why prefer to work with text.


DoDi


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


Re: [Lazarus] Fwd: New Lazarus pascal conference

2014-10-14 Thread waldo kitty

On 10/14/2014 6:31 PM, Giuliano Colla wrote:


Il 15/10/2014 00:14, Graeme Geldenhuys ha scritto:

On 2014-10-14 06:11, Vincent Snijders wrote:

It is not in Amsterdam, but in Leiden.

I knew that, but 99.9% of the people have probably never heard of
Leiden, so considering that Amsterdam is 15 minutes away I listed the
more well known city. :)



You underestimate the list readers!


that can easily work both ways ;)


Whoever has taken an elementary course in physics has learned about the Leiden
bottle, or Leiden jar,


yes and yes...


the grand-grandfather of modern capacitors! :-)


never thought about that aspect... plus, the town's name was just a town's name 
when i read it... as it was just a town name that meant nothing to me i, too, 
was curious as to the location even though i will probably never travel outside 
the US again...


so while 2 + 2 = 4, i only had 2 + 0 ;)

no offense intended...

--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

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


Re: [Lazarus] Fwd: New Lazarus pascal conference

2014-10-14 Thread Giuliano Colla


Il 15/10/2014 00:14, Graeme Geldenhuys ha scritto:

On 2014-10-14 06:11, Vincent Snijders wrote:

It is not in Amsterdam, but in Leiden.

I knew that, but 99.9% of the people have probably never heard of
Leiden, so considering that Amsterdam is 15 minutes away I listed the
more well known city. :)



You underestimate the list readers!
Whoever has taken an elementary course in physics has learned about the 
Leiden bottle, or Leiden jar, the grand-grandfather of modern 
capacitors! :-)


Giuliano

--
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?


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


Re: [Lazarus] Fwd: New Lazarus pascal conference

2014-10-14 Thread Graeme Geldenhuys
On 2014-10-14 06:11, Vincent Snijders wrote:
> It is not in Amsterdam, but in Leiden.

I knew that, but 99.9% of the people have probably never heard of
Leiden, so considering that Amsterdam is 15 minutes away I listed the
more well known city. :)


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] PoHelper: a tool to assist translators

2014-10-14 Thread Giuliano Colla


Il 14/10/2014 23:31, Maxim Ganetsky ha scritto:

14.10.2014 21:50, Giuliano Colla пишет:


Il 14/10/2014 11:01, Giuliano Colla ha scritto:


Il 14/10/2014 00:39, Maxim Ganetsky ha scritto:

Cleanup functions break e.g. lazaruside.ru.po. It looks corrupted in
PoEdit. I didn't have time to investigate further.





Fixed. Now CleanUp removes around 900 stale PreviousId from
lazaruside.ru.po, without corrupting it.

Please test.


Where to get it?



You're right, I forgot to say. Same place. i.e.:

http://www.bononiadocta.it/Lazarus/pohelper.zip

Giuliano

--
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?


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


Re: [Lazarus] PoHelper: a tool to assist translators

2014-10-14 Thread Maxim Ganetsky

14.10.2014 21:50, Giuliano Colla пишет:


Il 14/10/2014 11:01, Giuliano Colla ha scritto:


Il 14/10/2014 00:39, Maxim Ganetsky ha scritto:

Cleanup functions break e.g. lazaruside.ru.po. It looks corrupted in
PoEdit. I didn't have time to investigate further.





Fixed. Now CleanUp removes around 900 stale PreviousId from
lazaruside.ru.po, without corrupting it.

Please test.


Where to get it?

--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru

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


Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread Michael Van Canneyt



On Tue, 14 Oct 2014, Jürgen Hestermann wrote:



Am 2014-10-14 um 18:43 schrieb waldo kitty:

On 10/14/2014 5:20 AM, hinsta...@yandex.ru wrote:

These urgently need to be reduced to icons with no text
http://s30.postimg.org/5hxkrzfkx/LWaste.png


why? and why "urgently"??

my personal preference is text only or text with icon if text only is not 
available... i never have liked just plain icons with no indication of 
their action...




+1
Icons are realy useless.
You cannot search for nor filter nor sort them.
They eat up space and performance without benefit.


There must be something wrong with your eyes then.
Icons use less space than text.

You can count the number of buttons where the text is smaller (as in: less 
wide) than the icon, on 1 hand.
At a first glance, for 'Add' the text is as wide as the icon. For all other 
buttons the text is wider than the icon.

So, no thank you. I prefer icons; you can get rid of the text for all I care.

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


Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread Juha Manninen
There is also a report about it :
  http://bugs.freepascal.org/view.php?id=22278

Clearly there should be an option for Icon only / Text Only / Both.
It should be respected by all IDE windows and not only Project Inspector.

Yes, I think '+' and '-' signs are more understandable than most other icons.
In many situations I notice hovering my mouse cursor over speedbuttons
just to see their hints because the icon itself is not informative
enough.
Then it is better if there is text already without hovering.

Juha

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


Re: [Lazarus] Lazarus 1.2.6 Release

2014-10-14 Thread Frederic Da Vitoria
2014-10-14 19:27 GMT+02:00 Mattias Gaertner :

> On Tue, 14 Oct 2014 19:17:08 +0200
> Frederic Da Vitoria  wrote:
>
> >[...]
> > I downloaded 1.2.6 32 bits and installed it over 1.2.4 (standard
> > installation). When I launch Lazarus, the welcome window says 1.2.4 and
> > then get the Configure Lazarus IDE dialog which tells me: "warning: wrong
> > version in ide\version.inc: 1.2.6". All the other tabs seem ok. I'm a bit
> > confused, what should I do?
> >
> > I am running Windows 7 64 bits,
>
> Maybe you have a custom built IDE left.
> Check "View / IDE Internals / About IDE", then in page "General"
> under "Global IDE Options / Primary Config Directory". This gives you a
> directory.
> Search a lazarus.exe (for example bin\lazarus.exe).
> Close the IDE. Delete the bin\lazarus.exe and start the IDE.
>
> Mattias
>

You mean: "make fpc compile the IDE from the sources"? Nice, I should have
thought of that. This is definitely one of the nicest points of Lazarus :-)

Out of curiosity, I did not do it thus, though. I redid the upgrade and got
the same result. I had previously checked, I did not have any "Lazarus"
task in memory. So I simply moved Lazarus.exe to another partition and
redid the upgrade for the third time and this time I got the Upgrade
configuration dialog.

Conclusion:
 - I don't know why the upgrade would not overwrite Lazarus.exe (is my
anti-virus playing me some silly trick?)
 - Your way to do it would have certainly have been much faster :-D

Thanks for the new version. Now I'm going to play a little with it.

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] PoHelper: a tool to assist translators

2014-10-14 Thread Giuliano Colla


Il 14/10/2014 11:01, Giuliano Colla ha scritto:


Il 14/10/2014 00:39, Maxim Ganetsky ha scritto:
Cleanup functions break e.g. lazaruside.ru.po. It looks corrupted in 
PoEdit. I didn't have time to investigate further.






Fixed. Now CleanUp removes around 900 stale PreviousId from 
lazaruside.ru.po, without corrupting it.


Please test.

Giuliano



--
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?


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


Re: [Lazarus] Lazarus 1.2.6 Release

2014-10-14 Thread Mattias Gaertner
On Tue, 14 Oct 2014 19:17:08 +0200
Frederic Da Vitoria  wrote:

>[...]
> I downloaded 1.2.6 32 bits and installed it over 1.2.4 (standard
> installation). When I launch Lazarus, the welcome window says 1.2.4 and
> then get the Configure Lazarus IDE dialog which tells me: "warning: wrong
> version in ide\version.inc: 1.2.6". All the other tabs seem ok. I'm a bit
> confused, what should I do?
> 
> I am running Windows 7 64 bits,

Maybe you have a custom built IDE left.
Check "View / IDE Internals / About IDE", then in page "General"
under "Global IDE Options / Primary Config Directory". This gives you a
directory.
Search a lazarus.exe (for example bin\lazarus.exe).
Close the IDE. Delete the bin\lazarus.exe and start the IDE.

Mattias


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


Re: [Lazarus] Lazarus 1.2.6 Release

2014-10-14 Thread Frederic Da Vitoria
2014-10-14 19:17 GMT+02:00 Frederic Da Vitoria :

>
> 2014-10-14 17:12 GMT+02:00 Mattias Gaertner :
>
>>
>> The Lazarus team is glad to announce the release of Lazarus 1.2.6.
>>
>> This release was built with fpc 2.6.4.
>>
>> Here is the list of changes for Lazarus and Free Pascal:
>> http://wiki.lazarus.freepascal.org
>>
>> http://wiki.lazarus.freepascal.org/Lazarus_1.2_fixes_branch#Fixes_for_1.2.6_.28Merged.29
>> http://wiki.lazarus.freepascal.org/User_Changes_2.6.4
>>
>> On Windows the installer now allows 2 independent installations.
>>
>> http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
>>
>> The release is available for download on SourceForge:
>> http://sourceforge.net/projects/lazarus/files/
>>
>> Choose your CPU, OS, distro and then the "Lazarus 1.2.6" directory.
>> Windows x64 users: please use the 32 bit installer if possible. See
>>
>> http://wiki.lazarus.freepascal.org/Windows_Programming_Tips#FPC_2.6.x.2FLazarus_warning_.28Missing_support_for_SEH.29
>> for more details.
>>
>> Minimum requirements:
>> Windows:   98
>> FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit
>> Mac OS X:  10.5 for Intel cpus, 10.4 for PowerPC, LCL only 32bit,
>>non LCL apps can be 64bit
>>
>> The svn tag is
>> http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_2_6
>>
>> For people who are blocked by SF, the Lazarus releases from SourceForge
>> are mirrored at:
>> ftp://freepascal.dfmk.hu/pub/lazarus/releases/
>> and later at (after some time for synchronization)
>> http://michael-ep3.physik.uni-halle.de/Lazarus/releases/
>> and
>> http://mirrors.iwi.me/lazarus/
>>
>>
>> Mattias
>>
>
> I downloaded 1.2.6 32 bits and installed it over 1.2.4 (standard
> installation). When I launch Lazarus, the welcome window says 1.2.4 and
> then get the Configure Lazarus IDE dialog which tells me: "warning: wrong
> version in ide\version.inc: 1.2.6". All the other tabs seem ok. I'm a bit
> confused, what should I do?
>
> I am running Windows 7 64 bits,
>

I just checked: lazarus.exe is 2.6.4 from 2014-06-14. Something must have
gone wrong during the update. I'm going to stop Lazarus, check there are no
hidden tasks left and restart the update.

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus 1.2.6 Release

2014-10-14 Thread Schindler Karl-Michael
Hi

Am 14.10.2014 um 19:10 schrieb lazarus-requ...@lists.lazarus.freepascal.org:

> Date: Tue, 14 Oct 2014 17:12:39 +0200
> From: Mattias Gaertner 
> Subject: [Lazarus] Lazarus 1.2.6 Release
> To: lazarus@lists.lazarus.freepascal.org
> Message-ID: <20141014171239.39f12323@limapholos>
> Content-Type: text/plain; charset=US-ASCII
> 
> The Lazarus team is glad to announce the release of Lazarus 1.2.6.
> 
> This release was built with fpc 2.6.4.
> 
> …
> 
> Mattias

Great work. Fink packages for Mac OS X will be ready on the weekend.

MIchael Schindler


signature.asc
Description: Message signed with OpenPGP using GPGMail
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus 1.2.6 Release

2014-10-14 Thread Frederic Da Vitoria
2014-10-14 17:12 GMT+02:00 Mattias Gaertner :

>
> The Lazarus team is glad to announce the release of Lazarus 1.2.6.
>
> This release was built with fpc 2.6.4.
>
> Here is the list of changes for Lazarus and Free Pascal:
> http://wiki.lazarus.freepascal.org
>
> http://wiki.lazarus.freepascal.org/Lazarus_1.2_fixes_branch#Fixes_for_1.2.6_.28Merged.29
> http://wiki.lazarus.freepascal.org/User_Changes_2.6.4
>
> On Windows the installer now allows 2 independent installations.
>
> http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
>
> The release is available for download on SourceForge:
> http://sourceforge.net/projects/lazarus/files/
>
> Choose your CPU, OS, distro and then the "Lazarus 1.2.6" directory.
> Windows x64 users: please use the 32 bit installer if possible. See
>
> http://wiki.lazarus.freepascal.org/Windows_Programming_Tips#FPC_2.6.x.2FLazarus_warning_.28Missing_support_for_SEH.29
> for more details.
>
> Minimum requirements:
> Windows:   98
> FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit
> Mac OS X:  10.5 for Intel cpus, 10.4 for PowerPC, LCL only 32bit,
>non LCL apps can be 64bit
>
> The svn tag is
> http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_2_6
>
> For people who are blocked by SF, the Lazarus releases from SourceForge
> are mirrored at:
> ftp://freepascal.dfmk.hu/pub/lazarus/releases/
> and later at (after some time for synchronization)
> http://michael-ep3.physik.uni-halle.de/Lazarus/releases/
> and
> http://mirrors.iwi.me/lazarus/
>
>
> Mattias
>

I downloaded 1.2.6 32 bits and installed it over 1.2.4 (standard
installation). When I launch Lazarus, the welcome window says 1.2.4 and
then get the Configure Lazarus IDE dialog which tells me: "warning: wrong
version in ide\version.inc: 1.2.6". All the other tabs seem ok. I'm a bit
confused, what should I do?

I am running Windows 7 64 bits,

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread Jürgen Hestermann


Am 2014-10-14 um 18:43 schrieb waldo kitty:

On 10/14/2014 5:20 AM, hinsta...@yandex.ru wrote:

These urgently need to be reduced to icons with no text
http://s30.postimg.org/5hxkrzfkx/LWaste.png


why? and why "urgently"??

my personal preference is text only or text with icon if text only is not 
available... i never have liked just plain icons with no indication of their 
action...



+1
Icons are realy useless.
You cannot search for nor filter nor sort them.
They eat up space and performance without benefit.
I think that they were introduced for the illiterates who can't read.


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


Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread waldo kitty

On 10/14/2014 5:20 AM, hinsta...@yandex.ru wrote:

These urgently need to be reduced to icons with no text
http://s30.postimg.org/5hxkrzfkx/LWaste.png


why? and why "urgently"??

my personal preference is text only or text with icon if text only is not 
available... i never have liked just plain icons with no indication of their 
action...


--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

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


Re: [Lazarus] Lazarus 1.2.6 Release

2014-10-14 Thread silvioprog
On Tue, Oct 14, 2014 at 12:12 PM, Mattias Gaertner <
nc-gaert...@netcologne.de> wrote:

>
> The Lazarus team is glad to announce the release of Lazarus 1.2.6.
>
> This release was built with fpc 2.6.4.
>
> Here is the list of changes for Lazarus and Free Pascal:
> http://wiki.lazarus.freepascal.org
>
> http://wiki.lazarus.freepascal.org/Lazarus_1.2_fixes_branch#Fixes_for_1.2.6_.28Merged.29
> http://wiki.lazarus.freepascal.org/User_Changes_2.6.4
>
> On Windows the installer now allows 2 independent installations.
>
> http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
>
> The release is available for download on SourceForge:
> http://sourceforge.net/projects/lazarus/files/
>
> Choose your CPU, OS, distro and then the "Lazarus 1.2.6" directory.
> Windows x64 users: please use the 32 bit installer if possible. See
>
> http://wiki.lazarus.freepascal.org/Windows_Programming_Tips#FPC_2.6.x.2FLazarus_warning_.28Missing_support_for_SEH.29
> for more details.
>
> Minimum requirements:
> Windows:   98
> FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit
> Mac OS X:  10.5 for Intel cpus, 10.4 for PowerPC, LCL only 32bit,
>non LCL apps can be 64bit
>
> The svn tag is
> http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_2_6
>
> For people who are blocked by SF, the Lazarus releases from SourceForge
> are mirrored at:
> ftp://freepascal.dfmk.hu/pub/lazarus/releases/
> and later at (after some time for synchronization)
> http://michael-ep3.physik.uni-halle.de/Lazarus/releases/
> and
> http://mirrors.iwi.me/lazarus/
>
>
> Mattias


Awesome, i'll download it now.

Thanks alot! (y)

-- 
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazarus 1.2.6 Release

2014-10-14 Thread Mattias Gaertner

The Lazarus team is glad to announce the release of Lazarus 1.2.6.

This release was built with fpc 2.6.4.

Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org
http://wiki.lazarus.freepascal.org/Lazarus_1.2_fixes_branch#Fixes_for_1.2.6_.28Merged.29
http://wiki.lazarus.freepascal.org/User_Changes_2.6.4

On Windows the installer now allows 2 independent installations.
http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus

The release is available for download on SourceForge:
http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 1.2.6" directory.
Windows x64 users: please use the 32 bit installer if possible. See
http://wiki.lazarus.freepascal.org/Windows_Programming_Tips#FPC_2.6.x.2FLazarus_warning_.28Missing_support_for_SEH.29
for more details.

Minimum requirements:
Windows:   98
FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit
Mac OS X:  10.5 for Intel cpus, 10.4 for PowerPC, LCL only 32bit,
   non LCL apps can be 64bit

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_2_6

For people who are blocked by SF, the Lazarus releases from SourceForge
are mirrored at: 
ftp://freepascal.dfmk.hu/pub/lazarus/releases/
and later at (after some time for synchronization)
http://michael-ep3.physik.uni-halle.de/Lazarus/releases/
and
http://mirrors.iwi.me/lazarus/


Mattias

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


Re: [Lazarus] Default button for QuestionDLG

2014-10-14 Thread Reinier Olislagers
On 14/10/2014 14:16, Jürgen Hestermann wrote:
> So all these additional documentation need to be added here too.

Don't hesitate to post the bug tracker number with your patch(es). Thanks.


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


Re: [Lazarus] Default button for QuestionDLG

2014-10-14 Thread Jürgen Hestermann


Am 2014-10-14 um 12:10 schrieb Bart:

On 10/14/14, Reinier Olislagers  wrote:


http://wiki.lazarus.freepascal.org/Dialog_Examples#QuestionDlg

Added a note about having to specify Caption when using IsDefault.



That is good. Many Thanks.

But I wonder whether this is the desired behaviour.
Shouldn't a single 'IsDefault' string be treated as setting the
button as the default button even when no other caption is specified?
Assigning 'IsDefault' as button caption seems very uncommon to me.


And yet another important fact regarding QuestionDLG ist the abillity
to set keys to answer the dialog (instead of clicking on the buttons).
At least on windows (don't know about other OS'es) you can prepend
one character in each button caption with an ampersand (&) to make
this key answer the dialog too. For example with

QuestionDlg('Writing log file','Stop writing log file?', 
mtConfirmation,[mrYes,'&Yes',mrNo,'&No','IsDefault'],0)

the Y of 'Yes' and the N of 'No' are shown underlined and Y and N
can be used to answer the dialog in the same way as clicking with the mouse.
For (mainly) keyboard driven applications this is very important IMO.

When I remember my password I will add this to the wiki too.

But the wiki is not the first place where users look for help.
Searching for 'Lazarus QuestionDLG' lets me find
http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/questiondlg.html
at first and it looks like the official (complete) documentation.
I would not expect to find additional (important) facts somewhere else
(and even when, how long should I search until I give up?).
So all these additional documentation need to be added here too.


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


Re: [Lazarus] Default button for QuestionDLG

2014-10-14 Thread Bart
On 10/14/14, Reinier Olislagers  wrote:

> http://wiki.lazarus.freepascal.org/Dialog_Examples#QuestionDlg

Added a note about having to specify Caption when using IsDefault.

Bart

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


Re: [Lazarus] PoHelper: a tool to assist translators

2014-10-14 Thread Bart
On 10/14/14, Maxim Ganetsky  wrote:

> IMO all this should be integrated into PoChecker.

I disagree, as I have explained now many times before.

The added functionality that is in SimplePoFiles unit could/should
however preferrably be integrated into Translations unit.

Bart

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


Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread Vojtěch Čihák

Hello,
 
I don't think it urgently need to be removed.
On the other hand, Lazarus is not consistent. Some windows (Call Stack, Project 
Inspector) has icons with captions while others (Watch List, History) are icons 
only.
If you will create patch to remove text, please check that all buttons has 
proper Hint. Usually they have but for example Call Stack doesn't.
 
Vojtěch 
__

Od: 
Komu: Lazarus mailing list 
Datum: 14.10.2014 11:21
Předmět: [Lazarus] Redundant text on project buttons


These urgently need to be reduced to icons with no text 
http://s30.postimg.org/5hxkrzfkx/LWaste.png 
 

--

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


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


Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread Michael Van Canneyt



On Tue, 14 Oct 2014, Reinier Olislagers wrote:


On 14/10/2014 11:46, Michael Van Canneyt wrote:



On Tue, 14 Oct 2014, Reinier Olislagers wrote:


On 14/10/2014 11:20, hinsta...@yandex.ru wrote:

These urgently need to be reduced to icons with no text


No, they don't. Icons cannot always indicate exactly what the purpose of
a control is - having a text and preferably a hint helps.

IIRC, the project inspector has enough vertical space to allow for
this...

However, if you feel strongly about it, please feel free to submit a
patch in the bugtracker against current trunk.


They should simply follow the global setting for such things, no ?


If there is such a global setting, yes.


Tools  | Options
then
Environment | Desktop
There such things can be specified more or less.

Michael.

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


Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread Reinier Olislagers
On 14/10/2014 11:46, Michael Van Canneyt wrote:
> 
> 
> On Tue, 14 Oct 2014, Reinier Olislagers wrote:
> 
>> On 14/10/2014 11:20, hinsta...@yandex.ru wrote:
>>> These urgently need to be reduced to icons with no text
>>
>> No, they don't. Icons cannot always indicate exactly what the purpose of
>> a control is - having a text and preferably a hint helps.
>>
>> IIRC, the project inspector has enough vertical space to allow for
>> this...
>>
>> However, if you feel strongly about it, please feel free to submit a
>> patch in the bugtracker against current trunk.
> 
> They should simply follow the global setting for such things, no ?
> 
If there is such a global setting, yes.


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


Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread Michael Van Canneyt



On Tue, 14 Oct 2014, Reinier Olislagers wrote:


On 14/10/2014 11:20, hinsta...@yandex.ru wrote:

These urgently need to be reduced to icons with no text


No, they don't. Icons cannot always indicate exactly what the purpose of
a control is - having a text and preferably a hint helps.

IIRC, the project inspector has enough vertical space to allow for this...

However, if you feel strongly about it, please feel free to submit a
patch in the bugtracker against current trunk.


They should simply follow the global setting for such things, no ?

Michael.

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


Re: [Lazarus] Redundant text on project buttons

2014-10-14 Thread Reinier Olislagers
On 14/10/2014 11:20, hinsta...@yandex.ru wrote:
> These urgently need to be reduced to icons with no text

No, they don't. Icons cannot always indicate exactly what the purpose of
a control is - having a text and preferably a hint helps.

IIRC, the project inspector has enough vertical space to allow for this...

However, if you feel strongly about it, please feel free to submit a
patch in the bugtracker against current trunk.

Thank you,
Reinier


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


Re: [Lazarus] PoHelper: a tool to assist translators

2014-10-14 Thread Giuliano Colla


Il 14/10/2014 11:01, Giuliano Colla ha scritto:


[...]
 and  / are doubled. 

Sorry, I meant *\* are doubled.

Giuliano

--
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?


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


[Lazarus] Redundant text on project buttons

2014-10-14 Thread hinstance
These urgently need to be reduced to icons with no text http://s30.postimg.org/5hxkrzfkx/LWaste.png --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] PoHelper: a tool to assist translators

2014-10-14 Thread Giuliano Colla


Il 14/10/2014 00:39, Maxim Ganetsky ha scritto:
Cleanup functions break e.g. lazaruside.ru.po. It looks corrupted in 
PoEdit. I didn't have time to investigate further.




Yes, you're right. I've been too bold. There are two issues which didn't 
come out in my simpler tests: multiline strings aren't properly 
rewritten, and  / are doubled. I'll need some time to understand why and 
fix. I merged Translation unit with Bart's SimplePoFiles, and it would 
appear that I didn't adjust all the incompatibilities.



IMO all this should be integrated into PoChecker.



The final goal would be to have those function added to the LCL 
Translations unit. Then it'll be up to Bart to decide if he wants to 
take advantage of them or not.


Giuliano

--
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?


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


Re: [Lazarus] Default button for QuestionDLG

2014-10-14 Thread Reinier Olislagers
On 13/10/2014 18:51, Reinier Olislagers wrote:
> If this sounds too definitive, write up an article in the wiki about
> QuestionDlg (IIRC there are already sections/pages on showmessage etc)
> so it can be easily edited/updated by others.
http://wiki.lazarus.freepascal.org/Dialog_Examples#QuestionDlg


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