Re: [lazarus] Re: tooltip expression evaluation feature?

2006-02-02 Thread Graeme Geldenhuys
I would like to confirm that it now works under Win2000 as well. Thanks to everybody that helped on this one. Regards, - Graeme - On 1/31/06, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: I enabled the option (Auto Tool Tip Symbol) and fixed showing the hint

Re: [lazarus] GetFileList

2006-02-02 Thread A.J. Venter
Maybe a little bit more: ide/cleandirdlg.pas function TCleanDirectoryDialog.SearchFilesToDelete(var List: TStrings): boolean; This will not only search recursively, it ahs an include and exclude filters. The central function is the sub function SearchInDirectory, which is probably what

Re: [lazarus] GetFileList

2006-02-02 Thread Vincent Snijders
A.J. Venter wrote: Maybe a little bit more: ide/cleandirdlg.pas function TCleanDirectoryDialog.SearchFilesToDelete(var List: TStrings): boolean; This will not only search recursively, it ahs an include and exclude filters. The central function is the sub function SearchInDirectory, which is

Re: [lazarus] Version information

2006-02-02 Thread Jouke Rensma
Thanks for the positive reactions! As I said in my initial mail, I have some things already setup and working. For this I kept things as much as possible the way they are. Right now I have a routine that checks for existance of project.rc and if it finds one, it updates the versionInfo (auto

[lazarus] building ide under win32, error sigsegv

2006-02-02 Thread Oro06
after rebuiding ide+lcl from both : ide and manually (as indicated in tools\install\win32 buid-lazarus.bat) it compiled fine but starting it do Nothing. a gdb lazarus.exe, r give that : Program received signal SIGSEGV, Segmentation fault. 0x7c8024e6 in ReleaseMutex () from

Re: [lazarus] building ide under win32, error sigsegv

2006-02-02 Thread Vincent Snijders
Oro06 wrote: after rebuiding ide+lcl from both : ide and manually (as indicated in tools\install\win32 buid-lazarus.bat) it compiled fine but starting it do Nothing. a gdb lazarus.exe, r give that : Program received signal SIGSEGV, Segmentation fault. 0x7c8024e6 in ReleaseMutex () from

Re: building ide under win32, error sigsegv

2006-02-02 Thread Oro06
Oro06 wrote: after rebuiding ide+lcl from both : ide and manually (as indicated in tools\install\win32 buid-lazarus.bat) it compiled fine but starting it do Nothing. a gdb lazarus.exe, r give that : Program received signal SIGSEGV, Segmentation fault. 0x7c8024e6 in ReleaseMutex () from

Re: [lazarus] Version information

2006-02-02 Thread Mattias Gaertner
On Thu, 02 Feb 2006 09:41:51 +0100 Jouke Rensma [EMAIL PROTECTED] wrote: Thanks for the positive reactions! As I said in my initial mail, I have some things already setup and working. For this I kept things as much as possible the way they are. Right now I have a routine that checks

Re: [lazarus] GetFileList

2006-02-02 Thread Mattias Gaertner
On Thu, 2 Feb 2006 10:24:04 + A.J. Venter [EMAIL PROTECTED] wrote: Maybe a little bit more: ide/cleandirdlg.pas function TCleanDirectoryDialog.SearchFilesToDelete(var List: TStrings): boolean; This will not only search recursively, it ahs an include and exclude filters.

Re: [lazarus] GetFileList

2006-02-02 Thread A.J. Venter
Macros: To search for '$(ProjectDir)/*.lfm' SimpleSyntaxToRegExpr: To use masks like '*.txt' For example SimpleSyntaxToRegExpr(FilterAsText) converts '*.txt' into the regular expression '^.*\.txt$'. If you don't want to use regular expressions you can use FileInFilenameMasks See the

Re: [lazarus] GetFileList

2006-02-02 Thread Mattias Gaertner
On Thu, 2 Feb 2006 12:23:47 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Macros: To search for '$(ProjectDir)/*.lfm' SimpleSyntaxToRegExpr: To use masks like '*.txt' For example SimpleSyntaxToRegExpr(FilterAsText) converts '*.txt' into the regular expression '^.*\.txt$'. If you

Re: [lazarus] building ide under win32, error sigsegv

2006-02-02 Thread Oro06
Vincent Snijders wrote: Oro06 wrote: after rebuiding ide+lcl from both : ide and manually (as indicated in tools\install\win32 buid-lazarus.bat) it compiled fine but starting it do Nothing. a gdb lazarus.exe, r give that : Program received signal SIGSEGV, Segmentation fault. 0x7c8024e6 in

[lazarus] Scaling an image

2006-02-02 Thread Felipe Monteiro de Carvalho
Hello, I continue trying to scale a bitmap on Linux. Bellow is my current function. If bmpDisplay and bmpEnlargedDisplay are TBitmap (and all file extensions are changed of course), then all black pixels and all white pixels become transparent (acctually the colors that become transparent

[lazarus] Interfacing between Handle property and Gtk functions

2006-02-02 Thread Felipe Monteiro de Carvalho
Hello, On Windows I can use the Handle property of TBitmap and TCanvas in Windows API Function. This is very simple, as they correspond directly to a WinAPI Handle. What does the Handle property of the various objects, or at least TBitmap, TPixmap and TCanvas, represent on Gtk functions???

Re: [lazarus] Interfacing between Handle property and Gtk functions

2006-02-02 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: Hello, On Windows I can use the Handle property of TBitmap and TCanvas in Windows API Function. This is very simple, as they correspond directly to a WinAPI Handle. What does the Handle property of the various objects, or at least TBitmap, TPixmap and

[lazarus] Re: Tooltips in ide dialogs

2006-02-02 Thread Funky Beast
Mattias Gaertner wrote: On Wed, 1 Feb 2006 08:38:38 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I'm not sure if anybody is working on help for the Lazarus IDE itself. If not, or if it is still a long way of complete, why don't we use tooltips in the mean time. It's not a long way

[lazarus] Re: Interfacing between Handle property and Gtk functions

2006-02-02 Thread Felipe Monteiro de Carvalho
Marc Weustink wrote: The Handle is an abstract type and its internal meaning may change at any time. Don't rely on it being a direct map to an underlying object/structure/whatever. I don't agree. This can be very helpful, if well documented. If the internal format changes, then change the

[lazarus] Re: TrayIcon preview

2006-02-02 Thread Felipe Monteiro de Carvalho
Danny Milosavljevic wrote: Then it is realized (and probably mapped as well). Try xwininfo and then click on it, or xev and see if it brags about stuff it gets - like mouse clicks, ... (and check that it _is_ your window, not the desktop's :)). If I execute xwininfo and click the systray

Re: [lazarus] Re: Interfacing between Handle property and Gtk functions

2006-02-02 Thread Vincent Snijders
Felipe Monteiro de Carvalho wrote: Marc Weustink wrote: The Handle is an abstract type and its internal meaning may change at any time. Don't rely on it being a direct map to an underlying object/structure/whatever. I don't agree. This can be very helpful, if well documented. If the

[lazarus] Re: TrayIcon preview

2006-02-02 Thread Felipe Monteiro de Carvalho
Danny Milosavljevic wrote: Hi, I just checked what is currently in lazarus svn, and there you do: GTK_WIDGET_SET_FLAGS(PGtkWidget(GtkForm.Handle),GTK_VISIBLE); GTK_WIDGET_SET_FLAGS(PGtkWidget(GtkForm.Handle),GTK_MAPPED); in TWidgetTrayIcon.Show. (wsgtk2trayicon). Don't do that!

Re: [lazarus] Scaling an image

2006-02-02 Thread Patrick Chevalley
I think your output image miss some header or color table from the input one. The solution I use is to load the destinterface using the input bitmap. Try to remove : bmpEnlargedDisplay.Width := CXScreen * 2; bmpEnlargedDisplay.Height := CYScreen * 2; Replace :

[lazarus] Re: TrayIcon preview

2006-02-02 Thread Felipe Monteiro de Carvalho
Danny Milosavljevic wrote: (btw: is your version more up-to-date than what is currently in svn? - i.e. do I review old code? :)) No, not at all. thanks, Felipe _ To unsubscribe: mail [EMAIL PROTECTED] with

[lazarus] Re: Interfacing between Handle property and Gtk functions

2006-02-02 Thread Felipe Monteiro de Carvalho
Vincent Snijders wrote: Maybe in the future the Form.Handle on windows will contain a pointer to a pascal windowinfo object. Maybe that is the most natural way for us to implement the win32 widget interface. It will break some code, but only for people who haven't listened to Marc ... Ok, so

Re: [lazarus] GetFileList

2006-02-02 Thread A.J. Venter
Now I have some new questions though. According to the tutorial on lazarus-ccr a thread must never update the form, does this also apply to things like messagedialog and showmessage ? Yes. The complete painting and mouse/keyboard stuff belongs to one thread. Thanks, so implemented, I

Re: [lazarus] Re: TrayIcon preview

2006-02-02 Thread A.J. Venter
There is no executable xev, and no package named xev available on the repositories of my Mandriva 2006. Xev is part of the Xorg project but not all distros include it in the default packages, look for something called xorg-utils or such which isn't installed, includes all the stuff like

Re: [lazarus] Re: TrayIcon preview

2006-02-02 Thread Felipe Monteiro de Carvalho
On 2/1/06, Danny Milosavljevic [EMAIL PROTECTED] wrote: Don't do the Sleep(80) either (what the heck ... If that causes any problems without, fix the root problem instead ;)) I see no difference with Sleep(80) and without. -- Felipe Monteiro de Carvalho

Re: [lazarus] VirtualTree

2006-02-02 Thread Christian U.
you can checkout it from cvs as described on the lazarus-wiki page thers this problem already fixed - Original Message - From: Marc Weustink [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Monday, January 30, 2006 5:21 PM Subject: Re: [lazarus] VirtualTree Andrea Mauri wrote: Hi,

Re: [lazarus] VirtualTree

2006-02-02 Thread Christian U.
It works already use version from CVS - Original Message - From: Andrea Mauri To: lazarus@miraclec.com Sent: Wednesday, February 01, 2006 4:56 PM Subject: Re: [lazarus] VirtualTree Micha Nelissen wrote: On Mon, 30 Jan 2006 17:21:15 +0100 Marc Weustink [EMAIL

[lazarus] Re: TrayIcon preview

2006-02-02 Thread Felipe Monteiro de Carvalho
Ok, The problem was about giving enougth time for the window to show at least once. Now it works 100% of the time on KDE, but for it to happen I had to move that Sleep(80) to CreateForm() . On the other hand, on IceWM instead of my icon, I see some random colors painted and it doesn't

Re: [lazarus] Re: TrayIcon preview

2006-02-02 Thread A.J. Venter
On the other hand, on IceWM instead of my icon, I see some random colors painted and it doesn't respond to mouse events. This may or may not be related but do an ldd on your icewm executable, icewm by default has ONLY support for xpm image formats (though there is a configure option to