Re: [Lazarus] Unicode text difference between source editor and other Edit controls on Windows

2012-04-26 Thread Hans-Peter Diettrich
Juha Manninen schrieb: On Wed, Apr 25, 2012 at 11:23 AM, Mattias Gaertner nc-gaert...@netcologne.de mailto:nc-gaert...@netcologne.de wrote: From where are you pasting? Via drag and drop or via clipboard? SynEdit uses a different font than TFilenameEdit and treats some

[Lazarus] Sorting with TDBGrid

2012-04-26 Thread Koenraad Lelong
Hi, I would like to implement sorting of columns with a TDBGrid. I found how to detect a click of the title, so that's OK. However, in Delphi there are components where I can modify the title showing the sorting order of the field (a small triangle pointing up or down on the right of the

[Lazarus] IDE debug

2012-04-26 Thread Antonio Fortuny
Hi folks. Here I come again with an old IDE error. When entering the debugger ont break point and I hit F98 to step one line, nothing happens. Hitting again F8 this window is displayed: project has been rebuilt with -B Lazarus 1.1 win32 from last

Re: [Lazarus] Unicode text difference between source editor and other Edit controls on Windows

2012-04-26 Thread cobines
2012/4/25 Juha Manninen juha.mannine...@gmail.com: I copied it through clipboard. The original cyrillic string came from the related issue: 19483: Lazarus can't save to a directory which has unicode characters in its name   http://bugs.freepascal.org/view.php?id=19483 I copied the cyrillic

Re: [Lazarus] IDE debug

2012-04-26 Thread Martin
On 26/04/2012 12:32, Antonio Fortuny wrote: Hi folks. Here I come again with an old IDE error. When entering the debugger ont break point and I hit F98 to step one line, nothing happens. Hitting again F8 this window is displayed:

Re: [Lazarus] How do I debug wince LCL?

2012-04-26 Thread Felipe Monteiro de Carvalho
One nice way to debug it is compiling LCL-WinCE for the Win32 operating system. I made it work in desktop Windows to be able to debug problems there. Unfortunatelly most of the remaining bugs do not reproduce in desktop Windows and therefore are related to differences between the WinCE API and

[Lazarus] File copy

2012-04-26 Thread Koenraad Lelong
Hi, I would like to make an application to centrally store documents. I will put a reference to the location in a Firebird database, so I can retrieve (and show) the document. I will let the user specify the source document, then the application will copy the document to the central location.

Re: [Lazarus] IDE debug

2012-04-26 Thread Antonio Fortuny
Le 26/04/2012 14:30, Martin a écrit : GDB (used by lazarus) reports breakpoint -20. The minus indicates, it is a breakpoint internally handled by gdb (as opposed to a breakpoint set by the IDE, at a location given by the IDE). GDB uses such breakpoints for single stepping. A pascal

Re: [Lazarus] File copy

2012-04-26 Thread Antonio Fortuny
Le 26/04/2012 14:57, Koenraad Lelong a écrit : Hi, I would like to make an application to centrally store documents. I will put a reference to the location in a Firebird database, so I can retrieve (and show) the document. This could lead to very big directories and I don't know any OS who

Re: [Lazarus] IDE debug

2012-04-26 Thread Martin
On 26/04/2012 14:34, Antonio Fortuny wrote: Le 26/04/2012 14:30, Martin a écrit : Can you attach the source of the procedure in question (or at least some lines of it) AND the assembler (from asm debug win) for the line in question and at least the 2 surrounding lines? ... blablabla ...

Re: [Lazarus] File copy

2012-04-26 Thread Koenraad Lelong
On 26-04-12 15:45, Antonio Fortuny wrote: Le 26/04/2012 14:57, Koenraad Lelong a écrit : Hi, I would like to make an application to centrally store documents. I will put a reference to the location in a Firebird database, so I can retrieve (and show) the document. This could lead to very

[Lazarus] ubuntu liboverlay

2012-04-26 Thread Mattias Gaertner
Hi, One step further about the mouse capture bug with ubuntu's liboverlay: liboverlay does not only override the scrollbars it also overrides big parts of the grabbing code of the gtk. This breaks gtk_grab_add for our custom widget (LCLWinapiClient). It simply does not grab, without any note

Re: [Lazarus] Sorting with TDBGrid

2012-04-26 Thread Alexander Klenin
On Thu, Apr 26, 2012 at 20:02, Koenraad Lelong lazar...@de-brouwerij.be wrote: Hi, I would like to implement sorting of columns with a TDBGrid. I found how to detect a click of the title, so that's OK. However, in Delphi there are components where I can modify the title showing the sorting

