[Lazarus] TODBCConnection

2009-06-07 Thread Bogusław Brandys
Hi, Could someone provide me a correct DSN-less TODBCCOnnection to MS SQL Server 2005 Express to concrete database so queries can be simple ? Boguslaw -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] from hfiandor 12 jun 09

2009-06-14 Thread Bogusław Brandys
JoshyFun wrote: Hello Lazarus, Sunday, June 14, 2009, 3:35:20 AM, you wrote: HFR some time ago a see a program in a diskette, that if the user wants to copy HFR to another memory (the PC hard disk, for example) then was copy but was HFR erased in the diskette, and the same in the other way.

[Lazarus] TAChart license

2009-06-30 Thread Bogusław Brandys
Hello, What kind is license of TAChart ? I'm asking because LGPL force using shared library which is still impossible with LCL to put it into dll/so. Also would be nice to integrate chart with lazreport as additional object. Do I properly assume that any Lazarus program using tachart package

Re: [Lazarus] [?? Probable Spam] Re: Build graph application (like uml design)

2009-10-07 Thread Bogusław Brandys
Michael Van Canneyt pisze: On Wed, 7 Oct 2009, Bogusław Brandys wrote: Mattias Gaertner pisze: On Mon, 5 Oct 2009 19:45:05 -0300 Osvaldo Filho arquivos...@gmail.com wrote: Thanks, but i need create a program with freepascal for design ER diagram. Me too. Mattias How about visual

Re: [Lazarus] [!! SPAM] Re: Undo for Form Designer

2010-01-04 Thread Bogusław Brandys
Juha Manninen pisze: On torstai, 31. joulukuuta 2009 17:08:11 Mattias Gaertner wrote: Notes: Changing a property (e.g. Left) changes some other properties too and there is no hook. So for undo you must store the whole form plus the descendant forms plus the referenced forms plus the source

Re: [Lazarus] [!! SPAM] Re: Re: Undo for Form Designer

2010-01-04 Thread Bogusław Brandys
Juha Manninen pisze: On maanantai, 4. tammikuuta 2010 14:07:13 Bogusław Brandys wrote: Maybe it's overload but every state of project (every change to forms or config) could be stored in database like sqlite and reversed in one step. Internal memory objects should be enough for undo, just

Re: [Lazarus] cross-distro (and OS) app installation - what would you like?

2010-02-08 Thread Bogusław Brandys
Graeme Geldenhuys wrote: Michael Van Canneyt wrote: ? OnGuard from turbopower does this. It is Object Pascal, so I don't see what the problem with that could be ? That is a sore point. We only found that after we did our implementation. :-( Is the FPC+Lazarus port usable? Project status on

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Bogusław Brandys
Vincent Snijders wrote: Graeme Geldenhuys schreef: Hi, Who is the official maintainers of OnGuard located in the Lazarus CCR repository? Bogusław Brandys did this port. See also his recent mail to this list: http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-February/049310.html

Re: [Lazarus] How to use ExceptProc and application.CaptureExceptions

2010-02-17 Thread Bogusław Brandys
Alexander Grau pisze: I'm answering my own question since I got it solved now by setting an ExceptionHandler using Application.AddOnExceptionHandler: application.AddOnExceptionHandler(@MyExceptionHandler); This will capture exceptions, however a stack trace with line numbers won't work

Re: [Lazarus] How to use ExceptProc and application.CaptureExceptions

2010-02-19 Thread Bogusław Brandys
Flávio Etrusco pisze: 2010/2/17 Bogusław Brandys bran...@o2.pl: Alexander Grau pisze: I'm answering my own question since I got it solved now by setting an ExceptionHandler using Application.AddOnExceptionHandler: application.AddOnExceptionHandler(@MyExceptionHandler); This will capture

Re: [Lazarus] My latest Lazarus project. FIND_EM word puzzle generator. Porting code from working. Written by myself.

2011-06-15 Thread Bogusław Brandys
On 2011-06-03 23:02, Peter Williams wrote: Hi Lazarus list, // I have no idea how long the lines are displayed on your screens. My computer is a PC with Windows 7 Ultimate and a 26 inch television. I am short sighted. == It triple boots between Windows 7, Linux Mint 10 and Linux Ubuntu 11.04 --

Re: [Lazarus] contnrs.pp(11, 35) Fatal: Can't find unit contnrs used by Masks

