Re: [lazarus] TImage.Autosize

2007-09-05 Thread A.J. Venter
O, i undertood you wrong. The TImage should resize, not the image inside it, since that last works: http://www.dommelstein.nl/scrap/scale.png But you want the opposite. it should be fixed in r11945 This had nothing to do with the changed graphics. Seen the code I doubt if it had eve

Re: [lazarus] TImage.Autosize

2007-09-05 Thread Marc Weustink
Marc Weustink wrote: A.J. Venter wrote: This is new as the code definitely worked with previous lazarus versions. Yes, ythat part got rewritten, probably a wrong compare. Is there an obvious fix somewhere ? O, i undertood you wrong. The TImage should resize, not the image inside

Re: [lazarus] TImage.Autosize

2007-09-05 Thread Marc Weustink
A.J. Venter wrote: This is new as the code definitely worked with previous lazarus versions. Yes, ythat part got rewritten, probably a wrong compare. Is there an obvious fix somewhere ? O, i undertood you wrong. The TImage should resize, not the image inside it, since that last w

Re: [lazarus] objectinspector patch

2007-09-05 Thread Darius Blaszijk
Your guess is as good as mine. Darius Marc Weustink wrote: Darius Blaszijk wrote: Was there a problem with this patch? forgotten ? Marc _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subj

Re: [lazarus] TImage.Autosize

2007-09-05 Thread A.J. Venter
This is new as the code definitely worked with previous lazarus versions. Yes, ythat part got rewritten, probably a wrong compare. Is there an obvious fix somewhere ? A.J. begin:vcard fn:AJ Venter n:Venter;AJ org:Global Pact Trading Pty. Ltd.;OutKast Solutions email;internet:[EMAIL PROTECTE

Re: [lazarus] TImage.Autosize

2007-09-05 Thread Marc Weustink
A.J. Venter wrote: Hi all, New error, affecting at least gtk1 AND gtk2. TImage.Autosize is being ignored. When using Timage.LoadFromFile the image does not resize regardless of the size of timage.AutoSize. It does size Likewize timage.Picture.Canvas.StretchDraw seems not to work as advertiz

Re: [lazarus] objectinspector patch

2007-09-05 Thread Marc Weustink
Darius Blaszijk wrote: Was there a problem with this patch? forgotten ? Marc _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchiv

Re: [lazarus] How to compile IDE for Windows platform

2007-09-05 Thread Al Boldi
Giuliano Colla wrote: > Al Boldi ha scritto: > > I have the sources of FPC/Laz up and running on linux, and now I want to > > compile them on windows. Do I need to download the sources again, or is > > there a platform specific tools package that allows me to recompile with > > the same sources? >

[lazarus] MenuItems with submenus OnClick event

2007-09-05 Thread Luis Rodrigues
Hello, I've submitted a patch for a bug on the win32 implementation of TMenuItem with does not trigger OnClick if the menu item has submenu. I haven't received any input, has anyone looked into this? http://www.freepascal.org/mantis/view.php?id=9529 Regards, Luís

Re: [lazarus] How to compile IDE for Windows platform

2007-09-05 Thread Giuliano Colla
Marc Weustink ha scritto: Giuliano Colla wrote: Al Boldi ha scritto: I have the sources of FPC/Laz up and running on linux, and now I want to compile them on windows. Do I need to download the sources again, or is there a platform specific tools package that allows me to recompile with the s

Re: [lazarus] How to compile IDE for Windows platform

2007-09-05 Thread Marc Weustink
Giuliano Colla wrote: Al Boldi ha scritto: I have the sources of FPC/Laz up and running on linux, and now I want to compile them on windows. Do I need to download the sources again, or is there a platform specific tools package that allows me to recompile with the same sources? There's a

[lazarus] TImage.Autosize

2007-09-05 Thread A.J. Venter
Hi all, New error, affecting at least gtk1 AND gtk2. TImage.Autosize is being ignored. When using Timage.LoadFromFile the image does not resize regardless of the size of timage.AutoSize. Likewize timage.Picture.Canvas.StretchDraw seems not to work as advertized. Images loaded which are larger

Re: [lazarus] How to compile IDE for Windows platform

2007-09-05 Thread Giuliano Colla
Al Boldi ha scritto: I have the sources of FPC/Laz up and running on linux, and now I want to compile them on windows. Do I need to download the sources again, or is there a platform specific tools package that allows me to recompile with the same sources? There's a slightly different dire

Re: [lazarus] tnotebook question

2007-09-05 Thread Giuliano Colla
Mattias Gaertner ha scritto: On Wed, 05 Sep 2007 01:54:09 +0200 Giuliano Colla <[EMAIL PROTECTED]> wrote: Matt ha scritto: I have tnotebook control on my preferences windows for my little program winff. I want page2 to show on windows and page3 on linux. I tried a number of different things.

Re: [lazarus] Threads in packages

2007-09-05 Thread A.J. Venter
Hi It means some units uses multithreading code. It does no matter if they can not logically be called, because the compiler can not know this. When you use threads, some RTL things must be initialized for that. One of those things is using the cthreads unit under unix like systems. You have two

[lazarus] How to compile IDE for Windows platform

2007-09-05 Thread Al Boldi
I have the sources of FPC/Laz up and running on linux, and now I want to compile them on windows. Do I need to download the sources again, or is there a platform specific tools package that allows me to recompile with the same sources? Thanks! -- Al _

Re: [lazarus] Threads in packages

2007-09-05 Thread Mattias Gaertner
On Wed, 05 Sep 2007 11:05:51 +0200 "A.J. Venter" <[EMAIL PROTECTED]> wrote: > Here's an odd one. > In the OutKafelibs package, there is a TThread descendent (among a > bunch of other classes). In previous versions of OutKafe I was calling > TThread.Create repeatedly whenever I had to run a plugin

Re: [lazarus] Threads in packages

2007-09-05 Thread Graeme Geldenhuys
On 05/09/07, A.J. Venter <[EMAIL PROTECTED]> wrote: > I tried sticking cthreads in the unit and a bunch of other stuff, > nothing works. What DID let me go on, was to change the package to > runtime only, now the apps compile and run, and so does the IDE (with > the package not installed). But this

Re: [lazarus] tnotebook question

2007-09-05 Thread Mattias Gaertner
On Wed, 05 Sep 2007 01:54:09 +0200 Giuliano Colla <[EMAIL PROTECTED]> wrote: > > Matt ha scritto: > > I have tnotebook control on my preferences windows for my little > > program winff. I want page2 to show on windows and page3 on linux. > > I tried a number of different things. The code works o

Re: [lazarus] GTK Rotated text

2007-09-05 Thread Mattias Gaertner
On Tue, 04 Sep 2007 21:31:07 +0100 Luis Rodrigues <[EMAIL PROTECTED]> wrote: > Hello, > > I was going to implement rotating text on GTK2 but just noticed that > pango_font_description_set_gravity, PangoGravity, etc are not defined > on FreePascal Pango bindings. > > I tried to find on GTK websit

[lazarus] Threads in packages

2007-09-05 Thread A.J. Venter
Here's an odd one. In the OutKafelibs package, there is a TThread descendent (among a bunch of other classes). In previous versions of OutKafe I was calling TThread.Create repeatedly whenever I had to run a plugin - suffice to say I found this hugely unclean (tthread.free doesn't have enough gu

Re: [lazarus] UTF-8 input handling

2007-09-05 Thread Felipe Monteiro de Carvalho
On 9/5/07, A.J. Venter <[EMAIL PROTECTED]> wrote: > Quick question - how do you 'recompile the lcl with the unicode switch' > ? I should almost CERTAINLY add this as a requirement > in the build instructions for the OutKafe windows client. Phillip is > that correct ? http://wiki.lazarus.freepascal

Re: [lazarus] UTF-8 input handling

2007-09-05 Thread A.J. Venter
Felipe Monteiro de Carvalho wrote: On 9/5/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Does the LCL text components (like TEdit and TMemo) handle UTF-8 input? Yes. On Windows they handle it if you recompile lcl with the unicode switch. Actually the input isn't UTF-8 on Windows, bu

Re: [lazarus] UTF-8 input handling

2007-09-05 Thread Felipe Monteiro de Carvalho
On 9/5/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Does the LCL text components (like TEdit and TMemo) handle UTF-8 > input? Yes. On Windows they handle it if you recompile lcl with the unicode switch. Actually the input isn't UTF-8 on Windows, but rather either UTF-16 or Ansi, but we conv

[lazarus] UTF-8 input handling

2007-09-05 Thread Graeme Geldenhuys
Hi, Does the LCL text components (like TEdit and TMemo) handle UTF-8 input? Or can it only display UTF-8 text so far? Also what about text selection? Cursor (caret) navigation? Right-To-Left handling and selection of Right-To-Left text? Regards, - Graeme -