Re: [Lazarus] TDBNavigator icons break symmetry
On 2012-10-01 21:52, Bart wrote: I normally do not associate - with delete, that's why I replaced it with th trashcan icon. Even my computer illiterate clients know + is adding something, and - is subtracting (deleting) something. This is a well established metaphor in computers. I'm not saying the trashcan icon is wrong (I haven't even seen how it looks like), I'm just pointing out that a - is a well known symbol for a delete action. Graeme. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TDBNavigator icons break symmetry
Usually a red X is more common. Also searching for database toolbar in Google images shows a bunch of toolbars using a black + for adding and a red X for deleting. On Tue, Oct 2, 2012 at 10:54 AM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2012-10-01 21:52, Bart wrote: I normally do not associate - with delete, that's why I replaced it with th trashcan icon. Even my computer illiterate clients know + is adding something, and - is subtracting (deleting) something. This is a well established metaphor in computers. I'm not saying the trashcan icon is wrong (I haven't even seen how it looks like), I'm just pointing out that a - is a well known symbol for a delete action. Graeme. -- ___ 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] TDBNavigator icons break symmetry
Le 01/10/2012 21:30, Ajeandro Gonzalo a écrit : Maintaining Symmetry is a basic principle of good design. It's broken here in 2 ways. Since the nbInsert icon is +, the nbDelete icon MUST be -. Also, using the trash can icon could be confusing - it resembles the Windows Recycle Bin so a user might think it deletes the whole file, not just the current record. Secondly, the nbCancel icon is different from the bkCancel icon for TBitBtn. Another quibble: the VisibleButtons in the Object Inspector are in alphabetical order, they should be in the same order as displayed to avoid confusion. Now that with version 1.0 Lazarus is (mostly) stable I thought it was time the bring up less urgent matters like this. Since I use Pascal with Delphi I've always seen + and - in the TDBNavigator. This means that the users I'm working for are used to see those two images. On the other hand when I use either a TButton or a TBitButton oe a TSpeedButton I'm used to insert a blank page for insert and a red cross for delete. They are still the same in Delphi XE. This means that I do rather prefer Alejandro's position instead of the current pics in the TDBNavigator Antonio. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error: Can not load PostgreSQL Client library libpq.dll.
Ludo Brands wrote: Please I got a problem with libpq.dll library file, want I tried to select the Connected property to True, I received the Error: Can not load PostgreSQL client library libpq.dll. Ckeck you installation. The library has been installed and copied to the project file. Libpq.dll has many dependencies. Probably one of them is not satisfied. Here is the list of files I needed to copy on a wine system to get libpq.dll loaded: comerr32.dll krb5_32.dll libintl-2.dll libpq.dll pg_dump.dll pg_restore.dll libeay32.dll ssleay32.dll Don't copy around dll files. This makes the mess worse. Make sure the postgres bin folder is part of your user/system path. A problem we encouter lately is that other software vendors come with an outdated ssleay32.dll, which they put in sytem32 or int the path before postgres. simply deleting the outdated ssleay32.dll will solve the issue (as long as the postgres version is in the path) Marc -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error: Can not load PostgreSQL Client library libpq.dll.
On Tuesday 02 of October 2012 12:08:42 Marc Weustink wrote: Ludo Brands wrote: Please I got a problem with libpq.dll library file, want I tried to select the Connected property to True, I received the Error: Can not load PostgreSQL client library libpq.dll. Ckeck you installation. The library has been installed and copied to the project file. Libpq.dll has many dependencies. Probably one of them is not satisfied. Here is the list of files I needed to copy on a wine system to get libpq.dll loaded: comerr32.dll krb5_32.dll libintl-2.dll libpq.dll pg_dump.dll pg_restore.dll libeay32.dll ssleay32.dll Don't copy around dll files. This makes the mess worse. Make sure the postgres bin folder is part of your user/system path. A problem we encouter lately is that other software vendors come with an outdated ssleay32.dll, which they put in sytem32 or int the path before postgres. simply deleting the outdated ssleay32.dll will solve the issue (as long as the postgres version is in the path) Yes, such problem can exist when on client machine is installed an bank card reader which puts old ssleay32 into system32, but I had problem with Visual C++ runtimes (cannot load libpq.dll on some machines, on some works fine), so decided to use mingw compiled libpq (and then it uses only few dll's: libeay32.dll libpq.dll pg_dump.dll pg_restore.dll ssleay32.dll , now everything looks ok. Also, to prevent ssleay32.dll problem I'm putting needed dll's into client app folder. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TDBNavigator icons break symmetry
On 2012-10-02 09:58, Kostas Michalopoulos wrote: Usually a red X is more common. True, that is also a very popular glyph used. Graeme. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] lazdebian.lpk - Create Debian package from exiting Lazarus Project
Let us know when the package is developmentally stable. But this is very much needed. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] lazdebian.lpk - Create Debian package from exiting Lazarus Project
2012/9/30 Bernd prof7...@gmail.com: http://prof7bit.github.com/lazdebian/ I renamed the entire project, including the github repository and website URL: http://prof7bit.github.com/LazPackager/ https://github.com/prof7bit/LazPackager all units are renamed also to reflect this change, the only thing I still need to rename now is the .lpk file itself, it will be called lazpackager.lpk (later this evening maybe or tomorrow). Also the names of the settings in the project file have changed and there is now (internally) a distinction between settings that are needed (or useful) for all packagers and setting that apply to a specific packager (debian) only, the settings names in the project file now reflect this. So after updating all your settings will be reset to the defaults. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TDBNavigator icons break symmetry
Usually a red X is more common. True, that is also a very popular glyph used. Graeme. I'd say that in Delphi-tradition, the red X means Cancel, rather than Delete. So it goes better with a rollback, especially when you use the green V (check) as a commit or OK. kind regards, Dimitri Smits -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error: Can not load PostgreSQL Client library libpq.dll.
On 2-10-2012 12:08, Marc Weustink wrote: Ludo Brands wrote: The library has been installed and copied to the project file. Libpq.dll has many dependencies. Probably one of them is not satisfied. Here is the list of files I needed to copy on a wine system to get libpq.dll loaded: snip Don't copy around dll files. This makes the mess worse. Make sure the postgres bin folder is part of your user/system path. Unless you use an incompatible set of dlls in your postgres bin folder. What's wrong with distributing known good/tested dll files to the *program directory* (or project/Lazarus dir when developing)? That way, they won't interfere with any existing DLLs in windows. Yes, I know it interferes with the concept of actually sharing DLL but it avoids versioning issue. Also, IIRC, Windows Vista+ has some issue to provide side-by-side DLL installation, so copying dlls to the windows system directory may again be allowed; haven't looked at that. A problem we encouter lately is that other software vendors come with an outdated ssleay32.dll, which they put in sytem32 or int the path before postgres. simply deleting the outdated ssleay32.dll will solve the issue (as long as the postgres version is in the path) Now you may have broken the other vendor's ssleay32 (if the newer version has regressions). I'd rather copy over dlls to my application's directory than try to mess with system dlls. Just my 2 cents. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TDBNavigator icons break symmetry
On 10/2/12, Dimitri Smits smi...@telenet.be wrote: I'd say that in Delphi-tradition, the red X means Cancel, rather than Delete. So it goes better with a rollback, especially when you use the green V (check) as a commit or OK. Which is exactly why I changed these delete and undo glyphs in the past. See: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=32029. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TDBNavigator icons break symmetry
On 10/1/12, Ajeandro Gonzalo parkingspac...@yahoo.com wrote: It's broken here in 2 ways. Since the nbInsert icon is +, the nbDelete icon MUST be -. Also, using the trash can icon could be confusing - it resembles the Windows Recycle Bin so a user might think it deletes the whole file, not just the current record. Maybe we could make the glyphs customizable, and keep everybody happy? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Text Export filter in LazReport
The programmer documentation says: 1.7 Exporting a report It can be performed from a preview window. Oh? I placed the frTextExport1 component on the datamodule along with the other LazReport components, but I can't see an option to use it anywhere on the Preview. It should be among the File|Report options but isn't. Also the documentation then says The operation can also be executed manually, via the “TfrxReport.Export” method. There is no Export method. There is a ExportTo method, but I can't find a list for the TfrExportFilterClass it wants, TfrTextExport with or without the T doesn't work. Anyone know what to enter? Another problem with LazReport: In the Preview, a multiple page report doesn't scroll, not with the scroll bar and not with the page navigator on top. I'm using Windows 7 64bit. Any help will be appreciated. A. G. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TDBNavigator icons break symmetry
On 2012-10-02 20:45, Bart wrote: Maybe we could make the glyphs customizable, and keep everybody happy? Very true. And frankly, I'm quite surprise that the TDBNavigator doesn't have an ImageList property to do just that. Those buttons are just TSpeedButton descendants anyway. It would also mean that the DBNavigator could blend in better with the icon theme used in the application. Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] [PATCH] registersqldb: Auto declare unit in uses
Hi, Please see in: http://bugs.freepascal.org/view.php?id=23045 Thank you. -- 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