2010-05-31 Thread Bogusław Brandys
Michael Schnell pisze: On 05/27/2010 12:19 PM, Mattias Gaertner wrote: Compile with -vut and right click on messages to save all and hidden messages to clipboard. Unfortunately if I try this Lazarus crashes when I do save all and hidden messages to clipboard. Is there any other way to show

Re: [Lazarus] new fortes report port

2010-06-19 Thread Bogusław Brandys
Mario R. Carro pisze: Hi, I ported the latest Fortes Report to Lazarus. This is not an update of the fortes4lazarus project, but a new port created starting from the upstream sources. The objectives are: - Based on the newest upstream code (3.69B from SF at this moment). - Full port, no

Re: [Lazarus] solved [Re: gdb and qt]

2010-06-20 Thread Bogusław Brandys
zeljko wrote: On Tuesday 11 May 2010 19:31, Martin wrote: sorry found it had the qt5pas.dll, only in my laz dir, not in project... It's strange, I thought that lazarus installs that dll in C:\windows\system32. Is there any wiki page how to use Lazarus with Qt on windows ? Boguslaw --

[Lazarus] fpspreadsheet excel5 export

2010-06-23 Thread Bogusław Brandys
Hi, I tried to do this : MyWorksheet.WriteUTF8Text(0, 3, 'żźćęńóśćąłŻŹĆĄŚĘŃÓŁ'); but not all Polish chars are stored. is this a limitation of excel5 xls files or a bug in fpspreadsheet ? I opened file in OpenOffice 3.1 because I have no Microsoft Excel. Regards Boguslaw --

Re: [Lazarus] fpspreadsheet excel5 export

2010-06-23 Thread Bogusław Brandys
Felipe Monteiro de Carvalho wrote: What kind of encodings do you need? Latin1, Latin2 and Hebrew? I have tested excel8 writing using xlsbiff8 unit and excel5demo project (replaced xlsbiff5 with xlsbiff8 ) but effect is the same. Is there any method to write UTF8 or at least CP1250 Polish

Re: [Lazarus] fpspreadsheet excel5 export

2010-06-23 Thread Bogusław Brandys
Felipe Monteiro de Carvalho wrote: 2010/6/23 Bogusław Brandys bran...@o2.pl: I have tested excel8 writing using xlsbiff8 unit and excel5demo project (replaced xlsbiff5 with xlsbiff8 ) but effect is the same. Did you change the place where you specify the format in which you want to save

Re: [Lazarus] fpspreadsheet excel5 export

2010-06-23 Thread Bogusław Brandys
Felipe Monteiro de Carvalho wrote: 2010/6/23 Bogusław Brandys bran...@o2.pl: Thanks! It works now. Btw when I'm trying to look at properties of generated Excel 97 file it crashes explorer. Properties as in right-clicking the file in explorer and clicking properties ? If yes, then I blame

[Lazarus] TDbGrid almost read-only ? :-)

2010-07-13 Thread Bogusław Brandys
Hi I'd like to set TDBGrid when almost all columns except first are read- only. So far so good - I have set them to read only and first column which is boolean type has nice checkboxes. I have two little problems yet : when scrolling with down arrow DBGrid tries to add empty row in the end

Re: [Lazarus] TDbGrid almost read-only ? :-)

2010-07-13 Thread Bogusław Brandys
Frank Church pisze: 2010/7/13 Bogusław Brandys bran...@o2.pl mailto:bran...@o2.pl Hi I'd like to set TDBGrid when almost all columns except first are read- only. So far so good - I have set them to read only and first column which is boolean type has nice checkboxes. I have

Re: [Lazarus] Reading a spreadsheet with fpspreadsheet

