[lazarus] TMemo Scroll problem

2007-10-14 Thread Jeff Steinkamp
I have a couple of Tmemo controls on a form that receive data from a client socket. AS the controls fills with data, the control does not scroll to the end as it should. I've even tried to force the setstart property to a vary large number to force the cursor to the end of the data, and

Re: [lazarus] TBitBtn Patch

2007-10-14 Thread Giuliano Colla
New version of the patch. If NumGlyph is 2 it just uses old code. Giuliano The enclosed patch provides a fix for the NumGlyph bug in TBitBtn. It can be improved in future, adding a State property to the button, but at least it shows just one glyph when NumGlyph is 1 and will display a

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] Patch for runparamdlg

2007-10-14 Thread Mattias Gaertner
On Sat, 13 Oct 2007 22:52:38 +0200 Darius Blaszijk [EMAIL PROTECTED] wrote: but the second patch for compileroptionsdlg from wile fixes messages tab and it works. (fixes 4 issues about messages tab in compileroptionsdlg from mantis). I already translated the compileroptionsdlg to

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

2007-10-14 Thread Tom Gregorovic
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. Tom

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

2007-10-14 Thread Dominique Louis
Hi Tom, This is excellent news! I would love to help out any way I can and would also like to learn how you go about wrapping these Carbon controls. If there is anything I can do to help, let me know. Also is there a list somewhere of which Carbon controls have not been ported/wrapped yet?

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

2007-10-14 Thread Tom Gregorovic
Dominique Louis napsal(a): Hi Tom, This is excellent news! I would love to help out any way I can and would also like to learn how you go about wrapping these Carbon controls. If there is anything I can do to help, let me know. Also is there a list somewhere of which Carbon controls have

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

2007-10-14 Thread Hess, Philip J
Tom is right. Almost everything is implemented and working with the Carbon widgetset. Even printing works. For now, you can use the Unix CUPS-based printer dialogs and TPrinter implementation. The dialogs aren't native like the Open, Save, etc. dialogs, but they do work fine now. The TPrinter

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

2007-10-14 Thread Hess, Philip J
Whoops, in my previous e-mail, I meant that the Unix TPrinter implementation does _not_ use the Carbon API. However, it does use the CUPS library, which underlies Carbon. Thanks. -Phil -Original Message- From: Tom Gregorovic [mailto:[EMAIL PROTECTED] Sent: Sun 10/14/2007 8:51 AM To:

Re: [lazarus] utf-8/unicode and keyboard input

2007-10-14 Thread Graeme Geldenhuys
On 12/10/2007, Andreas Gick [EMAIL PROTECTED] wrote: I tried commenting out if (Ord(AText[1]) 31) and (Ord(AText[1]) 127) then and the corresponding begin end; structure, but it didn't seem to change anything. As the code comment states, that procedure still needs work. The best bet would

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

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's

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

2007-10-14 Thread Hess, Philip J
Something like this should work with all widgetsets: for i := 0 to Pred(Screen.Fonts.Count) 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

Re: [lazarus] UTF8 mix-up

2007-10-14 Thread 13stica
Does someone know, how to get the old ISO-8859-1 on an ubuntu feisty? If I understand this, I do this in console: sudo locale-gen sl_SI and this will generate for me ISO-8859-2... bye, barko

[lazarus] Philip Hess' Carbon IDE WIKI idea

2007-10-14 Thread James Chandler Jr
Hi Phil The wiki sounds like a good idea. Adriaan van Os helped us get a middle-sized PC Lazarus app moved into an xcode project. The carbon components this project uses, are working great. The low-level message loop is behaving nicely, doing what one would expect it to do responding to

Re: [lazarus] UTF8 mix-up

2007-10-14 Thread Mattias Gaertner
On Sun, 14 Oct 2007 21:18:06 +0200 13stica [EMAIL PROTECTED] wrote: Does someone know, how to get the old ISO-8859-1 on an ubuntu feisty? If I understand this, I do this in console: sudo locale-gen sl_SI and this will generate for me ISO-8859-2... Thanks. I tried locale-gen

RE: [lazarus] Philip Hess' Carbon IDE WIKI idea

2007-10-14 Thread Hess, Philip J
Jim, All Mac GUI apps should have an .app bundle. Here's how I created one for the Carbon-based Laz IDE: 1. First made copy of GTK-based Lazarus in case Carbon-based IDE doesn't work. Can use Finder or command line: cp -p lazarus lazarus-gtk 2. Started GTK-based Lazarus, then in Configure

Re: [lazarus] TBitBtn Patch

2007-10-14 Thread Mattias Gaertner
On Sun, 14 Oct 2007 12:09:31 +0200 Giuliano Colla [EMAIL PROTECTED] wrote: New version of the patch. If NumGlyph is 2 it just uses old code. Giuliano The enclosed patch provides a fix for the NumGlyph bug in TBitBtn. It can be improved in future, adding a State property to the button,

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

2007-10-14 Thread Mattias Gaertner
On Fri, 12 Oct 2007 18:37:54 +0200 wile64 [EMAIL PROTECTED] wrote: Hi, See subjet The real bug was in the constraints code. Applied anyway, because it looks better. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with