Re: [lazarus] gtk+-develop problems

2006-01-18 Thread L505
> Hi, I'm trying to install lazarus on my system (OpenSuse 10.0), but I'm
> getting a gtk+-develop required.  Where do I get this?

Package Hell and Distro Hell

On Debian it is usually something like apt-get gtk-devel or libgtk-dev or 
lglib-dev
(or trying 600 other combinations of simlar names) that you need, you probably 
need
to find the package for Suse which has a similar name.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] gtk+-develop problems

2006-01-18 Thread John Meyer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi, I'm trying to install lazarus on my system (OpenSuse 10.0), but I'm
getting a gtk+-develop required.  Where do I get this?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDzw60j60GAoLuoDkRAoGPAKChhwqcGR1D3Qj42H8JrNc/sXiq1QCeLy4m
c1HWFUqPbs4QQWda/PiGpNM=
=1R4O
-END PGP SIGNATURE-

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] patch to WidgetDebugReport

2006-01-18 Thread Mattias Gaertner
On Tue, 17 Jan 2006 23:33:29 +0100
darekM <[EMAIL PROTECTED]> wrote:

> I've done some improvements of DebugReports

Thanks. Applied.

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] patch makeresstrdlg

2006-01-18 Thread Mattias Gaertner
On Tue, 17 Jan 2006 23:04:32 +0100 (CET)
[EMAIL PROTECTED] wrote:

> converted to LFM

makeresstrdlg

Applied and fixed the TBitBtn.
Did you test the dialog?

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] bug 0001055 Form autoscroll and Control.Align=alTop

2006-01-18 Thread SALVATORE COPPOLA



Hi,
I forgot to say that the shot is a window scrolled 
(HS). I just noticed that it vanish after the window is resized in the 
sense align altop become OK (related to other issoue?)
 
Salvatore


[lazarus] Gdk2x11 patch

2006-01-18 Thread Ales Katona
This patch fixes compilation of gdk2x11 package. Apply from dir with 
gdk2x11.pas


For author: never ever use libc. Use Unix, BaseUnix units.

Ales

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Gdk2x11 patch

2006-01-18 Thread Ales Katona
This patch fixes compilation of gdk2x11 package. Apply from dir with 
gdk2x11.pas


For author: never ever use libc. Use Unix, BaseUnix units.

Ales
Index: gdk2x.pas
===
--- gdk2x.pas	(revision 8557)
+++ gdk2x.pas	(working copy)
@@ -25,7 +25,7 @@
 interface
 
 uses
-  Classes, SysUtils, libc, glib2, gdk2, xlib, x, xrender;
+  Classes, SysUtils, Unix, BaseUnix, glib2, gdk2, xlib, x, xrender;
 
 {$ifdef FREEBSD}
   {$linklib c}


Re: [lazarus] TrayIcon preview

2006-01-18 Thread Mattias Gaertner
On Wed, 18 Jan 2006 10:04:40 +0200
Simeon Mitev <[EMAIL PROTECTED]> wrote:

> 
> I've got an error when trying install TrayIcon package.
> It seams the Register procedure is missed in TrayIcon unit.
> 
> ../trayiconlaz.pas(16,38) Error: Identifier not found "Register"

Fixed.

Mattias


> 
> 
> 
> Christian Ulrich wrote:
> > real nice work, i have tested it today and have some hints.
> > 
> > 1. tooltips are mostly known as hints in lazarus/delphi so maybe you
> > should rename the 2 properties
> > 
> > 2. i think this component is visual better useable so its easyer to
> > generate the events ...
> > 
> > 3. its not easy to generate an icon handle in win32 i will try to make
> > an function that generates an handle from an bitmap so the
> > handle can be created from TIcom (witch is an TBitmap) it not
> > avalible
> > 
> > 
> > regards
> > Christian
> > 
> > _
> >  To unsubscribe: mail [EMAIL PROTECTED] with
> > "unsubscribe" as the Subject
> >archives at http://www.lazarus.freepascal.org/mailarchives
> > 
> 

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] New code feature

2006-01-18 Thread Mattias Gaertner
I extended the code completion.

Examples:

 procedure TForm1.FormPaint(Sender: TObject);
 begin
   with Canvas do begin
 Line(x1,y1,x2,y2);
   end;
 end;

Place the cursor on 'x1' and press Ctrl+Shift+C for code completion. You
get:

 procedure TForm1.FormPaint(Sender: TObject);
 var
   x1: integer;
 begin
   with Canvas do begin
 Line(x1,y1,x2,y2);
   end;
 end;

For information see:
http://wiki.lazarus.freepascal.org/index.php/Lazarus_IDE_Tools#Variable_Declaration_Completion


Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] setColor patch

2006-01-18 Thread darekM




Mattias Gaertner napisał(a):

  On Tue, 17 Jan 2006 11:45:56 +0100
Mattias Gaertner <[EMAIL PROTECTED]> wrote:

  
  
[...]


  

  Set color background and front don't work for tForms, tEdit and tLabel
  

  

  
  
And TListBox.
In fact, setting TListBox.Color changes all, but the TListBox color.

It seems the patch changes the current widget style, which is used by
several widgets. It should create a new style and apply that.

Will you fix that Darek, or should I reverse the patch?
  


I will prepare next patch (is near ready).

Darek



  

Mattias



  
  

  

  (I'm not test else), I've attached example.
Before all text were black, with patch red.

   

  
  
btw: I suggest _not_ commenting out stuff using block comments,

  

because >>that makes the patch hard to read (because diff doesn't
understand block >>comments and thus doesn't list all the contents).
Best just delete the >>lines you do not need anymore...


  

 


  
  correction in attached file
   

  

How did you create this patch? It looks invalid and 'patch' says:

patch:  malformed patch at line 43: @@ -7540,10 +7584,23 @@

Mattias
 


  
  I've prepare patch once more, maybe now will be better.
Sorry for delay, but now I don`t have enough time.
  

Applied. Thanks.

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

  
  
_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


  






Re: [lazarus] Re: Some questions on Identifier Completion of TSourceNotebook

2006-01-18 Thread Darius Blaszijk
On Wed, 2006-01-18 at 17:11, Funky Beast wrote:
> Darius Blaszijk wrote:
> > Funky Beast/Tomas/Mattias,
> > 
> > I'm very pleased with the discussion on this topic so far. What I would
> > like to add is the following;
> > 
> > - I would like to join in merging the tool that Tomas has made and
> > LazDoc. I think both tools complement each other
> > - I like what Funky Beast is proposing, making a class that parses the
> > FPDoc files. Fortunately LazDoc has a lot of code in already that does
> > the same. Please feel free to take out whatever you need. LazDoc can be
> > changed then to use the new class. Btw there's also code in that
> > extracts all the items in the code.
> 
> Thanks for the pointer, am digesting it.
Btw, I you want some help, don't hesitate to ask.

> 
> > 
> > Darius
> > 
> 
> Funky Beast
> 
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives


_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] create Splitter at Runtime

2006-01-18 Thread Christian U.
Has anybody an idea how to create an "workable" tsplitter at runtime ?
have made a lot of experiments but i never get an useable result in win32.

Christian

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Re: Some questions on Identifier Completion of TSourceNotebook

2006-01-18 Thread Funky Beast

Darius Blaszijk wrote:

Funky Beast/Tomas/Mattias,

I'm very pleased with the discussion on this topic so far. What I would
like to add is the following;

- I would like to join in merging the tool that Tomas has made and
LazDoc. I think both tools complement each other
- I like what Funky Beast is proposing, making a class that parses the
FPDoc files. Fortunately LazDoc has a lot of code in already that does
the same. Please feel free to take out whatever you need. LazDoc can be
changed then to use the new class. Btw there's also code in that
extracts all the items in the code.


Thanks for the pointer, am digesting it.



Darius



Funky Beast

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Re: TrayIcon preview

2006-01-18 Thread Felipe Monteiro de Carvalho

Christian Ulrich wrote:

1. tooltips are mostly known as hints in lazarus/delphi so maybe you should
rename the 2 properties


Renamed, will be available when I send the new files


2. i think this component is visual better useable so its easyer to generate
the events ...


We can have both a visual and a non-visual component.


3. its not easy to generate an icon handle in win32 i will try to make an
function that generates an handle from an bitmap so the
handle can be created from TIcom (witch is an TBitmap) it not avalible


If you can make such function, it may be added to the component.

Felipe

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] setColor patch

2006-01-18 Thread Mattias Gaertner
On Tue, 17 Jan 2006 11:45:56 +0100
Mattias Gaertner <[EMAIL PROTECTED]> wrote:

>[...]
> > >>Set color background and front don't work for tForms, tEdit and tLabel

And TListBox.
In fact, setting TListBox.Color changes all, but the TListBox color.

It seems the patch changes the current widget style, which is used by
several widgets. It should create a new style and apply that.

Will you fix that Darek, or should I reverse the patch?


Mattias



> > >
> > >>(I'm not test else), I've attached example.
> > >>Before all text were black, with patch red.
> > >>
> > >>
> > >>
> > >>>btw: I suggest _not_ commenting out stuff using block comments,
> > >because >>that makes the patch hard to read (because diff doesn't
> > >understand block >>comments and thus doesn't list all the contents).
> > >Best just delete the >>lines you do not need anymore...
> > >>> 
> > >>>
> > >>>  
> > >>>
> > >>correction in attached file
> > >>
> > >>
> > >
> > >How did you create this patch? It looks invalid and 'patch' says:
> > >
> > >patch:  malformed patch at line 43: @@ -7540,10 +7584,23 @@
> > >
> > >Mattias
> > >  
> > >
> > I've prepare patch once more, maybe now will be better.
> > Sorry for delay, but now I don`t have enough time.
> 
> Applied. Thanks.
> 
> Mattias
> 
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] TrayIcon preview

2006-01-18 Thread Felipe Monteiro de Carvalho
On 1/18/06, Simeon Mitev <[EMAIL PROTECTED]> wrote:
> I've got an error when trying install TrayIcon package.
> It seams the Register procedure is missed in TrayIcon unit.
>
> ../trayiconlaz.pas(16,38) Error: Identifier not found "Register"

I changed the TTrayIcon class name on trayicon.pas to give room for a
TTrayIcon class on the package, and avoid confusion.

For now you can use the SystrayIcon object.

--
Felipe Monteiro de Carvalho

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] TrayIcon preview

2006-01-18 Thread Simeon Mitev


I've got an error when trying install TrayIcon package.
It seams the Register procedure is missed in TrayIcon unit.

../trayiconlaz.pas(16,38) Error: Identifier not found "Register"



Christian Ulrich wrote:

real nice work, i have tested it today and have some hints.

1. tooltips are mostly known as hints in lazarus/delphi so maybe you should
rename the 2 properties

2. i think this component is visual better useable so its easyer to generate
the events ...

3. its not easy to generate an icon handle in win32 i will try to make an
function that generates an handle from an bitmap so the
handle can be created from TIcom (witch is an TBitmap) it not avalible


regards
Christian

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives



--
Simeon Mitev

Project Manager
www.erpix.org

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] bug 0001055 Form autoscroll and Control.Align=alTop

2006-01-18 Thread Micha Nelissen

SALVATORE COPPOLA wrote:

Hi,
in the shot there is what I reported in the issoue 0001055 and it is 
still there (recent Lazarus SVN) . Should I reopen the issoue or is 
exected behavior?


What is the expected behaviour ? (What does delphi do?)

Micha

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives