Re: [Lazarus] Debugger-crash immediately at startup

2010-11-12 Thread Joost van der Sluis
On Thu, 2010-11-11 at 16:34 +, Martin wrote: On 11/11/2010 16:16, Joost van der Sluis wrote: $00D6D04D line 1877 of debugmanager.pas $00D6CCAD line 1780 of debugmanager.pas $00D6F0ED line 2234 of debugmanager.pas $00ADA070 line 1429 of

[Lazarus] Accessing the FormEditor from within a non-lcl designer

2010-11-12 Thread Joost van der Sluis
Hi all, Mattias, I would like to use FormEditor.CreateComponent and FormEditor.CreateuniqueComponentName from within a designer-mediator. So I don't have to duplicate that code. How can I do this? I've tried it using LCLForm.Designer.TheFormEditor, but this is not possible because the

Re: [Lazarus] Accessing the FormEditor from within a non-lcl designer

2010-11-12 Thread Mattias Gaertner
On Fri, 12 Nov 2010 15:15:01 +0100 Joost van der Sluis jo...@cnoc.nl wrote: Hi all, Mattias, I would like to use FormEditor.CreateComponent and FormEditor.CreateuniqueComponentName from within a designer-mediator. So I don't have to duplicate that code. How can I do this? I've tried it

Re: [Lazarus] Accessing the FormEditor from within a non-lcl designer

2010-11-12 Thread Michael Van Canneyt
On Fri, 12 Nov 2010, Mattias Gaertner wrote: On Fri, 12 Nov 2010 15:15:01 +0100 Joost van der Sluis jo...@cnoc.nl wrote: Hi all, Mattias, I would like to use FormEditor.CreateComponent and FormEditor.CreateuniqueComponentName from within a designer-mediator. So I don't have to duplicate

Re: [Lazarus] TGraphicControl and Wm_WindowPosChanged

2010-11-12 Thread Mattias Gaertner
On Wed, 10 Nov 2010 09:41:23 +0300 Max Vlasov max.vla...@gmail.com wrote: Hi, I successfully ported one of my components and was very impressed with how little I had to do in order for it to work. This was a TGraphicControl descendant and a single change was changing catching

Re: [Lazarus] Accessing the FormEditor from within a non-lcl designer

2010-11-12 Thread Joost van der Sluis
On Fri, 2010-11-12 at 15:40 +0100, Mattias Gaertner wrote: On Fri, 12 Nov 2010 15:15:01 +0100 Joost van der Sluis jo...@cnoc.nl wrote: Hi all, Mattias, I would like to use FormEditor.CreateComponent and FormEditor.CreateuniqueComponentName from within a designer-mediator. So I don't

Re: [Lazarus] Lazarus download page

2010-11-12 Thread Joost van der Sluis
On Wed, 2010-11-10 at 18:44 +0100, Vincent Snijders wrote: 2010/11/10 Joost van der Sluis jo...@cnoc.nl: Hi all, I've been playing to build some more user-friendly download page with installation instructions. Before I continue, I would like to know whay you guys find of the basic

[Lazarus] Utf8ToSys on Linux and cwstring in uses clause

2010-11-12 Thread Vladimir Zhirov
Hi, I've just tried to use Utf8ToConsole on my Linux box and was surprised very much about the result. If I run a simple program like this: program project1; {$mode objfpc}{$H+} uses FileUtil; begin WriteLn(UTF8ToConsole('Text in Russian:')); WriteLn(UTF8ToConsole('Текст на

Re: [Lazarus] Lazarus download page

2010-11-12 Thread Marco van de Voort
On Fri, Nov 12, 2010 at 06:05:36PM +0100, Joost van der Sluis wrote: I ignored the instructions and clicked on the title bar of each option and expected it to go to the next page. I expected the triangle to expand and collapse the option. How about this:

Re: [Lazarus] Lazarus download page

2010-11-12 Thread Richard Saunders
On 11/12/2010 12:05 PM, Joost van der Sluis wrote: How about this: http://www.lazarussupport.com/tmp/index.psp/Compiler?section2=DownloadWizard Much better! I like it. -- Rich S. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] VirtualTreeView on Mac

2010-11-12 Thread Eugen Bolz
Am 11.11.10 01:18, schrieb dmitry boyarintsev: On Wed, Nov 10, 2010 at 12:40 AM, Eugen Bolzi...@eugen-bolz.de wrote: It seems that everything is painted in Paint; , it didn't helped to Invalidate it from Outside nor to Invalidate on LMPAINT - Message Any other Suggestions? :( Could you check

Re: [Lazarus] Lazarus download page

2010-11-12 Thread Joshua Lim
Does this page install Lazarus? http://www.lazarussupport.com/tmp/index.psp/Lazarus?section2=Downloadsection3=i386_win32 I'm asking because the download link leads to ftp://ftp.freepascal.org/pub/fpc/dist/2.4.0/i386-win32/fpc-2.4.0.i386-win32.exe Joost van der Sluis wrote: Hi all, I've

[Lazarus] JSon stream to unicode?

2010-11-12 Thread Leonardo M . Ramé
Hi, I'm receiving from a Delphi 7 app a unicode Stream (from Synapse library) containing Unicode data and I need to show it in a Lazarus form. How can I convert it to look correctly on screen?. Example: The string Leonardo Ramé is shown as Leonardo Ram\u009. -- Leonardo M. Ramé

Re: [Lazarus] Utf8ToSys on Linux and cwstring in uses clause

2010-11-12 Thread Mattias Gaertner
On Fri, 12 Nov 2010 20:44:12 +0300 Vladimir Zhirov vvzh.li...@gmail.com wrote: Hi, I've just tried to use Utf8ToConsole on my Linux box and was surprised very much about the result. If I run a simple program like this: program project1; {$mode objfpc}{$H+} uses FileUtil; begin

Re: [Lazarus] JSon stream to unicode?

2010-11-12 Thread Michael Van Canneyt
On Fri, 12 Nov 2010, Leonardo M. Ramé wrote: Hi, I'm receiving from a Delphi 7 app a unicode Stream (from Synapse library) containing Unicode data and I need to show it in a Lazarus form. How can I convert it to look correctly on screen?. Example: The string Leonardo Ramé is shown as

Re: [Lazarus] JSon stream to unicode?

2010-11-12 Thread Lee Jenkins
SuperObject works in both Delphi and fpc. Google superobject json to find the website. Lee Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I'm receiving from a Delphi 7 app a unicode Stream (from Synapse library) containing Unicode data and I need to show it in a Lazarus form. How can I

Re: [Lazarus] JSon stream to unicode?

2010-11-12 Thread Leonardo M . Ramé
On 2010-11-12 22:04:06 +0100, Michael Van Canneyt wrote: On Fri, 12 Nov 2010, Leonardo M. Ramé wrote: Hi, I'm receiving from a Delphi 7 app a unicode Stream (from Synapse library) containing Unicode data and I need to show it in a Lazarus form. How can I convert it to look correctly on

Re: [Lazarus] JSon stream to unicode?

2010-11-12 Thread Michael Fuchs
Leonardo M. Ramé schrieb: Hi, I'm receiving from a Delphi 7 app a unicode Stream (from Synapse library) containing Unicode data and I need to show it in a Lazarus form. How can I convert it to look correctly on screen?. Example: The string Leonardo Ramé is shown as Leonardo Ram\u009.

Re: [Lazarus] JSon stream to unicode?

2010-11-12 Thread Leonardo M . Ramé
On 2010-11-13 00:43:40 +0100, Michael Fuchs wrote: Leonardo M. Ramé schrieb: Hi, I'm receiving from a Delphi 7 app a unicode Stream (from Synapse library) containing Unicode data and I need to show it in a Lazarus form. How can I convert it to look correctly on screen?. Example:

Re: [Lazarus] JSon stream to unicode?

2010-11-12 Thread Leonardo M . Ramé
On 2010-11-12 16:12:05 -0500, Lee Jenkins wrote: SuperObject works in both Delphi and fpc. Google superobject json to find the website. Lee Thanks Lee, I used SuperObject in a Delphi project, but this app is is based on fpJSon, and before changing everything to SuperObject I want to

Re: [Lazarus] TGraphicControl and Wm_WindowPosChanged

2010-11-12 Thread Max Vlasov
On Fri, Nov 12, 2010 at 6:06 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 10 Nov 2010 09:41:23 +0300 Max Vlasov max.vla...@gmail.com wrote: Hi, I successfully ported one of my components and was very impressed with how little I had to do in order for it to work. This

Re: [Lazarus] Control view style 3D?

2010-11-12 Thread Bo Berglund
On Thu, 11 Nov 2010 22:40:03 +, Martin laza...@mfriebe.de wrote: On 11/11/2010 21:20, Bo Berglund wrote: The strange thing is that EVERYTHING else on the XP development PC (all applications with no exception) shows up as 3D EXCEPT the program I created with Lazarus. The explanation that

Re: [Lazarus] Lazarus download page

2010-11-12 Thread Bo Berglund
On Fri, 12 Nov 2010 18:05:36 +0100, Joost van der Sluis jo...@cnoc.nl wrote: On Wed, 2010-11-10 at 18:44 +0100, Vincent Snijders wrote: 2010/11/10 Joost van der Sluis jo...@cnoc.nl: Hi all, I've been playing to build some more user-friendly download page with installation instructions.

Re: [Lazarus] Control view style 3D?

2010-11-12 Thread Paul Ishenin
13.11.2010 14:06, Bo Berglund wrote: I have programmed in Delphi since Delphi 1 (on Win NT 3.51 at that time) and used every version up to Delphi 7. But then Borland started messing up the IDE so I stopped upgrading (or really: stopped using the upgraded products) so I have been a Delphi7