Re: [Lazarus] How to mimic MWSnap's "Window Information" feature on X11

2008-10-23 Thread Felipe Monteiro de Carvalho
Lazarus supports screenshot taking, so this part is easy. If you are using pure X11 then take a look at the gtk2 implementation for screenshots, it uses x11. Next you take the mouse position and give to a X11 routine to get the window. I don't know which routine to use, but surely there is one, an

Re: [Lazarus] How to mimic MWSnap's "Window Information" feature on X11

2008-10-23 Thread Funky Beast
Graeme Geldenhuys wrote: > Hi, > > MWSnap is an excellent screenshot capture program for the Windows > platform. It includes a few other nice features as well. One of them > is a "Window Information" feature. Awesome feature to spy on other > software to get an idea how how the created the GUI lay

Re: [Lazarus] Rotated text ?

2008-10-23 Thread Paul Ishenin
Michael Van Canneyt wrote: > Hi, > > Is it possible to draw text at a 90° angle ? Yes. Gtk1 does not support it but win32, qt and gtk2 supports. You can find an example in the TDockHeader.Draw method (ldocktree.pas). Best regards, Paul Ishenin. ___ L

Re: [Lazarus] Rotated text ?

2008-10-23 Thread Felipe Monteiro de Carvalho
2008/10/23 Michael Van Canneyt <[EMAIL PROTECTED]>: > Is it possible to draw text at a 90° angle ? We support the winapi CreateFontIndirectEx for that (that's what TOvcRotatedLabel uses). It's in the LclIntf unit. Read the winapi docs. It is planned to also support something like TFont.Orientatio

Re: [Lazarus] Possible bug with 0.9.26

2008-10-23 Thread matt shaffer
Just out of curiosity, did you do Run->run or Run->Build file? Run->run has always been buggy for me, so I just do run->build file and then run the file. On Thu, Oct 23, 2008 at 6:05 PM, Terry A. Haimann <[EMAIL PROTECTED]>wrote: > I have a test app that uses the dbnavigator control. The DBNavig

[Lazarus] Possible bug with 0.9.26

2008-10-23 Thread Terry A. Haimann
I have a test app that uses the dbnavigator control. The DBNavigator control has an OnClick event. When I run this through Lazarus it hangs, but if I run the compiled program from a command prompt it runs fine. So I am assuming the problem is in the debugger. Environment: FC 8, Lazarus 0.9

Re: [Lazarus] Lazarus on x86 Slackware 12.1

2008-10-23 Thread Andrew Haines
Mark Morgan Lloyd wrote: > > Does anybody have any suggestions please? > > Try make LCL_PLATFORM=gtk2 Regards, Andrew ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Rotated text ?

2008-10-23 Thread Michael Schneider
Am Freitag, 24. Oktober 2008 00:05:07 schrieb Michael Van Canneyt: > Hi, > > Is it possible to draw text at a 90° angle ? > > Michael. Take a look at TOvcRotatedLabel http://wiki.lazarus.freepascal.org/OrphPort ___ Lazarus mailing list Lazarus@lazarus

Re: [Lazarus] How to mimic MWSnap's "Window Information" feature on X11

2008-10-23 Thread Michael Schneider
Am Donnerstag, 23. Oktober 2008 23:36:01 schrieb Graeme Geldenhuys: > Has anybody written such a tool, or know of an existing tool that does > this? > > Regards, > - Graeme - Ksnapshot? http://docs.kde.org/stable/en/kdegraphics/ksnapshot/ ___ Laza

[Lazarus] Rotated text ?

2008-10-23 Thread Michael Van Canneyt
Hi, Is it possible to draw text at a 90° angle ? Michael.___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] How to mimic MWSnap's "Window Information" feature on X11

2008-10-23 Thread Graeme Geldenhuys
Hi, MWSnap is an excellent screenshot capture program for the Windows platform. It includes a few other nice features as well. One of them is a "Window Information" feature. Awesome feature to spy on other software to get an idea how how the created the GUI layout. :-) I would like to try and writ

Re: [Lazarus] MacOSAll.pas has invalid UTF-8 characters

2008-10-23 Thread Graeme Geldenhuys
On Thu, Oct 23, 2008 at 9:34 PM, Mattias Gaertner <[EMAIL PROTECTED]> wrote: >> That character ($C5) seens to be some kind of mask character in MacOS, >> and it is being used in the comments as just a mask, replacing it by >> '*' will clarify the meaning (something like) >> >> >> A

Re: [Lazarus] MacOSAll.pas has invalid UTF-8 characters

2008-10-23 Thread Mattias Gaertner
On Thu, 23 Oct 2008 16:53:42 +0200 JoshyFun <[EMAIL PROTECTED]> wrote: > Hello Graeme, > > Thursday, October 23, 2008, 9:24:30 AM, you wrote: > > GG> Most editors don't have issues opening that file, but if you > GG> browse it you can see the odd characters (quite a few) that seems > GG> out of

[Lazarus] Lazarus on x86 Slackware 12.1

2008-10-23 Thread Mark Morgan Lloyd
I'm currently trying to build Lazarus 0.9.26 on Slackware 12.1, which appears to have a fairly clean set of gtk 2.0 libraries unlike Debian which has a lot of 1.2 stuff. I think I need to create a manual symlink libgdk_pixbuf.so -> libgdk_pixbuf-2.0.so However even with this I get: Linking ..

Re: [Lazarus] MacOSAll.pas has invalid UTF-8 characters

2008-10-23 Thread JoshyFun
Hello Graeme, Thursday, October 23, 2008, 9:24:30 AM, you wrote: GG> Most editors don't have issues opening that file, but if you browse it GG> you can see the odd characters (quite a few) that seems out of place. GG> "kwrite" makes them easy to spot - it highlights them with a ? on a GG> black c

Re: [Lazarus] Carbon PPC: Blue-ish images from ImageList

2008-10-23 Thread mitya boyarintsev
The bug is probably caused by internal image translation and processing. If images are processed as 4 or 2 byte integers (Longword, word), not as a sequence of bytes, the code is simply not cross platform (not cross CPU at least). because PPC is big-endian CPU, while Intel (that is the primary fo

[Lazarus] Issue with IDispatch.Invoke: Can't set Word.Application.Visible to false?

2008-10-23 Thread Thierry Coq
Hello, I've trying to connect to a Word or Excel application with Lazarus 0.9.26. The IDispatch does not work, I've tried going to the "Invoke" API, and it still doesn't work. I'm able to create a Word.Application objet, I'm even able to get the pointer to the "Visible" property. I just can't s

Re: [Lazarus] MacOSAll.pas has invalid UTF-8 characters

2008-10-23 Thread Graeme Geldenhuys
On Wed, Oct 22, 2008 at 1:48 PM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Hi, > > From what I can gather the following unit seems to have invalid UTF-8 > characters > /packages/univint/src/MacOSAll.pas I only noticed now... I posted this in the wrong mailing list. It was meant for the FPC-

Re: [Lazarus] MacOSAll.pas has invalid UTF-8 characters

2008-10-23 Thread Graeme Geldenhuys
On Thu, Oct 23, 2008 at 12:48 AM, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > AFAIK the original c header files are UTF-8 encoded. > Maybe the translation utility did some conversion. That's probably what happened then. > Lazarus opens it as ISO-8859-1, which allows even some basic editing >