2010-07-30 Thread Bogusław Brandys
Bogusław Brandys wrote: Felipe Monteiro de Carvalho wrote: 2010/7/30 Bogusław Brandys bran...@o2.pl: Or any other cell formatting (though it's a minor issue for me) ? I tryed to add font support in biff 8 writer some time ago, I didn't make it. I don't know why it refused to use the custom

[Lazarus] fplazspreadsheet formula

2010-08-06 Thread Bogusław Brandys
Hi Is formula implemented in fpspreadsheet component ? I've tested excel8write and resulting xls file has missing all cells which should contain formulas. Regards Boguslaw -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] fplazspreadsheet formula

2010-08-07 Thread Bogusław Brandys
José Mejuto pisze: Hello Lazarus-List, Friday, August 6, 2010, 10:25:12 PM, you wrote: BB Is formula implemented in fpspreadsheet component ? I've tested BB excel8write and resulting xls file has missing all cells which should BB contain formulas. No, formulas are now under development. I

Re: [Lazarus] fplazspreadsheet formula

2010-08-07 Thread Bogusław Brandys
José Mejuto pisze: Hello Lazarus-List, Saturday, August 7, 2010, 8:45:47 AM, you wrote: BB Maybe it's possible for xlsbiff8 to override WriteRPNFormula method ? BB IMHO I saw almost complete code commented in WriteFormula method but I BB don't follow it. That code is far, far away from

Re: [Lazarus] Getting keyboard input

2010-08-09 Thread Bogusław Brandys
Dave Coventry pisze: Hi Guionardo. Thanks for the response. 2010/8/9 Guionardo Furlan guiona...@gmail.com: Have you used the Form's OnKeyPress/OnKeyDown/OnKeyUp events? Yes. procedure TForm1.FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState); var ch: char; begin ch:=char(key

Re: [Lazarus] DefaultTranslator

2010-08-20 Thread Bogusław Brandys
Maxim Ganetsky pisze: 20.08.2010 2:46, patspiper пишет: I vote for having the default translator handle resource strings the same way. Added in r27154. Please test. Btw. does it still use .po files or I can now use .mo files also ? Boguslaw --

Re: [Lazarus] Reading .fr3 files from LazReports

2010-08-24 Thread Bogusław Brandys
Michael Van Canneyt pisze: On Tue, 24 Aug 2010, Lee Jenkins wrote: Michael Van Canneyt wrote: On Mon, 23 Aug 2010, Lee Jenkins wrote: Odd, I asked about this before and was told x was not required. Of course it is. The LCL requires X. My original post on 2010/3/17: the basic unit

[Lazarus] TSynedit usage

2010-09-07 Thread Bogusław Brandys
hi I'm slowly investigating lazarus TSynedit component, but I cannot find where to put code repsonsible for reacting to Ctrl+Click on keyword.I need it to use as a pascal script sources editor and I'd like to implement similiar feature to Lazarus Ctrl+Click on keyword to jump to prototype or

Re: [Lazarus] TStringList : how should it behave on Delimiter = ' ' ?

2010-09-08 Thread Bogusław Brandys
W dniu 2010-09-08 12:03, Lukasz Sokol pisze: On 07/09/2010 18:20, Vincent Snijders wrote: 2010/9/7 Lukasz Sokolel.es...@gmail.com: Hi Group, How should the TStringList behave when Delimiter := ' '; QuoteChar := ''; ? On my Lazarus 0.9.28.2 r22279 FPC 2.2.4 i386-win32-win32/win64 when

[Lazarus] Broken trunk compilation

2010-09-23 Thread Bogusław Brandys
Hi I'm trying to compile Lazarus IDe under Win32 but there is an error: (...)\lcl\interfaces\win32\win32lclintf.inc(678,13) Error: identifier idents no member GetRGBIndices Could somebody fix it ? Boguslaw -- ___ Lazarus mailing list

Re: [Lazarus] Broken trunk compilation

2010-09-23 Thread Bogusław Brandys
W dniu 2010-09-23 13:21, Marc Weustink pisze: Bogusław Brandys wrote: Hi I'm trying to compile Lazarus IDe under Win32 but there is an error: (...)\lcl\interfaces\win32\win32lclintf.inc(678,13) Error: identifier idents no member GetRGBIndices Could somebody fix it ? afaik

Re: [Lazarus] Broken trunk compilation

2010-09-23 Thread Bogusław Brandys
W dniu 2010-09-23 14:41, Marc Weustink pisze: On 23-9-2010 14:18, Bogusław Brandys wrote: W dniu 2010-09-23 13:21, Marc Weustink pisze: Bogusław Brandys wrote: Hi I'm trying to compile Lazarus IDe under Win32 but there is an error: (...)\lcl\interfaces\win32\win32lclintf.inc(678,13) Error

Re: [Lazarus] How to stop Lazarus from loading previous project on start?

2010-11-03 Thread Bogusław Brandys
W dniu 2010-11-03 07:28, Bo Berglund pisze: On Wed, 03 Nov 2010 00:00:17 +, Martinlaza...@mfriebe.de wrote: On 02/11/2010 22:22, Bo Berglund wrote: On Tue, 02 Nov 2010 22:09:04 +, Martinlaza...@mfriebe.de wrote: On 02/11/2010 21:57, Bo Berglund wrote: Now I have an error box: