Re: [Lazarus] What is current status of fpGUI?

2008-12-10 Thread Graeme Geldenhuys
On Tue, Dec 9, 2008 at 11:25 PM, Aleksa Todorovic [EMAIL PROTECTED] wrote:

 1) Does fpGUI in current version supports creation of skinnable applications?

Yes it does, but very basic.  A full theme engine is planned for early
in the new year, including a Theme Designer application.

 2) I've followed instructions on
 http://wiki.lazarus.freepascal.org/fpGUI_Interface, but I got this
 error when I try to compile Lazarus with fpGUI:

 fpguiint.pp(42,12) Fatal: Can't find unit fpgfx used by fpguiint

The fpGUI  via LCL is not usable yet. Only about 5 basic components
have been implemented. I'm planning on starting the full
implementation next year.  As for the error you got. The fpGUI units
where renamed a little while back to be more consistent. The LCL has
not been updated yet.

Nothing stops you from using fpGUI directly though (without the LCL).
I currently develop all our applications like that. I still use
Lazarus IDE to write all my software. Ctrl+Shift+F12 launches the
fpGUI UI Designer for the current unit being edited and Lazarus
detects changes once I return. This works very nice. I have also
created a few Lazarus IDE add-ons to create fpGUI based projects.

For more details and help on fpGUI, I would recommend you ask in the
fpGUI newsgroups. More info at:
  http://opensoft.homeip.net/fpgui/#Newsgroups



Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross platform development (not compiling)

2008-12-10 Thread Graeme Geldenhuys
On Tue, Dec 9, 2008 at 7:33 PM, Felipe Monteiro de Carvalho 
 Ummm, now I see ... but they could be the same thing. Some kind of
 mode where certain compiler options or debugger options are overriden.

That would be very handy!   MSEide has a very simple design/screen for
this. And it works very well.

The Project menu contains the following options:
   Make
   Build
   Make 1
   Make 2
   Make 3
   Make 4

You can setup each of those with the following screen. See attached
image. Simply add a new row, tick which Build or Make it should apply
to, and select the menu from the Project menu.

Quick, Easy and Effective!


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
attachment: mseide.png___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What is current status of fpGUI?

2008-12-10 Thread Graeme Geldenhuys
On Wed, Dec 10, 2008 at 1:06 PM, Felipe Monteiro de Carvalho
[EMAIL PROTECTED] wrote:

 Do you have commit rights in Lazarus?

No I don't. I normally submit patches to Mantis.

 I think it would be nice if this
 is commited. I have a patch waiting to be applyed which was to improve

OK, I'll fix up what's available in LCL+fpGUI.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What is current status of fpGUI?

2008-12-10 Thread Aleksa Todorovic
Hi, Graeme!

Thanks for the info, we'll definitely try it!

Best,
Aleksa


On Wed, Dec 10, 2008 at 10:03, Graeme Geldenhuys
[EMAIL PROTECTED] wrote:

 On Tue, Dec 9, 2008 at 11:25 PM, Aleksa Todorovic [EMAIL PROTECTED] wrote:

 The fpGUI  via LCL is not usable yet. Only about 5 basic components
 have been implemented. I'm planning on starting the full
 implementation next year.  As for the error you got. The fpGUI units
 where renamed a little while back to be more consistent. The LCL has
 not been updated yet.

 Nothing stops you from using fpGUI directly though (without the LCL).
 I currently develop all our applications like that. I still use
 Lazarus IDE to write all my software. Ctrl+Shift+F12 launches the
 fpGUI UI Designer for the current unit being edited and Lazarus
 detects changes once I return. This works very nice. I have also
 created a few Lazarus IDE add-ons to create fpGUI based projects.

 For more details and help on fpGUI, I would recommend you ask in the
 fpGUI newsgroups. More info at:
  http://opensoft.homeip.net/fpgui/#Newsgroups



 Regards,
  - Graeme -


 ___
 fpGUI - a cross-platform Free Pascal GUI toolkit
 http://opensoft.homeip.net/fpgui/
 ___
 Lazarus mailing list
 Lazarus@lazarus.freepascal.org
 http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

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


Re: [Lazarus] What is current status of fpGUI?

2008-12-10 Thread Graeme Geldenhuys
On Wed, Dec 10, 2008 at 1:06 PM, Felipe Monteiro de Carvalho
[EMAIL PROTECTED] wrote:
 On Wed, Dec 10, 2008 at 6:54 AM, Graeme Geldenhuys

 Do you have commit rights in Lazarus? I think it would be nice if this
 is commited.


As promised, please see Mantis report:
  http://bugs.freepascal.org/view.php?id=12782

I've tested the following components (basic properties only):
  TForm, TButton, TEdit, TMainMenu, TRadioButton, TCheckBox

eg:
  http://opensoft.homeip.net/~graemeg/lcl-fpgui.png


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Terminal window

2008-12-10 Thread Chris Kirkpatrick
What happens if you open the application by typing its name in a console 
window? The console window remains there during execution of the 
program, and receives some output, though this may not be the output you 
require.
Regards - Chris

svaa wrote:
 Hello:

 I have 0.9.26 on Ubuntu 7.10. I am writing a GUI program, since debugger 
 has problems to check the values of variables, I want to output debug 
 data with writeln but I  can't get a terminal with if it is not 
 console application.

 How can I get a to have the GUI program running and a terminal window also?

 Regards
 Santiago A.

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

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


Re: [Lazarus] Universal using of mailto:

2008-12-10 Thread Graeme Geldenhuys
2008/12/10 Ireneusz Wyglądała [EMAIL PROTECTED]:

 But is there any universal method that works fine in linux and win32?


Linux is easy as well!  ;-)
If your target Linux system has xdg-utils you can use the following command:
   xdg-email

---
$  xdg-email
xdg-email - command line tool for sending mail using the user's preferred
e-mail composer

Synopsis

xdg-email [--utf8] [--cc address] [--bcc address] [--subject text] [--body text
] [--attach file] { mailto-uri | address(es) }

xdg-email { --help | --manual | --version }

Use 'man xdg-email' or 'xdg-email --manual' for additional info.
---


If your target linux distro doesn't include Xdg-Utils, it is
recommended that you deploy it with your application (help promote the
idea and make live easier for software developers).  If very simply to
do and is described in the following website.
   http://portland.freedesktop.org/wiki/


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [Lazarus] Universal using of mailto:

2008-12-10 Thread Ireneusz Wyglądała
On Wed, Dec 10, 2008 at 13:48, Graeme Geldenhuys [EMAIL PROTECTED]wrote:

 2008/12/10 Ireneusz Wyglądała [EMAIL PROTECTED]:
 
  But is there any universal method that works fine in linux and win32?


 Linux is easy as well!  ;-)
 If your target Linux system has xdg-utils you can use the following
 command:
   xdg-email


So. I should use defines {IFDEF ... and two different methods for both OS?
I had hopes that exist one universal way to use mailto: ?
OK. I do it.
Thanks a lot.

-- 
;) Irek
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Universal using of mailto:

2008-12-10 Thread Ireneusz Wyglądała
2008/12/10 Ireneusz Wyglądała [EMAIL PROTECTED]


 On Wed, Dec 10, 2008 at 13:48, Graeme Geldenhuys [EMAIL PROTECTED]wrote:

 2008/12/10 Ireneusz Wyglądała [EMAIL PROTECTED]:
 


By the way.
Is any similar method for opening HTML files without using application name
eg. firefox.



-- 
;) Irek
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TBitmapCanvas public

2008-12-10 Thread Coppola Ing. Salvatore
Coppola Ing. Salvatore wrote:
 Hi,
 can the TBitmapCanvas be declared public (I mean before 
 implementation) in the unit Graphics?

I assume is NOT!

 I'm trying to replace the TMetafile  TMetafileCanvas in some 
 GraphPrinters units.
 Thanks

 Salvatore


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


Re: [Lazarus] Universal using of mailto:

2008-12-10 Thread Graeme Geldenhuys
2008/12/10 Ireneusz Wyglądała [EMAIL PROTECTED]:

 So. I should use defines {IFDEF ... and two different methods for both OS?
 I had hopes that exist one universal way to use mailto: ?
 OK. I do it.
 Thanks a lot.

What I have done, is to abstract that those calls, so my application
doesn't need to contain the IFDEF's.  I have one utilities unit that
contains any IFDEF and *no* other place.

Something like the following

---[ MyCoolUtilitiesUnit.pas ]--
uses
   {ifdef windows}
 MyWindowsUtilities,
   {endif}
   {ifdef unix}
  MyUnixUtilities,
   {endif}
   SysUtils;

 functions SendEmai(): integer;
 begin
   {ifdef windows}
 WindowsSendEmail(...);  //   ---  located in MyWindowsUtilities unit
   {endif}
   {ifdef unix}
  UnixSendEmail(...);  //  --- located in MyUnixUtilities unit
   {endif}
 end


So now anywhere in your application you can simply include the
'MyCoolUtilitiesUnit' in the uses clause and call SendEmail() -
without IFDEF. :-)

One can't always avoid ifdef's but you can limit them to a single unit
in your application.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [Lazarus] Universal using of mailto:

2008-12-10 Thread Graeme Geldenhuys
2008/12/10 Ireneusz Wyglądała [EMAIL PROTECTED]:

 By the way.
 Is any similar method for opening HTML files without using application name
 eg. firefox.

Just thought I would mention. I applied the same abstraction as I
described before, but for opening URL's as well.  So again, by
application simply calls OpenURL(...) no matter the platform it runs
on.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [Lazarus] Universal using of mailto:

2008-12-10 Thread Ireneusz Wyglądała
2008/12/10 Ireneusz Wyglądała [EMAIL PROTECTED]



 2008/12/10 Ireneusz Wyglądała [EMAIL PROTECTED]


 On Wed, Dec 10, 2008 at 13:48, Graeme Geldenhuys [EMAIL PROTECTED]
  wrote:

 2008/12/10 Ireneusz Wyglądała [EMAIL PROTECTED]:
 


 By the way.
 Is any similar method for opening HTML files without using application name
 eg. firefox.


OK. I just checked -xdg-open ;)
Sorry

-- 
;) Irek
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What is current status of fpGUI?

2008-12-10 Thread Felipe Monteiro de Carvalho
On Wed, Dec 10, 2008 at 6:54 AM, Graeme Geldenhuys
[EMAIL PROTECTED] wrote:
 Correct. I can supply a quick patch to resolve this, but fpGUI via LCL
 is still totally unusable. That's until my clone gets into gear and
 starts working on it.

Do you have commit rights in Lazarus? I think it would be nice if this
is commited. I have a patch waiting to be applyed which was to improve
things for fpgui (tstrings are freed by the interface so we can pass
the tstrings from fpgui directly)

-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Universal using of mailto:

2008-12-10 Thread Ireneusz Wyglądała
Hi All.
I have an small, cross platform application (linux and win32).
I just wonder how can I implement universal function to sending mails to me.
Of course by default mail program.

win32 - is simple
  ShellExecute(Handle,'open','mailto:[EMAIL PROTECTED]', nil,
nil, 1);

But is there any universal method that works fine in linux and win32?

-- 
;) Irek
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TBitmapCanvas public

2008-12-10 Thread Paul Ishenin


Coppola Ing. Salvatore пишет:
 Coppola Ing. Salvatore wrote:
   
 Hi,
 can the TBitmapCanvas be declared public (I mean before 
 implementation) in the unit Graphics?
 

 I assume is NOT!
   
No, assume silence as nobody remember why it is so and nobody have time 
to look :(

Best regards,
Paul Ishenin.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TProcess oddity?

2008-12-10 Thread Felipe Monteiro de Carvalho
I think you should ask in one of the Free Pascal mailling lists,
because this is a problem with the Free Pascal RTL which only FPC
developers could fix.

-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TBitmapCanvas public

2008-12-10 Thread Felipe Monteiro de Carvalho
I don't know anything about that class, but if you describe better
what you are trying to do I may suggest an alternative.

-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] checklistbox on XP

2008-12-10 Thread Andrea Mauri
Anyway is it possible to change the ItemHeight property of 
TCheckListBox? I am not able to change it via object inspector.
Andrea

Paul Ishenin ha scritto:
 Andrea Mauri wrote:
   
 Hi,
 I am trying to use checklistbox. On linux it seems to be drawn correctly 
 but not on windows (I am trying it on WinXP).
 The checkboxes in a checklistbox are smaller that the checkbox of a 
 TCheckBox (fonts seem to be the same but boxes are smaller). Is it a bug?
 

 ListBox item height is smaller than checkbox control height. So either 
 checklistbox needs bigger item height or item checks must be smaller. 
 Where is a bug?

 Best regards,
 Paul Ishenin.

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

   

-- 
Dr. Andrea Mauri, PhD
Milano Chemometrics and QSAR Research Group
Department of Environmental Sciences
University of Milano-Bicocca 
P.zza della Scienza, 1
20126 Milano - Italy

Tel: ++39 02 64482801
mailto:[EMAIL PROTECTED]
http://michem.disat.unimib.it/chm/ 

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


Re: [Lazarus] TBitmapCanvas public

2008-12-10 Thread Mattias Gärtner
Zitat von Paul Ishenin [EMAIL PROTECTED]:



 Coppola Ing. Salvatore пишет:
  Coppola Ing. Salvatore wrote:
 
  Hi,
  can the TBitmapCanvas be declared public (I mean before
  implementation) in the unit Graphics?
 
 
  I assume is NOT!
 
 No, assume silence as nobody remember why it is so and nobody have time
 to look :(

Because there was never a reason to make it public. Private things can be
changed easier.
Why should it be made public?


Mattias

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


Re: [Lazarus] TBitmapCanvas public

2008-12-10 Thread Coppola Ing. Salvatore
Mattias Gärtner wrote:
 Zitat von Paul Ishenin [EMAIL PROTECTED]:

   
 Coppola Ing. Salvatore пишет:
 
 Coppola Ing. Salvatore wrote:

   
 Hi,
 can the TBitmapCanvas be declared public (I mean before
 implementation) in the unit Graphics?

 
 I assume is NOT!

   
 No, assume silence as nobody remember why it is so and nobody have time
 to look :(
 

 Because there was never a reason to make it public. Private things can be
 changed easier.
 Why should it be made public?

   

There are some Printer Preview such as PagePrinter based on Windows 
TMetafile and TMetafileCanvas. Replacing TMetafile with TBitmap and 
TMetafileCanvas with TBitmapCanvas with some little change they can 
works under Linux and other OS to.

thanks all
Salvatore
 Mattias

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

   

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


Re: [Lazarus] TBitmapCanvas public

2008-12-10 Thread Mattias Gärtner
Zitat von Coppola Ing. Salvatore [EMAIL PROTECTED]:

[...]
  can the TBitmapCanvas be declared public (I mean before
  implementation) in the unit Graphics?
[...]

 There are some Printer Preview such as PagePrinter based on Windows
 TMetafile and TMetafileCanvas. Replacing TMetafile with TBitmap and
 TMetafileCanvas with TBitmapCanvas with some little change they can
 works under Linux and other OS to.

What TMetafile do you mean?
There is none in the LCL.


Mattias

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


Re: [Lazarus] TBitmapCanvas public

2008-12-10 Thread Coppola Ing. Salvatore
Mattias Gärtner wrote:
 Zitat von Coppola Ing. Salvatore [EMAIL PROTECTED]:

   
 [...]
 
 can the TBitmapCanvas be declared public (I mean before
 implementation) in the unit Graphics?
 
 [...]

 There are some Printer Preview such as PagePrinter based on Windows
 TMetafile and TMetafileCanvas. Replacing TMetafile with TBitmap and
 TMetafileCanvas with TBitmapCanvas with some little change they can
 works under Linux and other OS to.
 

 What TMetafile do you mean?
 There is none in the LCL.

   
Yes I know, for instance there is the Luís Rodrigues TMetafile 
(mymetafilepkg.lpk) in the CCR
that wrap the Windows EnhMetafile API (so Windows specific) and some 
extra lazarus packages like PagePrinter uses Metafiles. Replacing 
Metafile with Bitmap can remove this MS Windows API dependences. To do 
this, TBitmapCanvas, should be visible in PagePrinter units by mean 
Graphics unit.

Salvatore
 Mattias

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

   

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


Re: [Lazarus] TBitmapCanvas public

2008-12-10 Thread Hans-Peter Diettrich
Paul Ishenin schrieb:

 can the TBitmapCanvas be declared public (I mean before 
 implementation) in the unit Graphics?
 
 I assume is NOT!
   
 No, assume silence as nobody remember why it is so and nobody have time 
 to look :(

IMO there exist reasons why the Canvas should be available only on 
demand, controlled inside the component.

DoDi

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


[Lazarus] about DLL

2008-12-10 Thread Héctor Fiandor Rosario
Dear members:

is it possible to obtain a DLL in Lazarus like in Delphi and how to do it?

thanks

Ing. Héctor F. Fiandor
[EMAIL PROTECTED] 


---
Red Telematica de Salud - Cuba
  CNICM - Infomed
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Stretching Antialiasing in win32

2008-12-10 Thread Felipe Monteiro de Carvalho
Hello,

When I execute the StretchBlt windows API in the magnifier I get
different results in Delphi and in Lazarus:

  Windows.StretchBlt(DestCanvas.Handle, drawGlassRect.Left, drawGlassRect.Top,
   drawGlassWidth, drawGlassHeight,
   bmpDisplay.Canvas.Handle, viewRect.Left, viewRect.Top,
   viewRectWidth, viewRectHeight, dwROP);

In Lazarus there is notice some anti-aliasing. When magnifying the
same synedit text in delphi and lazarus, after 14x or so I start to
see grey dots near the text and in Delphi I don't. Actually the grey
dots are also square, so they actually look like as if they were part
of the text, but they cannot be, because I saw the same text with
delphi.

Setting the canvas Antialiasingmode property has no effect.

Any ideas why this happens? It's not necessarely bad, but I would like
to control this via the antialiasing property.

-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Typing in StringGrid cell - Linux

2008-12-10 Thread Jan Kowalski
Hi,
I have a strange problem with typing in StringGrid cell. As example :
when I typed something I get omethings in cell. This becouse when
I put first char cursor goes to the left side of this char. On windows
everything is ok
I used svn version of lazarus x64 (rev 17743) and fpc 2.3.1

best regards
faber
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Unit and includepaths and the IDE

2008-12-10 Thread Bart
Mattias,

Thanks for clearing that up to me.

I'll look into packages, probably at a later point.
At the curent stage, my library of tools for Laz tends to change
frequently, as I learn more to use Laz/fpc. So for the moment I'll not
package them.

Bart
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Universal using of mailto:

2008-12-10 Thread Bart
 By the way.
 Is any similar method for opening HTML files without using application name
 eg. firefox.

As others pointed out xdg-open will do that.
You might take a look at my BrowserDetection unit, which uses xdg-open
if available, or tries some other options if it is not there. AFAICT
it should also run under Darwin (MacOSX).
It's at: http://home.tiscali.nl/~knmg0017/software/fpc_laz/browserdetection.tgz

Comments are welcome.

It should be easy to expand this for email use also.

Bart
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TProcess oddity?

2008-12-10 Thread Bart
 I think you should ask in one of the Free Pascal mailling lists,
  because this is a problem with the Free Pascal RTL which only FPC
  developers could fix.

I'll look for that mailinglist then.

Anybody some suggestion for my workaround question?

Bart
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Typing in StringGrid cell - Linux

2008-12-10 Thread Jesus Reyes



--- El mié 10-dic-08, Jan Kowalski [EMAIL PROTECTED] escribió:

 De:: Jan Kowalski [EMAIL PROTECTED]
 Asunto: [Lazarus] Typing in StringGrid cell - Linux
 A: lazarus@lazarus.freepascal.org
 Fecha: miércoles, 10 diciembre, 2008, 1:24 pm
 Hi,
 I have a strange problem with typing in StringGrid cell. As
 example :
 when I typed something I get
 omethings in cell. This becouse when
 I put first char cursor goes to the left side of this char.
 On windows
 everything is ok
 I used svn version of lazarus x64 (rev 17743) and fpc 2.3.1
 
 best regards
 faber

you didn't say but I think you meant gtk2 because under gtk1 it works, anyway 
should be fixed in r17788

Jesus Reyes A.



  ¡Todo sobre Amor y Sexo!
La guía completa para tu vida en Mujer de Hoy.   
http://mx.mujer.yahoo.com/

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


[Lazarus] TAChart: Request to review/apply patch 12758

2008-12-10 Thread Alexander Klenin
See http://bugs.freepascal.org/view.php?id=12758

Sorry to bother Daruis (and everyone else) again, but
this patch is holding my further work on TAChart.

Such are the problems of using centralized version control ;-)

-- 
Alexander S. Klenin
Insight Experts Ltd.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Stretching Antialiasing in win32

2008-12-10 Thread Martin Friebe
Felipe Monteiro de Carvalho wrote:
 Hello,

 When I execute the StretchBlt windows API in the magnifier I get
 different results in Delphi and in Lazarus:

   Windows.StretchBlt(DestCanvas.Handle, drawGlassRect.Left, drawGlassRect.Top,
drawGlassWidth, drawGlassHeight,
bmpDisplay.Canvas.Handle, viewRect.Left, viewRect.Top,
viewRectWidth, viewRectHeight, dwROP);

 In Lazarus there is notice some anti-aliasing. When magnifying the
 same synedit text in delphi and lazarus, after 14x or so I start to
 see grey dots near the text and in Delphi I don't. Actually the grey
 dots are also square, so they actually look like as if they were part
 of the text, but they cannot be, because I saw the same text with
 delphi.

 Setting the canvas Antialiasingmode property has no effect.

 Any ideas why this happens? It's not necessarely bad, but I would like
 to control this via the antialiasing property.
   
Your font may be drawn using anti-aliasing before you magnify/stretch 
the bitmap, so you would see the grey areas caused by the anti aliasing.

If it is synedit, check either the font antialiasing/quality property in 
object inspector (if you use synedit as component).
Or Environment=options=Editor=Display  there is a checkbox Disable 
anti aliasing

Best regards
Martin
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Stretching Antialiasing in win32

2008-12-10 Thread Felipe Monteiro de Carvalho
On Wed, Dec 10, 2008 at 9:45 PM, Martin Friebe [EMAIL PROTECTED] wrote:
 If it is synedit, check either the font antialiasing/quality property in
 object inspector (if you use synedit as component).
 Or Environment=options=Editor=Display  there is a checkbox Disable
 anti aliasing

Anti aliasing is disabled.

And also, this wouldn't explain the difference to delphi

-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TAChart: Request to review/apply patch 12758

2008-12-10 Thread Luiz Americo Pereira Camara
Alexander Klenin escreveu:
 See http://bugs.freepascal.org/view.php?id=12758

 Sorry to bother Daruis (and everyone else) again, but
 this patch is holding my further work on TAChart.

 Such are the problems of using centralized version control ;-)
   

+1

I have similar problems recently, when i had to wait a feature patch to 
be applied before i could fix a critical bug.

Luiz
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Using Win32 Lazarus to cross-compile to arm-linux?

2008-12-10 Thread Paul Nicholls
- Original Message - 
From: Paul Nicholls [EMAIL PROTECTED]
Newsgroups: gmane.comp.ide.lazarus.general
To: Lazarus@lazarus.freepascal.org
Sent: Wednesday, December 10, 2008 11:00 AM
Subject: Using Win32 Lazarus to cross-compile to arm-linux?


 Hi all,
I appologise if this is an obvious question, but I have looked in these
 forums, and online and I can't seem to find out how to setup Lazarus 
 (under
 Win32) so it can call my arm-linux freepascal cross-compiler to compile
 programs for my GP2X (arm-linux handheld computer).

 So far, I have to do this manually via batch file.

 If this is possibe, it would be very nice :)

 PS. My Win32 to arm-linux freepascal cross-compiler has it's own fpc.cfg
 file if this makes a difference.
 PS. I do realise that I most likely couldn't debug but still it would be
 better than now if I can use the IDE to compile to Win32 and also 
 arm-linux.

 Thanks for your time,
 Cheers,
 Paul.

Does ANYONE have any clues or hints for me on this matter?

Paul. 

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