Re: [Lazarus] VirtualTreeView bug

2012-10-18 Thread luiz americo pereira camara
2012/10/18 ik > > I attched it to here, hopefully others might also see and might find > that I do something wrong, if it's not a bug > Replace Widestring references by String Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http:

Re: [Lazarus] Viewing interface object in debugger

2012-10-18 Thread Benito van der Zander
Do you have a small sample app, so I can test? Here: program Project1; {$mode objfpc}{$H+} uses classes; type ITest = interface end; TTest = class(TInterfacedObject, ITest) a: integer; end; var c : TTest; i : ITest; begin c := TTest.Create; c.a := 42; i := c; writeln(c.a); end.

Re: [Lazarus] Back-porting patch for r38992

2012-10-18 Thread Maxim Ganetsky
18.10.2012 20:52, Alexander Klenin пишет: Direct merging caused a conflict. See attached patch against fixes branch. Applied. -- Best regards, Maxim Ganetsky mailto:gan...@narod.ru -- ___ Lazarus mailing list Lazarus@lists.lazarus.

[Lazarus] Back-porting patch for r38992

2012-10-18 Thread Alexander Klenin
Direct merging caused a conflict. See attached patch against fixes branch. -- Alexander S. Klenin tachart_marginsformarks.patch Description: Binary data -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.o

[Lazarus] OI component treeview is now less usable

2012-10-18 Thread Alexander Klenin
Since r39097 (IDEIntf: OI: component treeview: show all owned objects in properties) it became much harder to understand and use treeview. Please, if you are sure it is an improvement for somebody, at least make it configurable. -- Alexander S. Klenin -- _

Re: [Lazarus] VirtualTreeView bug

2012-10-18 Thread luiz americo pereira camara
2012/10/18 ik > Hello, > > I'm trying to figure out why this keep on existing on VT from CCR > virtualtree-new . > A new release is already done (just i could not upload to Lazarus-ccr) so maybe is already fixed. Anyway you can send the complete project here so i can test Luiz > > The probl

[Lazarus] VirtualTreeView bug

2012-10-18 Thread ik
Hello, I'm trying to figure out why this keep on existing on VT from CCR virtualtree-new . The problem is that it display only the first char instead of the whole string. My code: -- type PTreeData = ^TTreeData; TTreeData = record Column1, Column2, Column3 :

Re: [Lazarus] Viewing interface object in debugger

2012-10-18 Thread Martin
On 18/10/2012 14:23, Benito van der Zander wrote: Hi, is there anyway to view the content of an interfaced object with the Lazarus debugger? Do you have a small sample app, so I can test? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.o

[Lazarus] Viewing interface object in debugger

2012-10-18 Thread Benito van der Zander
Hi, is there anyway to view the content of an interfaced object with the Lazarus debugger? Benito -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Can you reproduce the following Access Violation ?

2012-10-18 Thread Mattias Gaertner
ik hat am 17. Oktober 2012 um 18:28 geschrieben: > Hello, > > When I write something like so: > > - > type > TForm1 = class(TForm); This is *not* a forward defined class, this is a normal class. And therefore you have two definitions of TForm1.

Re: [Lazarus] GUI selection to install bigide packages

2012-10-18 Thread Mattias Gaertner
Reinier Olislagers hat am 17. Oktober 2012 um 14:34 geschrieben: > Hi list, > > I may be missing something but suppose you have a bare Lazarus where you > removed a lot of packages. > Is there a way in the GUI to select the packages in make bigide (e.g. > sqldb)? No. Well, beside the obvious of

Re: [Lazarus] Working with threads and GUI

2012-10-18 Thread Michael Schnell
On 10/18/2012 11:59 AM, ik wrote: Thanks, I didn't know about it, and it might save me a thread. It's the portable of what Postmessage() is used for in Windows (so Delphi does not provide it). -Michael -- ___ Lazarus mailing list Lazarus@lists.laz

Re: [Lazarus] Working with threads and GUI

2012-10-18 Thread ik
On Thu, Oct 18, 2012 at 9:13 AM, Michael Schnell wrote: > The LCL provides the function QueuAsyncCall() to have a thread execute a > code snippet in the main thread and thus allow for GUI work. > > Other than TThread.Synchronize, this does not stall the thread until the > main thread activity is f

Re: [Lazarus] Can you reproduce the following Access Violation ?

2012-10-18 Thread ik
On Wed, Oct 17, 2012 at 10:42 PM, stdreamer wrote: > On 17/10/2012 7:28 μμ, ik wrote: >> >> Hello, >> >> When I write something like so: >> >> - >> type >>TForm1 = class(TForm); >> >>TSomeClass = class >>... >>end; >> >>TForm1

Re: [Lazarus] Is this the best way to add TIFF support to imgviewer?

2012-10-18 Thread Reinier Olislagers
On 18-10-2012 11:33, michael.vancann...@wisa.be wrote: > > > On Thu, 18 Oct 2012, Reinier Olislagers wrote: > >> (repost from the forum, no response there, so trying my luck here) >> >> Am trying to extend the Lazarus examples\imgviewer application with >> .tiff support. >> >> Is this[1] the bes

Re: [Lazarus] Is this the best way to add TIFF support to imgviewer?

2012-10-18 Thread michael . vancanneyt
On Thu, 18 Oct 2012, Reinier Olislagers wrote: (repost from the forum, no response there, so trying my luck here) Am trying to extend the Lazarus examples\imgviewer application with .tiff support. Is this[1] the best way to add tiff support to the Lazarus imageview demo application? Normal

[Lazarus] Is this the best way to add TIFF support to imgviewer?

2012-10-18 Thread Reinier Olislagers
(repost from the forum, no response there, so trying my luck here) Am trying to extend the Lazarus examples\imgviewer application with .tiff support. Is this[1] the best way to add tiff support to the Lazarus imageview demo application? It works but is a bit slow. Perhaps the slowness is caused b

Re: [Lazarus] Working with threads and GUI

2012-10-18 Thread Michael Schnell
The LCL provides the function QueuAsyncCall() to have a thread execute a code snippet in the main thread and thus allow for GUI work. Other than TThread.Synchronize, this does not stall the thread until the main thread activity is finished (which can take forever), but the procedure only gets