Re: [Lazarus] How do I debug wince LCL?

2012-04-26 Thread Paul van Helden
Thanks Martin Felipe, C:\ in the search path solved my LCL problem. I'm now running into memory trouble and hitting the 32MB process memory limit. Without debug info my .exe is 5MB but it is 25MB with debug info and it seems it is using up the same amounts of process memory. My app works

Re: [Lazarus] How do I debug wince LCL?

2012-04-26 Thread Martin
On 26/04/2012 15:30, Paul van Helden wrote: Thanks Martin Felipe, C:\ in the search path solved my LCL problem. I'm now running into memory trouble and hitting the 32MB process memory limit. Without debug info my .exe is 5MB but it is 25MB with debug info and it seems it is using up the

Re: [Lazarus] How do I debug wince LCL?

2012-04-26 Thread Paul van Helden
Hi Martin, Thanks, I deleted some breakpoints and placed new ones and the debugger now works fine with external .dbg (not on device). I also found this in the docs for changing the exe location: --eval-command=set remotedirectory \Storage Card\Program Files\My Program\bin and set the

Re: [Lazarus] How do I debug wince LCL?

2012-04-26 Thread Dimitrios Chr. Ioannidis
Hi, On 25/4/2012 9:46 μμ, Paul van Helden wrote: I can step into LCL code when debugging a Win32 project, but a WINCE project shows me the exact line number and file name in the stack trace but always come up with Unable to load file \lazarus\lcl\include\custombitmap.inc (for example). I've

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-26 Thread Bart
On 4/25/12, patspiper patspi...@gmail.com wrote: As for TBitBtn, I suggest Lazarus respects the button's modalresult and acts accordingly. By default a Button with ModalResult = mrNone will not close it's parentform when clicked. A TBitBtn with Kind = bkClose and ModalResult is the exception

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-26 Thread Mattias Gaertner
On Wed, 25 Apr 2012 18:19:49 +0200 Bart bartjun...@gmail.com wrote: Hi, I have created a patch which behaves like this: (see: http://bugs.freepascal.org/view.php?id=21801#attachments , file: msgdlg.diff) If the widgetset has a (native) PromptUser function, then the behaviour of the

Re: [Lazarus] RE : TSQLQuery limited to 255 characters in Unicode

2012-04-26 Thread Hugues Moisy
Thanks Ludo for your answer, You were right, it was a problem of field definition. changing to varchar(1000) it worked fine ! Thank you. But I thikn there is an inconsistency in the driver, because in the update, the whole string is inserted, and in the select stmt only 255 chars are

Re: [Lazarus] [Patch] MS SQL Server/Sybase ASE connectors for Lazarus; was TMSSQLConnection - sqlDB component for accessing MS SQL Server

2012-04-26 Thread Marcos Douglas
On Tue, Mar 27, 2012 at 6:17 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 18-2-2012 2:09, Marcos Douglas wrote: As you can see here http://bugs.freepascal.org/view.php?id=17303 the developer known to LacaK developed a new connector for MSSQLServer, descendant of TSQLConnection

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-26 Thread Bart
On 4/26/12, Mattias Gaertner nc-gaert...@netcologne.de wrote: Can you update the fpdocs too for MessageDlg? You mean the description in ($lazarus)\docs\xml\lcl\dialogs.xml ? If so, I can do that and attach it as a separate diff to the bugreport. Bart --

[Lazarus] Test - Please Ignore

2012-04-26 Thread Daniel Gaspary
Please Ignore. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Editor Toolbar as default package

2012-04-26 Thread Daniel Gaspary
Hi, How about promote the Editor Toolbar package to the group of installed by default? The jump back/forward buttons at the toolbar are reasons enough to me. Thanks. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Editor Toolbar as default package

2012-04-26 Thread William Oliveira Ferreira
I agree but who suggest a good default setting? 2012/4/26 Daniel Gaspary dgasp...@gmail.com Hi, How about promote the Editor Toolbar package to the group of installed by default? The jump back/forward buttons at the toolbar are reasons enough to me. Thanks. --

Re: [Lazarus] Editor Toolbar as default package

2012-04-26 Thread Martin
On 27/04/2012 03:19, William Oliveira Ferreira wrote: I agree but who suggest a good default setting? 2012/4/26 Daniel Gaspary dgasp...@gmail.com mailto:dgasp...@gmail.com Hi, How about promote the Editor Toolbar package to the group of installed by default? Couple of points: