[lazarus] Linking to properties on other forms/datamodules..

2007-09-23 Thread Dominique Louis
Violation. All suggestions welcome. Dominique Louis. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] Linking to properties on other forms/datamodules..

2007-09-23 Thread Dominique Louis
, Dominique Louis wrote: Hi Lazarians, I'm working on Mac OS X and can't find a way to hook up properties from Form1 to properties on Form2 or DataModule2 in the IDE. This is very to easy do in Delphi, but I can't find a way to do this in Lazarus. For example. I have a toolbar and Ma

Re: [lazarus] Linking to properties on other forms/datamodules..

2007-09-24 Thread Dominique Louis
, Dominique. Luca Olivetti wrote: En/na Dominique Louis ha escrit: How about setting this via the IDE, how is that done for the scenario I mentioned earlier? It doesn't work yet: http://www.freepascal.org/mantis/view.php?id=648

[lazarus] TMediaPlayer for Mac OS X...

2007-09-24 Thread Dominique Louis
Hi all, Just wondering if anyone is working on creating a TMediaPlayer equivalent for Mac OS X? Possibly just a wrapper around OpenAL and/or QuickTime. Thanks, Dominique. _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] scanline example didn't work after update to svn 12247

2007-10-02 Thread Dominique Louis
Will this Scanline code also work on Mac OS X? Dominique. 12 12 wrote: It means, the function does not work with formats which lines can start in a middle of a byte (e.g. at the third bit). The Delphi ScanLine function has the same limit. I didn't know about such formats! Which formats can

Re: [lazarus] Mac FPC/Lazarus project, SpeedButtons with Transparency

2007-10-03 Thread Dominique Louis
You beat me to it, I'm also porting a rather large commerical Delphi app to Mac OS X and found the same problem. Also while I'm here, is there a RichTextEdit component for Mac OS X? Dominique. Peter Gannon wrote: As described in a previous email, we have converted a Delphi/Windows music prog

Re: [lazarus] scanline example didn't work after update to svn 12247

2007-10-03 Thread Dominique Louis
Hi Mattias, which build of Lazarus is this available in? Because on the version I have, Tbitmaps don't have the scanline property. Dominique. Mattias Gaertner wrote: On Tue, 02 Oct 2007 22:32:21 +0100 Dominique Louis <[EMAIL PROTECTED]> wrote: Will this Scanline code also wor

[lazarus] TRegistry crash on Mac OS X

2007-10-03 Thread Dominique Louis
As mentioned I'm porting a Delphi app to Mac OS X and noticed that every time it tries to make use of the TRegistry functions an AV occurs. Does anyone know why this may be happening, and also where does it save these "Registry" settings? Thanks, Dominique.

Re: [lazarus] TRegistry crash on Mac OS X

2007-10-05 Thread Dominique Louis
Hi Tom, I'll step through the code this week-end and write something up. Dominique. Tom Gregorovic wrote: Dominique Louis napsal(a): As mentioned I'm porting a Delphi app to Mac OS X and noticed that every time it tries to make use of the TRegistry functions an AV occurs. Does a

Re: [lazarus] Mac FPC/Lazarus project, SpeedButtons with Transparency

2007-10-06 Thread Dominique Louis
Felipe Monteiro de Carvalho wrote: Depends on how much RichEdit functionality you need. There are some controls to show html, so you can display formatted text. AFAIK noone ever implemented a full RichEdit with editing capabilities. Just to display .rtf files within the application. It would

Re: [lazarus] Mac FPC/Lazarus project, SpeedButtons with Transparency

2007-10-06 Thread Dominique Louis
Tom Gregorovic wrote: Is their a way to get SpeedButtons with transparency on Mac/Lazarus/FPC ? This should be fixed in svn revision 12349. This is excellent news. I'm not familiar with out SVN revisions work. When is this likely to be publicly released, and if we wanted fix this in my cur

[lazarus] Strange Parameter being passed to .app on startup...

2007-10-07 Thread Dominique Louis
Hi all, The basic conversion is now over, so the debugging begins. When the application is started via the Application Bundle a strange parameter is passed to the executable as the first parameter. The parameter looks like this "-psn_0_", where the ns represent some number value that

Re: [lazarus] Mac FPC/Lazarus project, SpeedButtons with Transparency

2007-10-07 Thread Dominique Louis
Great! I'll grab a snapshot tomorrow night. Peter Gannon wrote: I downloaded and installed the latest build of Lazarus, and can confirm that the SpeedButton transparency is working great in our Carbon program. Thanks again Peter

[lazarus] Snapshot server down??

2007-10-08 Thread Dominique Louis
Hi all, Just wondering if anyone else if having problems with the Snapshot server over at http://www.de.freepascal.org/lazarus/? Secondly, if I have applied a patch to a local FCL or LCL unit, how do I get the IDE to make use of that unit, without moving it to my project directory as I wan

Re: [lazarus] Lazarus review

2007-10-09 Thread Dominique Louis
Michael Van Canneyt wrote: Did anyone ever notice this ? http://www.linux.org/apps/reviews/lazarus.html Very positive... and reviewed by a famous basketball player at that. Who would have thought that between shooting hoops he was an object pascal fan ;-). Dominique.

Re: [lazarus] Patch for message tab error in compiler options

2007-10-12 Thread Dominique Louis
I was about to post about this crash. wile64 wrote: Hi, See subjet Regards, -- Laurent. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.

[lazarus] ListView Crashes on Mac OS X...

2007-10-13 Thread Dominique Louis
Hi all, I notice a couple of things during a port of a Delphi app to Lazarus on Mac OS X. Firstly, the TreeView seems to have a refresh issue and it only draws itself correctly if you expand and contract nodes. Secondly, and more importantly, if I add a ListView to a form, when I try and

Re: [lazarus] ListView Crashes on Mac OS X...

2007-10-14 Thread Dominique Louis
Hi Marc, Does this mean that it is being worked on? Or is that just a place hold exception until someone gets round to working on it? Dominique. Marc Weustink wrote: Dominique Louis wrote: Hi all, I notice a couple of things during a port of a Delphi app to Lazarus on Mac OS X

Re: [lazarus] ListView Crashes on Mac OS X...

2007-10-14 Thread Dominique Louis
? Dominique. Tom Gregorovic wrote: Dominique Louis napsal(a): Hi Marc, Does this mean that it is being worked on? Or is that just a place hold exception until someone gets round to working on it? Hi, I will be working on that, but it is quite wide. I expect it would be usable in two weeks

Re: [lazarus] ListView Crashes on Mac OS X...

2007-10-14 Thread Dominique Louis
Hess, Philip J wrote: I'm thinking of creating a wiki page devoted to getting the Laz IDE working fully with Carbon. Would anyone be interested in that? I think a native Carbon Laz IDE would make a great poster child showing the power of Lazarus and FreePascal's cross-platform portability. I

[lazarus] Enumerating Fonts on Mac OS X...

2007-10-14 Thread Dominique Louis
Hi all, What is the easier way to get the list of Fonts currently installed on a Mac OS X system. I'd like to populate a Combobox with the Fonts currently installed on the system. Dominique. _ To unsubscribe: mail [EMAIL PR

Re: [lazarus] ListView Crashes on Mac OS X...

2007-10-14 Thread Dominique Louis
Dominique Louis wrote: Hess, Philip J wrote: I'm thinking of creating a wiki page devoted to getting the Laz IDE working fully with Carbon. Would anyone be interested in that? I think a native Carbon Laz IDE would make a great poster child showing the power of Lazarus and FreePascal&#x

Re: [lazarus] TRegistry crash on Mac OS X

2007-10-15 Thread Dominique Louis
Tom Gregorovic wrote: I have just tested it and it works well for me. The TRegistry should be saved to reg.xml file in the same dir as the executable. Please create a bug report with further description. On Mac OS X, the reg.xml file is saved to the root directory, but on some user's machines

