Re: [lazarus] GetFileList

2006-02-01 Thread Mattias Gaertner
On Thu, 2 Feb 2006 00:02:27 +0200 "A.J. Venter" <[EMAIL PROTECTED]> wrote: > I have been trying all night through a thousand variations on the theme of > > findfirst and findnext to try and come up with what should be a simple > algorythm, start at a specified toplevel directory, and add every f

Re: [lazarus] Tooltips in ide dialogs

2006-02-01 Thread Mattias Gaertner
On Wed, 1 Feb 2006 23:02:51 +0200 Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > > The help system works. We just need someone: > > - who will read the fpdoc manuals > > Where could I get hold of this manual. On the Free Pascal website? Yes. > > No problem. Just make sure, the hints are fetch

Re: [lazarus] GetFileList

2006-02-01 Thread Michael Van Canneyt
On Thu, 2 Feb 2006, A.J. Venter wrote: > I have been trying all night through a thousand variations on the theme of > findfirst and findnext to try and come up with what should be a simple > algorythm, start at a specified toplevel directory, and add every file below > it with full path to a

[lazarus] GetFileList

2006-02-01 Thread A.J. Venter
I have been trying all night through a thousand variations on the theme of findfirst and findnext to try and come up with what should be a simple algorythm, start at a specified toplevel directory, and add every file below it with full path to a stringlist. Of course it does need to recurse subd

[lazarus] SVN problem

2006-02-01 Thread Graeme Geldenhuys
Has something changed on the SVN repository? For the last 2 days I cannot get updates from SVN for Lazarus or FPC. I was using svn command line client ver.1.2.3 I just saw a new version of SVN was released, so thought that was the problem, so upgraded to ver.1.3.0 and still I can do a update or

Re: [lazarus] Tooltips in ide dialogs

2006-02-01 Thread Graeme Geldenhuys
> The help system works. We just need someone: > - who will read the fpdoc manuals Where could I get hold of this manual. On the Free Pascal website? > No problem. Just make sure, the hints are fetched from a resourcestring and > not stored in the .lfm. ResourceStrings go into the lazarusidestrc

Re: [lazarus] Version information

2006-02-01 Thread Alex Smirnov
Micha Nelissen пишет: Jouke Rensma wrote: automatically. At this moment you have to arrange this by hand. As said before I would first like to know: - am I inventing a wheel? - is somebody else working on this also? If yes, maybe we can cooperate??? - since this is very

Re: [lazarus] Re: TrayIcon preview

2006-02-01 Thread Danny Milosavljevic
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! SET_FLAGS is mostly for gtk internal

Re: [lazarus] Re: TrayIcon preview

2006-02-01 Thread Danny Milosavljevic
Hi, Am Dienstag, den 31.01.2006, 09:30 -0200 schrieb Felipe Monteiro de Carvalho: > I added gdk2x unit to wsgtk2trayicon file, so now the Gtk2 file is > exactly like Gtk1 file, except for the uses clause. nice :) > > Specifically the following lines are now just like Gtk1 file: > > procedure

Re: [lazarus] Dumb question - updating a progressbar

2006-02-01 Thread A.J. Venter
On Wednesday 01 February 2006 16:40, A.J. Venter wrote: > Hi all, > Why is it that I cannot seem to get my progressbar to update ¨live¨ > > I am trying to show the progress of decompressing files when the user > selects a multifile book in OpenBook. > Don't worry about it, I decided to do the right

Re: [lazarus] Window Icon again - Proposal

2006-02-01 Thread A.J. Venter
On Wednesday 01 February 2006 19:28, A.J. Venter wrote: > > The linux/gtk forms have icons. > > What is missing, are icons showing in the file managers. This is normally > > done by copying an image of the executable name to a directory like > > /usr/shar/pixmaps/. > > Aye which will usually set th

Re: [lazarus] Window Icon again - Proposal

2006-02-01 Thread A.J. Venter
> > The linux/gtk forms have icons. > What is missing, are icons showing in the file managers. This is normally > done by copying an image of the executable name to a directory like > /usr/shar/pixmaps/. Aye which will usually set the window icon anyway so normally it doesn't bother people - exce

Re: [lazarus] lazarus components

2006-02-01 Thread A.J. Venter
Andrea, while I do not have a tutorial on it (though I was planning to write one when I have time actually) the process is very similar to Delphi, you can browse my SVN tree http://www.silentcoder.co.za/viewsvn For several component packs with a number of components, being fairly small componen

Re: [lazarus] Tooltips in ide dialogs

2006-02-01 Thread Mattias Gaertner
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 to complete. We c

Re: [lazarus] Version information

2006-02-01 Thread Marc Weustink
Mattias Gaertner wrote: On Wed, 01 Feb 2006 13:53:27 +0100 Micha Nelissen <[EMAIL PROTECTED]> wrote: Jouke Rensma wrote: automatically. At this moment you have to arrange this by hand. As said before I would first like to know: - am I inventing a wheel? - is somebody else working on this als

Re: [lazarus] Window Icon again - Proposal

2006-02-01 Thread Mattias Gaertner
On Wed, 1 Feb 2006 10:47:39 +0200 "A.J. Venter" <[EMAIL PROTECTED]> wrote: > Hi all, > Here is a proposal on how to address the window icon issue in a > cross-platform AND delphi compatible way. > > 1) Use ifdefs to do different implementations on plaftfroms. > 2) Win32 use a resource same as a

Re: [lazarus] Version information

2006-02-01 Thread Mattias Gaertner
On Wed, 01 Feb 2006 13:53:27 +0100 Micha Nelissen <[EMAIL PROTECTED]> wrote: > Jouke Rensma wrote: > > automatically. At this moment you have to arrange this by hand. > > As said before I would first like to know: > > - am I inventing a wheel? > > - is somebody else working on this also? If yes, m

[lazarus] lazarus components

2006-02-01 Thread Andrea Mauri
In internet I found a lot of tutorial on how to write components in delphi. I found also a tutorial that explain how to convert delphi component for lazarus. I would like to try to write components with lazarus, there is a wiki page or a tutorial to do that? Can I follow the tutorial dedicated t

Re: [lazarus] VirtualTree

2006-02-01 Thread Andrea Mauri
Micha Nelissen wrote: On Mon, 30 Jan 2006 17:21:15 +0100 Marc Weustink <[EMAIL PROTECTED]> wrote: Andrea Mauri wrote: but it is commented in the lmessages.pp unit: //CM_PARENTFONTCHANGED= CM_BASE + 8; // LCL doesn't send or receive Anyone could help me?

[lazarus] Dumb question - updating a progressbar

2006-02-01 Thread A.J. Venter
Hi all, Why is it that I cannot seem to get my progressbar to update ¨live¨ I am trying to show the progress of decompressing files when the user selects a multifile book in OpenBook. The code is like this (hugely snipped) extractpb.position := 0; For I := 1 to FileLIst.Count -1 do Be

Re: [lazarus] Can't make lazarus

2006-02-01 Thread Peter Vreman
>> Yes I checked and now the subdir /usr/local/bin is in >> the PATH but if I go to this subdir and execute >> directly ppcppc it doesn't recognize the command, but >> if I use ./ppcppc the it works, and I don't know >> why... > > You need to login again probably. Also try 'echo $PATH' to see what

Re: [lazarus] Can't make lazarus

2006-02-01 Thread Micha Nelissen
Bruno Chavez wrote: Hi!! Yes I checked and now the subdir /usr/local/bin is in the PATH but if I go to this subdir and execute directly ppcppc it doesn't recognize the command, but if I use ./ppcppc the it works, and I don't know why... You need to login again probably. Also try 'echo $PATH' t

Re: [lazarus] Dumb question - updating a progressbar

2006-02-01 Thread Michael Van Canneyt
On Wed, 1 Feb 2006, A.J. Venter wrote: Hi all, Why is it that I cannot seem to get my progressbar to update ¨live¨ I am trying to show the progress of decompressing files when the user selects a multifile book in OpenBook. The code is like this (hugely snipped) extractpb.position := 0; Fo

Re: [lazarus] Can't make lazarus

2006-02-01 Thread Bruno Chavez
Hi!! Yes I checked and now the subdir /usr/local/bin is in the PATH but if I go to this subdir and execute directly ppcppc it doesn't recognize the command, but if I use ./ppcppc the it works, and I don't know why... this is my profile file: # System-wide .profile for sh(1) PATH="/bin:/sbin:/us

Re: [lazarus] Gdk2x11 patch

2006-02-01 Thread Marc Weustink
Ales Katona wrote: This patch fixes compilation of gdk2x11 package. Apply from dir with gdk2x11.pas For author: never ever use libc. Use Unix, BaseUnix units. If libc is removed, why is there still a {$ifdef FREEBSD}{$linklib c} needed ? Marc Ales

Re: [lazarus] Version information

2006-02-01 Thread Micha Nelissen
Jouke Rensma wrote: automatically. At this moment you have to arrange this by hand. As said before I would first like to know: - am I inventing a wheel? - is somebody else working on this also? If yes, maybe we can cooperate??? - since this is very windows specific, should I continue anyway or ma

Re: [lazarus] Version information

2006-02-01 Thread Vincent Snijders
Florian Klaempfl wrote: Vincent Snijders wrote: Michael Van Canneyt wrote: On Wed, 1 Feb 2006, Jouke Rensma wrote: Hi all, I am working on an enhancement for Lazarus itself, but I got stuck for the moment. So before continueing I thought maybe I should first discuss this with other Lazaru

Re: [lazarus] Version information

2006-02-01 Thread Florian Klaempfl
Vincent Snijders wrote: > Michael Van Canneyt wrote: >> >> >> On Wed, 1 Feb 2006, Jouke Rensma wrote: >> >>> >>> Hi all, I am working on an enhancement for Lazarus itself, but I got >>> stuck for the moment. So before continueing I thought maybe I should >>> first discuss this with other Lazarus pe

Re: [lazarus] Version information

2006-02-01 Thread Vincent Snijders
Michael Van Canneyt wrote: On Wed, 1 Feb 2006, Jouke Rensma wrote: Hi all, I am working on an enhancement for Lazarus itself, but I got stuck for the moment. So before continueing I thought maybe I should first discuss this with other Lazarus people. Maybe i am inventing a wheel or maybe

Re: [lazarus] Version information

2006-02-01 Thread Michael Van Canneyt
On Wed, 1 Feb 2006, Jouke Rensma wrote: Hi all, I am working on an enhancement for Lazarus itself, but I got stuck for the moment. So before continueing I thought maybe I should first discuss this with other Lazarus people. Maybe i am inventing a wheel or maybe someone else is working on

[lazarus] Version information

2006-02-01 Thread Jouke Rensma
Hi all, I am working on an enhancement for Lazarus itself, but I got stuck for the moment. So before continueing I thought maybe I should first discuss this with other Lazarus people. Maybe i am inventing a wheel or maybe someone else is working on the same thing... What I am trying to cre

[lazarus] Window Icon again - Proposal

2006-02-01 Thread A.J. Venter
Hi all, Here is a proposal on how to address the window icon issue in a cross-platform AND delphi compatible way. 1) Use ifdefs to do different implementations on plaftfroms. 2) Win32 use a resource same as any other app 3) Linux/Freebsd/Apple (not the native one though) all use X11. I know GTK