[Lazarus] Submit error on bug tracker

2015-07-26 Thread Yann Mérignac
Hi all,

Yesterday I submitted a patch to Lazarus on the bug tracker. But I used the
wrong category (IDE instead of Patch).  I have not found how to fix it
myself. Is there anyone who can do it? Should I re-submit the patch in the
right category?

Patch is here : http://bugs.freepascal.org/view.php?id=28430
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Submit error on bug tracker

2015-07-26 Thread Michael Van Canneyt



On Sun, 26 Jul 2015, Yann Mérignac wrote:


Hi all,

Yesterday I submitted a patch to Lazarus on the bug tracker. But I used the
wrong category (IDE instead of Patch).  I have not found how to fix it
myself. Is there anyone who can do it? Should I re-submit the patch in the
right category?

Patch is here : http://bugs.freepascal.org/view.php?id=28430


Changed to patch.

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


Re: [Lazarus] Submit error on bug tracker

2015-07-26 Thread Yann Mérignac
Thank you.

2015-07-26 10:06 GMT+02:00 Michael Van Canneyt mich...@freepascal.org:



 On Sun, 26 Jul 2015, Yann Mérignac wrote:

  Hi all,

 Yesterday I submitted a patch to Lazarus on the bug tracker. But I used
 the
 wrong category (IDE instead of Patch).  I have not found how to fix it
 myself. Is there anyone who can do it? Should I re-submit the patch in the
 right category?

 Patch is here : http://bugs.freepascal.org/view.php?id=28430


 Changed to patch.

 Michael.
 --
 ___
 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


[Lazarus] Sending and receiving record or object data between applications running on different machines.

2015-07-26 Thread Richard Mace
Hi,
Can anybody point me at an example of how 2 application's can transfer data
between one another across 2 different machines.

Thanks
Richard

PS Lazarus 1.4.2 FPC 2.6.4 windows
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] TEncoding class

2015-07-26 Thread Aradeonas
Hi,

I'm trying to port a Delphi application and it use TEncoding class from
SysUtils a lot. Is there any implementation of it out there for
FreePascal and Lazarus?

Regards, Ara

-- 
http://www.fastmail.com - Access all of your messages and folders
  wherever you are

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


Re: [Lazarus] Sending and receiving record or object data between applications running on different machines.

2015-07-26 Thread Travis Ayres
If there is a network they share, TCP/IP would work. A client/server
architecture.
On Jul 26, 2015 2:27 AM, Richard Mace richard.m...@gmail.com wrote:

 Hi,
 Can anybody point me at an example of how 2 application's can transfer
 data between one another across 2 different machines.

 Thanks
 Richard

 PS Lazarus 1.4.2 FPC 2.6.4 windows

 --
 ___
 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


[Lazarus] how to get Type of Sender or Components[i] in order to Cast?

2015-07-26 Thread Bob B.
Thanks.
Bob B.

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


Re: [Lazarus] how to get Type of Sender or Components[i] in order to Cast?

2015-07-26 Thread Péter Gábor
Sorry!
I was misreading your mail... you want to know the type of them.

You can compare the type of them:

if Sender = TButton then { do something} ;

or you can get the name of the class

ShowMessage( Sender.classname );


2015-07-27 07:30 keltezéssel, Péter Gábor írta:
 If you typecast something you can use the fields and properties of the
 type you use for casting, for example:
 
 if TCheckBox(Sender).Checked then {do_something}  ;
 
 or
 
 if TCheckBox(Components[I]).Checked then {do_something}  ;
 
 
 2015-07-27 00:31 keltezéssel, Bob B. írta:
 how to get Type of Sender or Components[i] in order to Cast?
 Thanks.

 Bob B.

 

-- 
Péter Gábor
p...@freemail.hu


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


Re: [Lazarus] how to get Type of Sender or Components[i] in order to Cast?

2015-07-26 Thread Sven Barth
Am 27.07.2015 07:48 schrieb Péter Gábor p...@freemail.hu:

 Sorry!
 I was misreading your mail... you want to know the type of them.

 You can compare the type of them:

 if Sender = TButton then { do something} ;

The correct operator is is not =.

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


Re: [Lazarus] TEncoding class

2015-07-26 Thread Sven Barth
Am 26.07.2015 19:44 schrieb Aradeonas aradeo...@operamail.com:

 Hi,

 I'm trying to port a Delphi application and it use TEncoding class from
SysUtils a lot.
 Is there any implementation of it out there for FreePascal and Lazarus?

If I remember correctly this should be available from FPC 3.0 on.

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