Re: [lazarus] Enumerating Fonts on Mac OS X...

2007-10-15 Thread Dominique Louis
t) do ComboBox1.Items.Add(Screen.Fonts[i]); Because of the large number of fonts available on OS X, you might want to use a TListBox instead of a TComboBox. Thanks. -Phil -Original Message- From: Dominique Louis [mailto:[EMAIL PROTECTED] Sent: Sun 10/14/2007 2:02 PM To: lazarus@miraclec.com Su

[lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...

2007-10-20 Thread Dominique Louis
Hi all, this is possibly a silly error on my part. I have just updated to the latest snapshot version of Lazarus/FPC. When I try and compile my Mac OS X project the unit carbonprinters_h.inc is opened and the TCarbonPrinter class is highlighted and the console window error message is : "carbo

Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...

2007-10-20 Thread Dominique Louis
did not solve the problem. Dominique. Now Lazarus can find the compiled units. Thanks. -Phil -Oorspronkelijk bericht- Van: Dominique Louis [mailto:[EMAIL PROTECTED] Verzonden: za 20-10-2007 10:43 Aan: lazarus@miraclec.com Onderwerp: [lazarus] Error when Updgrading to lastest ( 20/

Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...

2007-10-20 Thread Dominique Louis
Gracias Jesus, Do you happen to know at roughly what time the snapshots are done? Saludos, Dominique Jesus Reyes wrote: --- Dominique Louis <[EMAIL PROTECTED]> escribió: Hi all, this is possibly a silly error on my part. I have just updated to the latest snapshot version of L

Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...

2007-10-20 Thread Dominique Louis
Thanks Vincent. Vincent Snijders wrote: Dominique Louis schreef: Gracias Jesus, Do you happen to know at roughly what time the snapshots are done? Look here to see the times, which match the upload time pretty accurate: ftp://ftp.hu.freepascal.org/pub/lazarus/ Vincent

Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...

2007-10-21 Thread Dominique Louis
same error. As I mentioned earlier, this implies that the carbonprinters_h.inc is being reference elsewhere. Thanks, Dominique. Jesus Reyes wrote: --- Dominique Louis <[EMAIL PROTECTED]> escribió: Hi all, this is possibly a silly error on my part. I have just updated to the late

Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...

2007-10-21 Thread Dominique Louis
project I developed a while back when we were tracking down bugs in the CUPS printer units. Its doesn't need Printer4Lazarus and it compiles fine with the 20071019 snapshot. Thanks. -Phil -Original Message- From: Dominique Louis [mailto:[EMAIL PROTECTED] Sent: Sun 10/21/2007 7:41

Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...

2007-10-21 Thread Dominique Louis
roject I developed a while back when we were tracking down bugs in the CUPS printer units. Its doesn't need Printer4Lazarus and it compiles fine with the 20071019 snapshot. Thanks. -Phil -Original Message----- From: Dominique Louis [mailto:[EMAIL PROTECTED] Sent: Sun 10/21/2007 7:41 AM

Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...

2007-10-21 Thread Dominique Louis
Vincent Snijders wrote: Not "end." ? Yes it is ment to be end. As it turns out it was the required package causing that problem, but removing it causes other Printer related issues, as mentioned in my other email. Dominique. ___

Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...

2007-10-21 Thread Dominique Louis
Vincent Snijders wrote: > You must use printers4lazarus, otherwise you cannot have a printdialog. PrintDialog is not part of the LCL. If I add printers4lazarus to the project this then takes me full circle back to to my original problem and error. If I remove printers4lazarus I get the Prin

Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...

2007-10-22 Thread Dominique Louis
Jesus Reyes wrote: Well the problem is that carbon implementation was empty and just a squeleton was there, yet this squeleton was buggy :( (copy and paste problem) and because it wasn't really compiled (I don't have a mac) it was not inmediately noticed. I made some changes in r12545 and it shou

[lazarus] Mac OS X : TBitBtn Transparency

2007-10-24 Thread Dominique Louis
I've noticed that transparency for TBitBtn under Carbon on Mac OS X does not appear to work. Let me clarify that. It looks fine inside the X11 ide on the Lazarus form, but is not transparent at run-time under Carbon. Is there anything specific to Mac OS I need to do to do get transparency?

Re: [lazarus] Mac OS X : TBitBtn Transparency

2007-10-24 Thread Dominique Louis
Tom Gregorovic wrote: Do you mean TBitBtn face transparency or glyph transparency? AFAIK TBitBtn face is not transparent on Mac OS X. I should have been more explicit. I'm talking about the glyph transparency. I still see the fuschia background of the glyph at run-time. Dominique.

Re: [lazarus] Mac OS X : TBitBtn Transparency

2007-10-24 Thread Dominique Louis
Marc Weustink wrote: What version of Lazarus did you use ? What os version and what cpu (intel or powerpc) Latest Snapshot on the 23rd of October. Mac OS X 10.1.10 MacBook Intel. Dominique. _ To unsubscribe: mail [EMAIL PRO

[lazarus] Using SDL.framework within Lazaru project

2007-10-29 Thread Dominique Louis
Hi all, What is the correct way to use an *.framework within a Lazarus project? I can get SDL.framework working with XCode, but don't know where put the -kSDL line to get it to pull in the framework. Thanks, Dominique. _

RE: [lazarus] Using SDL.framework within Lazaru project

2007-10-30 Thread Dominique Louis
ominique, On the Compiler Options tab, check the "Pass Options To The Linker" box and enter this in text box: -framework sdl This will be passed to FPC as -k'-framework' -k'sdl', which then passes the switches on to the linker. Thanks. -Phil -Original Mes

RE: [lazarus] Using SDL.framework within Lazaru project

2007-10-30 Thread Dominique Louis
rary. Thanks. -Phil -Original Message- From: Dominique Louis [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 7:53 AM To: lazarus@miraclec.com Subject: RE: [lazarus] Using SDL.framework within Lazaru project Hi Philip, Thanks for pointing this out. On the Mac that option was

Re: [lazarus] Using SDL.framework within Lazarus project on Mac OS X

2007-11-01 Thread Dominique Louis
te how it's done in FPCMacOSAll.pas: function sqrt(x: double_t): double_t; external name '_sqrt'; When you include -framework carbon the linker is able to find the "_sqrt" function in the Carbon framework's library. Thanks. -Phil -Original Message- From: Dominique

Re: [lazarus] Lazarus/FPC and SDL on W32 and Linux

2007-11-01 Thread Dominique Louis
Hi, The most up to date sdl headers can be found @ http://jedi-sdl.pascalgamedevelopment.com sdl4fp has not been maintained for a very long time. The JEDI-SDL headers have been tested and known to work on Win32, Linux, Mac OS X, Game Boy advance, Nintendo DS and even the GP2X console using bo

[lazarus] XCode and Lazarus's FCL

2007-11-08 Thread Dominique Louis
Hi all, I'm trying to compile a project that makes use of the LCL and FCL. Currently it can't find the Graphics unit. How can I set up XCode 2.5 to pick the appropriate units? Should I add them manually to the project or can I point the XCode project to a set of directories. Dominique. ___

Re: [lazarus] Using SDL.framework within Lazarus project on Mac OS X

2007-11-08 Thread Dominique Louis
e linker. Thanks. -Phil -Original Message----- From: Dominique Louis [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 11:29 AM To: lazarus@miraclec.com Subject: Re: [lazarus] Using SDL.framework within Lazarus project on Mac OS X Hi Philip, I've just been re-reading your mes

Re: [lazarus] Using SDL.framework within Lazarus project on Mac OS X

2007-11-09 Thread Dominique Louis
Felipe Monteiro de Carvalho wrote: Another hint: You can group the -k statements with quotes: -k"-framework carbon -framework sdl" Damn how stupid do I feel. I was under the impression that the FPC compiler would take the -k-framework directive and apply to all option that appeared after i

Re: [lazarus] Using SDL.framework within Lazarus project on Mac OS X

2007-11-09 Thread Dominique Louis
" tab. Glad to hear that you got it to compile. Maybe you could write up something in the wiki about how to use SDL with Lazarus. Perhaps a small test app to help get folks started. Thanks. -Phil -----Original Message- From: Dominique Louis [mailto:[EMAIL PROTECTED] Sent: Friday,

[lazarus] Fix for PrintersDlgs error in current snapshots on Mac OS X...

2007-11-09 Thread Dominique Louis
Hi all, I sent the following fix to Jesus a few days ago, but I have not heard back so don't know if he received it or if he has checked it in yet. Basically in PrintersDlgs you have code that looks similar to this just after the implementation. {$IFDEF LCLCarbon} uses {$ELSE} {$I cupsprn

Re: [lazarus] Fix for PrintersDlgs error in current snapshots on Mac OS X...

2007-11-09 Thread Dominique Louis
t the email to the list. Dominique. Jesus Reyes wrote: --- Dominique Louis <[EMAIL PROTECTED]> escribió: Hi all, I sent the following fix to Jesus a few days ago, but I have not heard back so don't know if he received it or if he has checked it in yet. Basically in PrintersDl

[lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-11 Thread Dominique Louis
Hi all, What is the correct way to debug under Lazarus. I have the current settings in Environment->Debugger Options->General ( tab ).. Debugger type and path = GNU debugger (gdb) path = /usr/bin/gdb If I set a break point and run the application from within the IDE I get.. Initialization out

Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-11 Thread Dominique Louis
Marc Weustink wrote: What gdb version are you using ? No Idea, how can I tell? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarch

Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-12 Thread Dominique Louis
Hi Matt, the version returned is 6.3.50-20050815 ( Apple version gdb696) Dominique. Matt Henley wrote: gdb --version works on my linux box On Nov 11, 2007 5:17 PM, Dominique Louis <[EMAIL PROTECTED]> wrote: Marc Weustink wrote: What gdb version are you using ? No Idea, how can

Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-14 Thread Dominique Louis
Running GDB version: Apple version gbd=696 The it comes up with other messages about not find the *.lpr file. Is there more information required? Dominique. Marc Weustink wrote: Dominique Louis wrote: Hi Matt, the version returned is 6.3.50-20050815 ( Apple version gdb696) funny, I'

[lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-15 Thread Dominique Louis
, Dominique Louis. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Dominique Louis
Hi Marc and Mark, From my tests I have found that the problem is not related to TBitmap. I'll investigate further and report back if I find anything. Dominique. Marc Weustink wrote: Dominique Louis wrote: Hi, Has anyone else encountered a problem on Mac OS X where by when you t

[lazarus] Mac OS X : Bitmap ScanLine....

2007-11-20 Thread Dominique Louis
I know I've labeled this as Mac OS X, it's probably not specific to that OS. I've looked at the scanline demo and it works fine on Mac OS X. My question is when I try to use the code in my project using Delphi compatability mode, I get the error listed below... var lRow : Pointer; Scan

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread Dominique Louis
Marc Weustink wrote: Should I define lRow as a PByteArray? In delphi mode, Yes. Unless you want to compile this in Delphi, there is no reason to use delphi mode. You can, if needed, use a different mode per unit. Hi Marc, Thanks for that and I'm a little bit further, but now get a crash.

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread Dominique Louis
Sorry I don't quite understand what you mean. Result is not freed in the function so the Bitmap should be fine. Please explain further. wile64 wrote: Sorry, He's not finish I am not sure but this test. var BmpResult: TBitmap; begin ... ... BmpResult:=TBitmap.Create; BmpResult.LoadFro

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread Dominique Louis
Yes in this case the function that calls CreateBitmap24 will take care of freeing the Bitmap. But this does not fix my original problem to do with the AV on line Result.LoadFromIntfImage( ScanLineImage ); Dominique. wile64 wrote: 2007/11/25, Dominique Louis <[EMAIL PROTECTED] <

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread Dominique Louis
But the first 3 lines of the CreateBitmap24 function are begin Result := nil; Result := TBitmap.Create; // CREATED HERE! Result.PixelFormat := pf24bit; Result.Width := s_w; Result.Height := s_h; . . . end; wile64 wrote: 2007/11/25, Dominique Louis <[EMAIL PROTECTED] <mailto:

[lazarus] OSX : Copy and Paste bug..

2007-11-30 Thread Dominique Louis
If you copy and paste some text with an @ sign in it, for example passing the address of something, when you paste that code somewhere else the @ sign is changed into a ". Not a big bug, but an annoying one nevertheless. Dominique. _

Re: [lazarus] OSX : Copy and Paste bug..

2007-12-01 Thread Dominique Louis
Hi Tom, this is an IDE bug, and I think the only way the IDE runs on Mac OS X is gtk at the moment, though someone was working on porting the whole thing to Carbon. Dominique. Tom Gregorovic wrote: On Nov 30, 2007 10:20 AM, Dominique Louis <[EMAIL PROTECTED]> wrote: If you co

Re: [lazarus] New bitmap components dialogs

2007-12-11 Thread Dominique Louis
Tres jolie. Dominique. wile64 wrote: I start new bitmap for dialogs components _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/maila

Re: [lazarus] Module viewer Controller

2007-12-23 Thread Dominique Louis
Hi Marc and Am, I have some Model-View-Controller code that was written in Delphi that I ported to C-Sharp . The Delphi version uses a Linked List to handle the notification of all the views, while the C-Sharp version uses delegates. The C-Sharp version is also more modular as I implemen

[lazarus] Scanlines again

2008-01-05 Thread Dominique Louis
Firstly, I'd like to propose a slight change to the scanlines example so that it is easier for developers to follow the code and to possibly incorporate bits of it into their own code. type TBGRA = packed record b, g, r, a : byte; end; PBGRA = ^TBGRA; TBGRAArray = array[ WORD ] of T

Re: [lazarus] Scanlines again

2008-01-10 Thread Dominique Louis
Hi Mattias, Using Mac OS X how do I create a patch? If you can tell me what I need to download/install then I'm happy to do that. Dominique. Mattias Gaertner wrote: On Sat, 05 Jan 2008 19:14:51 + Dominique Louis <[EMAIL PROTECTED]> wrote: Firstly, I'd like to propose

Re: [lazarus] Mac OS X : TBitBtn Transparency

2008-01-10 Thread Dominique Louis
f I'm pointed in the right direction. Dominique. Tom Gregorovic wrote: Dominique Louis napsal(a): I've noticed that transparency for TBitBtn under Carbon on Mac OS X does not appear to work. Let me clarify that. It looks fine inside the X11 ide on the Lazarus form, but is not tra

Re: [lazarus] Mac OS X : TBitBtn Transparency

2008-01-11 Thread Dominique Louis
Hi Marc, I set the glyph via the IDE. Dominique. Marc Weustink wrote: Dominique Louis wrote: I finally updated to Lazarus v0.9.24 and the glyph transparency issue still does not work with TBitBtns, but works fine on TToolButtons. How do you set the glyph ? In code or in the ide ? Marc

Re: [lazarus] Mac OS X : TBitBtn Transparency

2008-01-11 Thread Dominique Louis
. I also noticed in TCustomBitBtn.ActionChange/CopyImage it has a // TODO : Transparency comment. So I'm guessing it's not done yet. Dominique. Paul Ishenin wrote: Dominique Louis wrote: I finally updated to Lazarus v0.9.24 and the glyph transparency issue still does not work wit

[lazarus] TBitmap.LoadFromStream Fails in Lazarus but works fine in Delphi...

2008-01-27 Thread Dominique Louis
Hi all, I'm using the following function to retrieve a Bitmap from a memory stream. function MyStream.ReadBitmap : TBitmap; // Reads a bitmap from the stream var sss : TMemoryStream; begin Result := nil; if not ReadBoolean then Exit; Result := TBitmap.Create; sss := ReadStreamC;

Re: [lazarus] Mac OS X : TBitBtn Transparency

2008-01-27 Thread Dominique Louis
Tom Gregorovic wrote: It used to work, but after bitmap rewrite (which moved transparency in TBitmap to mask) it was broken. I hope, I have fixed it in latest SVN. Hi Tom, I totally missed this update, I'm downloading the latest snapshot so will let you know if it works for me. Thanks, D

Re: [lazarus] Mac OS X : TBitBtn Transparency

2008-01-27 Thread Dominique Louis
Hi Tom, I just checked and transparency does indeed work correctly in Carbon in the latest Snapshot(27/01/2008). Great work! Dominique. Tom Gregorovic wrote: On Jan 11, 2008 10:09 AM, Dominique Louis <[EMAIL PROTECTED]> wrote: Hi Paul, Does this mean that TBitBtn under Mac OS

Re: [lazarus] TBitmap.LoadFromStream Fails in Lazarus but works fine in Delphi...

2008-01-29 Thread Dominique Louis
Jan 27, 2008 8:45 PM, Dominique Louis <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi all, I'm using the following function to retrieve a Bitmap from a memory stream. function MyStream.ReadBitmap : TBitmap; // Reads a bitmap from the stre

[lazarus] Win32 compilation error : Import library not found for libz

2008-01-30 Thread Dominique Louis
Hi all, I've just been trying to compile some code that makes use of Zlib and when I try to compile it from within Lazarus I get the following error Error: Import library not found for libz at the linking stage. It's the only thing stopping it from linking. Is this a bug in FPC 2.2.1 or am

Re: [lazarus] Win32 compilation error : Import library not found for libz

2008-02-01 Thread Dominique Louis
ll or .so) or are you using the zlib unit (implementation in object pascal) included with FPC? Regards, - Graeme - On 30/01/2008, Dominique Louis <[EMAIL PROTECTED]> wrote: Hi all, I've just been trying to compile some code that makes use of Zlib and when I try to compile it from

[lazarus] Ubuntu and overnight snapshots....

2008-02-03 Thread Dominique Louis
hi all, It is possible to set up Ubuntu to pick up overnight snapshots from hu.freepascal? Thanks, Dominique. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://w

Re: [lazarus] Ubuntu and overnight snapshots....

2008-02-04 Thread Dominique Louis
micahel schneider wrote: > wget and cron? According the Wiki ( http://wiki.lazarus.freepascal.org/Getting_Lazarus ) I need to use.. deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe for the stable version, but what do I use for the unstable snapshot? ___

Re: [lazarus] GamePack 1.0 Released

2008-02-05 Thread Dominique Louis
Hi A.J. You may want to post about your project over on www.pascalgamedevelopment.com. There was talk on there about trying and release a game development pack that would allow FreePascal to target Nintendo GameBoy Advance and Dual Screen. Dominique. A.J. Venter wrote: Hi all, As I promis

Re: [lazarus] Win32 compilation error : Import library not found for libz

2008-02-09 Thread Dominique Louis
Hi all, Anyone have any ideas? Dominique Dominique Louis wrote: My uses clause is as follows uses Zlib, // To avoid linking to objects Sysutils, Classes; This works fine on Mac OS X, but on Win32 I get the error mentioned. Yes I'm using the zlib that ships with FPC. Domi

Re: [lazarus] Win32 compilation error : Import library not found for libz

2008-02-09 Thread Dominique Louis
Marco van de Voort wrote: I've just been trying to compile some code that makes use of Zlib and when I try to compile it from within Lazarus I get the following error Error: Import library not found for libz at the linking stage. It's the only thing stopping it from linking. Is this a bug i

Re: [lazarus] Win32 compilation error : Import library not found for libz

2008-02-09 Thread Dominique Louis
Ok, but shouldn't it work with both? Vincent Snijders wrote: Dominique Louis schreef: Hi all, Anyone have any ideas? Yes, drop zlib and use paszlib. Vincent _ To unsubscribe: mail [EMAIL PROTECTED]