[Lazarus] Controlling DPI

2009-03-28 Thread ik
Hello, How can I control the DPI of a Lazarus based application regardless of the environment (gnome/kde etc..) DPI ? Thanks, Ido ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Controlling DPI

2009-03-28 Thread ik
I would like to allow users to set their own DPI as they think it best for them. Ido On Sat, Mar 28, 2009 at 3:50 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Sat, 28 Mar 2009, Graeme Geldenhuys wrote: 2009/3/28 ik ido...@gmail.com: How can I control the DPI of a

Re: [Lazarus] Controlling DPI

2009-03-28 Thread Michael Van Canneyt
On Sat, 28 Mar 2009, ik wrote: I would like to allow users to set their own DPI as they think it best for them. A zoom factor or the actual DPI ? The former is possible, the latter I have no idea how to do this. Michael. ___ Lazarus mailing list

Re: [Lazarus] Controlling DPI

2009-03-28 Thread ik
I prefer the latter, but the zoon factor can also do the trick. IDo On Sat, Mar 28, 2009 at 6:26 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Sat, 28 Mar 2009, ik wrote: I would like to allow users to set their own DPI as they think it best for them. A zoom factor or

Re: [Lazarus] Share a port through lazarus-ccr

2009-03-28 Thread Carlos German Tejero
i'm not know multilog. Maybe is better then log4delphi. log4delphi is a port of log4j for ObjectPascal programing language, has a very clean design, is very wel documented, and now can be used with delphi and fpc. I tested this in windows (32 and 64 bits) and linux (32 bits). 2009/3/28 Bogusław

Re: [Lazarus] Controlling DPI

2009-03-28 Thread David W Noon
On Sat, 2009-03-28 at 18:41 +0300, ik wrote: I prefer the latter, but the zoon factor can also do the trick. The DPI is controlled by the hardware driver for the video card. It applies to the entire screen and cannot be changed for a particular window on the screen. The only way to alter it is

Re: [Lazarus] fppkg gui

2009-03-28 Thread Vincent Snijders
Carlos German Tejero schreef: Hi to all!!! I'm develop a simple frontend gui for fppkg. It can be used standalone or as lazarus plugin. I want to share this with the members of the mailing list, wainting for comments and suggestions. But the compressed archive is more big than 40kb (153kb)

Re: [Lazarus] fppkg gui

2009-03-28 Thread matt shaffer
Simple, upload the file to a file host (google for a free one) then share the link with the mailing list. Then we can all download it if we like. 2009/3/28 Carlos German Tejero german_tej...@yahoo.com.ar Hi to all!!! I'm develop a simple frontend gui for fppkg. It can be used standalone or as

[Lazarus] Clipboard.HasFormat issue

2009-03-28 Thread Michael Van Canneyt
Hi, Is there a reason why ClipBoard.HasFormat() is so slow ? Putting a call to ClipBoard.HasFormat() in an OnUpdate handler of an action coupled to a toolbutton, seriously slows down an application, to the point of being unusable. If I comment out the call, the application responds normally.

Re: [Lazarus] fppkg gui

2009-03-28 Thread John Meyer
matt shaffer wrote: Simple, upload the file to a file host (google for a free one) then share the link with the mailing list. Then we can all download it if we like. 2009/3/28 Carlos German Tejero german_tej...@yahoo.com.ar mailto:german_tej...@yahoo.com.ar Hi to all!!! I'm

Re: [Lazarus] Stored Procedure and Returning Values

2009-03-28 Thread Eduardo Lopez
Kamil: The way is: select * from ZnajdzKodKreskowy ( //Asign parameters qry1.open //Read the results This open the query and you can read the result from the stored procedure (or loop reading it). If you use 'Execute procedure ...' you must use qry1.ExceSQL because in this case is for

Re: [Lazarus] Share a port through lazarus-ccr

2009-03-28 Thread Vincent Snijders
Carlos German Tejero schreef: Hi to all!! I want share a port off log4delphi (http://log4delphi.sourceforge.net/) through lazarus-ccr. how can I do? See http://wiki.lazarus.freepascal.org/Code_Conversion_Guide#Packaging_and_Releasing_your_component Vincent

Re: [Lazarus] Clipboard.HasFormat issue

2009-03-28 Thread Mehmet Erol Sanliturk
On Saturday 28 March 2009 12:36:53 pm Michael Van Canneyt wrote: Hi, Is there a reason why ClipBoard.HasFormat() is so slow ? Putting a call to ClipBoard.HasFormat() in an OnUpdate handler of an action coupled to a toolbutton, seriously slows down an application, to the point of being

Re: [Lazarus] Stored Procedure and Returning Values

2009-03-28 Thread Kamil Walas
I didn't wrote it explicite, I use FlameRobin and in SQL query with SELECT I got nothing but EXECUTE PROCEDURE returns some rows. Using FlameRobin: 'EXECUTE PROCEDURE ZNAJDZKODKRESKOWY('',0,0,0,7);' - one row with data 'SELECT * FROM ZNAJDZKODKRESKOWY('',0,0,0,7);'

Re: [Lazarus] Clipboard.HasFormat issue

2009-03-28 Thread Hans-Peter Diettrich
Michael Van Canneyt schrieb: Is there a reason why ClipBoard.HasFormat() is so slow ? Putting a call to ClipBoard.HasFormat() in an OnUpdate handler of an action coupled to a toolbutton, seriously slows down an application, to the point of being unusable. If I comment out the call, the

Re: [Lazarus] Stored Procedure and Returning Values

2009-03-28 Thread Eduardo Lopez
I send you a link to an article that explain how to do a stored procedure selectable. I copy/paste the example here: CREATE PROCEDURE GET_EMP_PROJ( EMP_NO SMALLINT) RETURNS ( PROJ_ID CHAR(5)) AS BEGIN FOR SELECT proj_id FROM employee_project WHERE emp_no = :emp_no INTO :proj_id DO

Re: [Lazarus] Valladolid Programming Contest simple test fails at compile?

2009-03-28 Thread Vincent Snijders
Thierry Coq schreef: Thank you guys, Has somebody here delivered a successful pascal program to the UVa online judge: http://icpcres.ecs.baylor.edu/onlinejudge/index.php ? Test problem 100:

Re: [Lazarus] Controlling DPI

2009-03-28 Thread David W Noon
On Sat, 2009-03-28 at 19:17 +0100, Hans-Peter Diettrich wrote: David W Noon schrieb: I prefer the latter, but the zoon factor can also do the trick. The DPI is controlled by the hardware driver for the video card. That's a matter of definition of DPI. There is only one definition of

Re: [Lazarus] Clipboard.HasFormat issue

2009-03-28 Thread Michael Van Canneyt
On Sat, 28 Mar 2009, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: Is there a reason why ClipBoard.HasFormat() is so slow ? Putting a call to ClipBoard.HasFormat() in an OnUpdate handler of an action coupled to a toolbutton, seriously slows down an application, to the

Re: [Lazarus] Controlling DPI

2009-03-28 Thread Michael Schneider
Am Samstag, 28. März 2009 19:17:55 schrieb Hans-Peter Diettrich: Changing the screen resolution, for one or more monitors, requires an restart of the graphics system (GDI, X11...), of course, because it affects the desktop and all windows on the monitor(s). DoDi Actual Distros use Randr

Re: [Lazarus] Controlling DPI

2009-03-28 Thread Hans-Peter Diettrich
David W Noon schrieb: Windows allows to change the font size (DPI) at any time, and most other systems have similar capabilities. Since Delphi has its roots in Windows, this definition also should apply to FPC/Lazarus. The *point size* of the font has nothing whatsoever to do with the DPI

Re: [Lazarus] About 0013268: SynEdit parses every li ne twice on load or paste (Attn: Flávio)

2009-03-28 Thread Martin Friebe
Flávio Etrusco wrote: On Wed, Mar 4, 2009 at 11:27 AM, Martin Friebe laza...@mfriebe.de wrote: Hi, To take the discussion of the bug tracker. My current intention on this issue would be to solve the additional issues, such as double scan on Paste, or ensuring LoadFromFile only does a

Re: [Lazarus] Controlling DPI

2009-03-28 Thread David W Noon
On Sat, 2009-03-28 at 23:30 +0100, Hans-Peter Diettrich wrote: David W Noon schrieb: Windows allows to change the font size (DPI) at any time, and most other systems have similar capabilities. Since Delphi has its roots in Windows, this definition also should apply to FPC/Lazarus.