Re: [lazarus] deploy an application
On 21/09/06, Bogusław Brandys [EMAIL PROTECTED] wrote: Why this pixbuf is needed ? It's not a common package as I see.Any way to build Lazarus application for Linux which do not depend on pixbuf ? It is used to load images in gtk1 - if I remember correctly. To answer your second question, fpGUI doens't require it. :-) Once the fpGUI widget set has reached a certain lever of maturity, I will attemp to make it available as another widget set under Lazarus. System dependencies will be much less! Regards, - Graeme - _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] How Can Lazarus Generate Excel ?
Want to prepare some reports(with font styles / formatting) in excel format from Lazarus? Is it possible?
[lazarus] TImage and jpg
Hi I am able to view a .xpm file in a TImage component. But not able to view a jpg file. The Components-Open Loaded Packages , ImageForLazarus and JpegForLazarus are listed. Could it be any conflict b/w these? I prefer to use .jpg as the file size of a .xpm is manyfold than a .jpg. Plz help regards Nataraj begin:vcard fn:http://www.gsis.ac.in n:S Narayan;Nataraj org:Good Shepherd International School;Software adr:Niligiris, ;;M.Palada;Ootacamund;TN;643004;INDIA email;internet:[EMAIL PROTECTED] title:Project Coordinator tel;work:0423 2550371 - 307 x-mozilla-html:TRUE url:http://www.gsis.ac.in version:2.1 end:vcard
Re: [lazarus] How Can Lazarus Generate Excel ?
Newer Excel (I don't remember from what exact version), have their own *XML* syntax: http://www.microsoft.com/office/xml/default.mspx And it seems that Microsoft try to make it even a standard format :) Ido On 9/22/06, Jonathan Chiu [EMAIL PROTECTED] wrote: Want to prepare some reports(with font styles / formatting) in excel format from Lazarus? Is it possible? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Screenshot tool under Linux
Does anybody know if there is a similar tool to MWSnap but for Linux? Or how I could write such a tool using Free Pascal/Lazarus? The feature I am really looking for is the Any area snap mode. When you select that snapping mode, you can then draw a rectangle anywhere on the screen/desktop and it will snap that rectangle to file/clipboard. At the moment under Ubuntu, I can take a full screen or full window screenshot. I then need to open Gimp so I can crop the image to only show the specific area of interrest. MWSnap with the Any Area mode does all this in a single step. MWSnap http://www.mirekw.com/winfreeware/mwsnap.html Regards, - Graeme - -- There's no place like 127.0.0.1 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Screenshot tool under Linux
On 9/22/06, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Does anybody know if there is a similar tool to MWSnap but for Linux? Or how I could write such a tool using Free Pascal/Lazarus? The feature I am really looking for is the Any area snap mode. When you select that snapping mode, you can then draw a rectangle anywhere on the screen/desktop and it will snap that rectangle to file/clipboard. KSnapshot can do it ;-) Regards, Flávio _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Re: Screenshot tool under Linux
Graeme Geldenhuys wrote: Does anybody know if there is a similar tool to MWSnap but for Linux? Or how I could write such a tool using Free Pascal/Lazarus? The feature I am really looking for is the Any area snap mode. When you select that snapping mode, you can then draw a rectangle anywhere on the screen/desktop and it will snap that rectangle to file/clipboard. At the moment under Ubuntu, I can take a full screen or full window screenshot. I then need to open Gimp so I can crop the image to only show the specific area of interrest. MWSnap with the Any Area mode does all this in a single step. MWSnap http://www.mirekw.com/winfreeware/mwsnap.html Regards, - Graeme - ksnapshot - Capture Mode: Region Regards, Funky Beast _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Screenshot tool under Linux
Am Freitag, den 22.09.2006, 14:01 + schrieb Albert Zeyer: If you hit Alt+Print (I think it was Alt, perhaps it could also be Shift or Ctrl) will make a screenshot of the selected window in the foreground under Gnome. This is this very usefull and make a screenshot of a special region redundantly for me. ... Sorry, I haven't read carefully . If you use Compiz, you can press the 'Super'-key (it is the Windows-key on most x86 PCs) and then select a region. This will produce a screenshot of this region.
Re: [lazarus] How Can Lazarus Generate Excel ?
There are two ways to do this. 1. Create an OLE object and automate Excell from the application 2. Create a reader/writer to the MS Excell file format Obviously #1is more simple and faster to implement, although it will only work on the Windows platform. Darius Want to prepare some reports(with font styles / formatting) in excel format from Lazarus? Is it possible? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] How Can Lazarus Generate Excel ?
I forgot to mention a third possibility. You can also output the data into some commonly known format like CSV from lazarus. As a second step you should make a maco in excell that reads this datafile and puts the corresponding items into the proper cells. This method is cross platform compatible and takes close to no time to implement. Darius There are two ways to do this. 1. Create an OLE object and automate Excell from the application 2. Create a reader/writer to the MS Excell file format Obviously #1is more simple and faster to implement, although it will only work on the Windows platform. Darius Want to prepare some reports(with font styles / formatting) in excel format from Lazarus? Is it possible? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] How Can Lazarus Generate Excel ?
I create an html file, tables and embedded css, and save it with the xls extension. Even with formulas.Office 2000+, OpenOffice and Gnumericcanopen thisfilesvery well.Gustavo 2006/9/22, [EMAIL PROTECTED] [EMAIL PROTECTED]: There are two ways to do this.1. Create an OLE object and automate Excell from the application2. Create a reader/writer to the MS Excell file formatObviously #1is more simple and faster to implement, although it will only work on the Windows platform.Darius Want to prepare some reports(with font styles / formatting) in excel format from Lazarus?Is it possible?_ To unsubscribe: mail [EMAIL PROTECTED] withunsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] How Can Lazarus Generate Excel ?
Excuse my english. I create an html file, tables and embedded css, and save it with the xls extension. Even with formulas.Office 2000+, OpenOffice and Gnumericcanopen thisfilesvery well.You can go further connecting your xls file with a cgi app in a web server. I do this to dinamically fill cells in Excel with Web queries.OpenOfficesupportsthistoowithmoreflexiblesoptions. Freepascal rules ! I can use my xls units in console apps, cgi apps and Lazarus apps. Gustavo
[lazarus] Translations to Afrikaans
I have submitted the first .po file for the Lazarus IDE translations to Afrikaans. I am about 50% complete, but am sure I made some mistakes along the way. So for all those Afrikaans speaking people - which you Lazarus language and see if you spot some mistakes or improvements to the translations please. Any feedback is welcome. Regards, - Graeme - -- There's no place like 127.0.0.1 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TFileStream - File Type?
Quoting Kris Leech [EMAIL PROTECTED]: Is it possible to convert a memory byte stream (eg. TFileStream) in to a File pointer for use with normal file routines? Quick-Easy Answer: No. Any class (like TFileStream) is stored different in memory that a File type. Long-Difficult-Boring Answer: We call, sometimes, a File variable a pointer in terms of a concept. But, a File variable, speaking technically, isn't a pointer but a record. Suggestion: Why don't you use a TFileStream and its methods instead ? Or if you prefer, you may make your own unit, in order to use a TFileStream variable/object as it was a File variable and the methods you are use to. Example: --- Unit MyFileUnit; interface type TMyFile = TFileStream; procedure Assign(var F: TMyFile; FullPath: string); procedure Reset(var F: TMyFile; RecordSize: Integer); procedure Rewrite(var F: TMyFile; RecordSize: Integer); procedure Append(var F: TMyFile; RecordSize: Integer); procedure Close(var F: TMyFile); implementation procedure Assign(var F: TMyFile; FullPath: string); begin ... end; procedure Reset(var F: TMyFile; RecordSize: Integer); begin ... end; procedure Rewrite(var F: TMyFile; RecordSize: Integer); begin ... end; procedure Append(var F: TMyFile; RecordSize: Integer); begin ... end; procedure Close(var F: TMyFile); begin ... end; end. --- Just my 2 cents. maramirez _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] How Can Lazarus Generate Excel ?
On Friday 22 September 2006 14:13, [EMAIL PROTECTED] wrote: There are two ways to do this. 1. Create an OLE object and automate Excell from the application 2. Create a reader/writer to the MS Excell file format Obviously #1is more simple and faster to implement, although it will only work on the Windows platform. use libgsf Luke ;) cheers, zac _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] Help!!
I have the keywords and flags set properly, I think. I foiled a bug with gentoo, aahd was politely informed that I needed to emerge a current version of findutils. After doing that, I was able to emerge fpc 2.0.4., but now I am not able to0 compile any of the sample programs since it cant find any units. I have tried various settings for the fpc source directory and tried commenting out the related entries in the fpc.cfg file to see if that was misdirecting the compiler. I may have larger problems since when I try to compile a simple program, it tries to compile the last program that I had opened, and I cant get it to compile the one that I have just opened?!?! Basically I am try8ng ot figure out whether this is my own foolishness or if there is a bug with the amd64 version( this is 0.9.13.beta). Regards frogeye From: Albert Zeyer [mailto:[EMAIL PROTECTED] Sent: Friday, September 22, 2006 8:39 AM To: lazarus@miraclec.com Subject: RE: [lazarus] Help!! Am Donnerstag, den 21.09.2006, 21:21 -0500 schrieb frogeye: I get the same error on amd 64 gentoo trying to emerge fpc 2.0.4 : missing argument to -exec But while I can emerge 2.0.2, it doesnt find the right units for x86_64 You have to set the USE-flags 'source' (perhaps also 'doc' if you like) for this package: echo dev-lang/fpc source doc /etc/portage/package.use If you don't set this USE-flag, only the binary will be installed. You can fill out a bug report to let the maintainer of the Lazarus package know, that an additional check, if FPC was installed with activated 'source'-USE-flag, would be nice. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: 9/18/2006
Re: [lazarus] TFileStream - File Type?
Am Freitag, 22. September 2006 12:49 schrieb Kris Leech: Is it possible to convert a memory byte stream (eg. TFileStream) in to a File pointer for use with normal file routines? Not sure if that is what you mean, but you might wanna look for THandleStream class (for using stream functions on standard file handles) and/or AssignStream function (for using writeln/readln on streams). Didn't play with these yet, so no idea about limitations .. regards Burkhard _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TDesignWindow - in Lazarus?
Mattias Gaertner wrote: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: My question is which class in Lazarus coresponding to the TDesignWindow/TClxDesignWindow in Delphi/Kylix? No one. And the Lazarus IDE is here too different, so I guess, there will never be a compatible one. What events/methods do you need? Object Inspector - Code Explorer integration. Thanks! -- Al _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] LCL Message
I will send this patch to be applied. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TFileStream - File Type?
I don't know about FreePascal (unfortunately), but Delphi is surely in need of some powerful classes for streaming text and other data. If only TFiler were a bit less coupled to component streaming... -Flávio On 9/22/06, Burkhard Carstens [EMAIL PROTECTED] wrote: Am Freitag, 22. September 2006 12:49 schrieb Kris Leech: Is it possible to convert a memory byte stream (eg. TFileStream) in to a File pointer for use with normal file routines? Not sure if that is what you mean, but you might wanna look for THandleStream class (for using stream functions on standard file handles) and/or AssignStream function (for using writeln/readln on streams). Didn't play with these yet, so no idea about limitations .. regards Burkhard _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Code Explorer
Talking of CodeExplorer, I've always wondered whether there's a very-well-hidden setting to group type/variables/functions globally instead of grouping sequential declarations only or is this a candidate for a feature patch? ;-) Shockingly I didn't find a Mantis entry for this, am I alone on this one? :-o Cheers, Flávio _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] LCL Message
That same I suggest, so that it is not lost. 2006/9/22, Felipe Monteiro de Carvalho [EMAIL PROTECTED]: I will send this patch to be applied. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- http://luisdigital.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives