Re: [lazarus] Lazarus installation on SuSE

2006-04-06 Thread Vincent Snijders
Alain Michaud wrote: I assume that lazarus will find the FPC stuff? Well, not quite! in the menu ENVIRONMENT OPTIONS you have manually update the "FPC SOURCE DIRECTORY" and make sure that it is OK by clicking the action: "RESCAN SOURCE DIRECTORY" This is a good oportunity for me to ask a de

Re: [lazarus] Lazarus installation on SuSE

2006-04-06 Thread Alain Michaud
> I assume that lazarus will find the FPC stuff? > Well, not quite! in the menu ENVIRONMENT OPTIONS you have manually update the "FPC SOURCE DIRECTORY" and make sure that it is OK by clicking the action: "RESCAN SOURCE DIRECTORY" This is a good oportunity for me to ask a developer for a little

Re: [lazarus] Growing memory and MySQL

2006-04-06 Thread Michael Van Canneyt
On Thu, 6 Apr 2006, Vincent Snijders wrote: > Sainty wrote: > > Hello all, > > > > I'd like to know what I'm doing wrong (certainly I'm doing something > > wrong). Here is a problem described: > > > > - I have an OnTimer event (TTimer component) defined like this: > > > > begin > > MySQLQuery

[lazarus] Trying PascalMagick

2006-04-06 Thread Thierry Andriamirado
Hello everybody, Working on a soft which for the moment uses the command line tools of ImageMagick, I just found PascalMagick exists. So I tried to use it, following the wiki's instructions, but the linker allways return an ld error message: /usr//bin/ld: cannot find -lWand wanddemo.lpr(63,1) Err

Re: [lazarus] Growing memory and MySQL

2006-04-06 Thread Vincent Snijders
Sainty wrote: Hello all, I'd like to know what I'm doing wrong (certainly I'm doing something wrong). Here is a problem described: - I have an OnTimer event (TTimer component) defined like this: begin MySQLQuery.SQL.Text := 'SELECT CVSKEY FROM CVS WHERE CVSCID=1'; MySQLQuery.Open; CallID :=

[lazarus] Growing memory and MySQL

2006-04-06 Thread Sainty
Hello all, I'd like to know what I'm doing wrong (certainly I'm doing something wrong). Here is a problem described: - I have an OnTimer event (TTimer component) defined like this: begin MySQLQuery.SQL.Text := 'SELECT CVSKEY FROM CVS WHERE CVSCID=1'; MySQLQuery.Open; CallID := MySQLQuery.Fiel

Re: [lazarus] tLabel, tComboBox patch

2006-04-06 Thread Mattias Gaertner
On Thu, 06 Apr 2006 14:44:28 +0200 darekm <[EMAIL PROTECTED]> wrote: > hi > attached patch > 1. set up single line for drawing caption without multi line > 2. much faster drawText to single line option > 3.for tComboBox change is called twice > 4. added {$IFNDEF gtk_no_set_modal} because

Re: [lazarus] Comments about DB2

2006-04-06 Thread Sandor Cserhalmi
You have to save the changes, using the applyupdates command. You have to do that in code. For example in the OnClose-method. And don't forget to commit the transaction. If you need an example, look in the sqldb-examples in the fpc-code. (fcl/sqldb/examples/fedittable.pp) or online: http://

[lazarus] tPanel setColor patch

2006-04-06 Thread darekm
Hi this patch remove flickering on tPanel Darek Index: interfaces/gtk/gtkwsextctrls.pp === --- interfaces/gtk/gtkwsextctrls.pp (wersja 9085) +++ interfaces/gtk/gtkwsextctrls.pp (kopia robocza) @@ -195,6 +195,7 @@ private

Re: [lazarus] tLabel, tComboBox patch

2006-04-06 Thread Micha Nelissen
On Thu, 6 Apr 2006 13:11:26 -0300 "Flávio Etrusco" <[EMAIL PROTECTED]> wrote: > May I suggest that you change > > + if not (csDestroying in ComponentState) and not > (csDestroyingHandle in ControlState) and HandleAllocated then > > to > > + if HandleAllocated and (ComponentState * > [csDest

Re: [lazarus] patch fo tLabel

2006-04-06 Thread Flávio Etrusco
I guess you can do something like in cvs: e.g. svn up -j 9501 -j 9500 MyFile.pas If you're using Windows, latest TortoiseSVN has command 'Revert changes from these revisions' in Log dialog. Cheers, Flávio On 4/6/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > On 05/04/06, Vincent Snijders

Re: [lazarus] tLabel, tComboBox patch

2006-04-06 Thread Flávio Etrusco
May I suggest that you change + if not (csDestroying in ComponentState) and not (csDestroyingHandle in ControlState) and HandleAllocated then to + if HandleAllocated and (ComponentState * [csDestroying,csDestroyingHandle] = []) then ? Cheers, Flávio On 4/6/06, darekm <[EMAIL PROTECTED]

Re: [lazarus] TCustomListBox under Gtk2

2006-04-06 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi Is the TCustomListBox actually a modified treeview under Gtk2? I am looking at the code in Gtk2WSStdCtrls and their is a lot of references to treeview. Weird? AFAIK, the base class for both a list or tree view are the same Marc __

Re: [lazarus] LCL and LM? message methods

2006-04-06 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi I am trying to understand the LCL internals better. I am looking into the issue with double events firing. (eg: Bug #1671) Where does the TCustomListBox and TCustomComboBox LMSelChange method get initiated from? Well any LM methods really? look in the gtkcal

[lazarus] LCL and LM? message methods

2006-04-06 Thread Graeme Geldenhuys
Hi I am trying to understand the LCL internals better. I am looking into the issue with double events firing. (eg: Bug #1671) Where does the TCustomListBox and TCustomComboBox LMSelChange method get initiated from? Well any LM methods really? Regards, - Graeme - -- There's no place l

[lazarus] tLabel, tComboBox patch

2006-04-06 Thread darekm
hi attached patch 1. set up single line for drawing caption without multi line 2. much faster drawText to single line option 3.for tComboBox change is called twice 4. added {$IFNDEF gtk_no_set_modal} because I want disable gtk_window_set_modal(GtkWindow, true); for me GetTextHeight(DCT

Re: [lazarus] Lazarus installation on SuSE

2006-04-06 Thread Eric Chapman
> thanks I'll try it. I assume that lazarus will find the FPC stuff? Depending on how you installed the FPC sources you may get an error message saying that Lazarus can't find them. After cancelling the message(s) you can point Lazarus at the correct location in Environment / Environment Option

[lazarus] TCustomListBox under Gtk2

2006-04-06 Thread Graeme Geldenhuys
Hi Is the TCustomListBox actually a modified treeview under Gtk2? I am looking at the code in Gtk2WSStdCtrls and their is a lot of references to treeview. Weird? Regards, - Graeme - -- There's no place like 127.0.0.1 _ T