Re: [lazarus] Thread Behavior in Lazarus

2006-03-13 Thread Luca Olivetti
En/na Paul Michell ha escrit: If you use synchronize, the IDE calls CheckSynchronize for you. In command line you need to do this in main thread. I tried this in the application OnIdle event with Done set to false and it worked a charm! I am a little concerned this may not be the best way to

Re: tesing and setting read-only on files

2006-03-13 Thread Marco van de Voort
Search - Find in files - Search in directories is my favourite. :-) What can Lazarus NOT do? ;-) Make coffee. We are working on it. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject

Re: tesing and setting read-only on files

2006-03-13 Thread Graeme Geldenhuys
What can Lazarus NOT do? ;-) Make coffee. We are working on it. Under Linux you're in luck! I found a Linux-Coffee-HOWTO the other day. It might help. ;-) Graeme. _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Compiler Option Dialog

2006-03-13 Thread dhkblaszyk
Graeme, The compileroptionsdlg is still a hardcoded form. This dialog still needs to be converted to LFM, which is planned anywhere soon. Perhaps you could do the conversion of this form? At the same time you can improve the aligment and anchoring. For more details see:

Re: [lazarus] Compiler Option Dialog

2006-03-13 Thread Graeme Geldenhuys
Thanks Darius, I will give it a go... Graeme. On 3/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Graeme, The compileroptionsdlg is still a hardcoded form. This dialog still needs to be converted to LFM, which is planned anywhere soon. Perhaps you could do the conversion of this form?

Re: [lazarus] TScrollbar and TTrackbar

2006-03-13 Thread Marc Weustink
Marien van Westen wrote: I noticed a different behaviour of TScrollbar under MSWindows and Linux. In MSWindows the stand alone Scrollbar acts like a Trackbar, but when you compile a program with a scrollbar on a Linux machine the sliding part covers the whole area of the Scrollbar. :) You

Re: [lazarus] Lines in TMemo

2006-03-13 Thread Mattias Gaertner
On Mon, 13 Mar 2006 08:18:29 +0100 Marien van Westen [EMAIL PROTECTED] wrote: Win 32 in the LFM-file I have: object Memo1: TMemo Lines.Strings = ( 'regel 1' 'regel 2' 'regel 3' 'regel 4' ) TabOrder = 0 Left = 13 Height = 275 Top =

Re: [lazarus] Compiler Option Dialog

2006-03-13 Thread Peter Vreman
The compileroptionsdlg is still a hardcoded form. This dialog still needs to be converted to LFM, which is planned anywhere soon. Perhaps you could do the conversion of this form? At the same time you can improve the aligment and anchoring. For more details see:

Re: [lazarus] Thread Behavior in Lazarus

2006-03-13 Thread Micha Nelissen
Paul Michell wrote: http://www.lazarus.freepascal.org/list_archives/lazarus/msg10481.html http://www.lazarus.freepascal.org/list_archives/lazarus/msg10483.html I couldn't find any reference to USE_SYNCHRONIZE referred to in these messages in the SVN lcl code I downloaded last week. Has the

Re: [lazarus] Thread Behavior in Lazarus

2006-03-13 Thread Ales Katona
You cannot expect some magical stuff to be put into some invisible event loop with console apps. With GUI apps you don't control/design the event loop, you hook into it. This means LCL can CheckSynchronize() for you. There's simply NO way FPC could magicly do this for you, it would have to

Re: [lazarus] Thread Behavior in Lazarus

2006-03-13 Thread Paul Michell
On Monday 13 March 2006 11:25, Ales Katona wrote: You cannot expect some magical stuff to be put into some invisible event loop with console apps. With GUI apps you don't control/design the event loop, you hook into it. This means LCL can CheckSynchronize() for you. Understood, but the

[lazarus] Wiki

2006-03-13 Thread dhkblaszyk
Hi, I would like to propose to merge the following pages; http://wiki.lazarus.freepascal.org/index.php/Lazarus_IDE_ToDo_List http://www.lazarus.freepascal.org/modules.php?op=modloadname=Roadmapfile=index into http://wiki.lazarus.freepascal.org/index.php/Road_To_1.0 Anybody oppose? Darius

[lazarus] No thread support error

2006-03-13 Thread Graeme Geldenhuys
Hi, What does this error mean? Or rather how do I fix it? I am compiling my app under Linux (Ubuntu 5.10), but it is a cross platform app which must compile under Windows as well. -- This binary has no thread support compiled in. Recompile the application with a

Re: [lazarus] No thread support error

2006-03-13 Thread Michael Van Canneyt
On Mon, 13 Mar 2006, Graeme Geldenhuys wrote: Hi, What does this error mean? Or rather how do I fix it? I am compiling my app under Linux (Ubuntu 5.10), but it is a cross platform app which must compile under Windows as well. -- This binary has no thread

Re: [lazarus] No thread support error

2006-03-13 Thread Vincent Snijders
Michael Van Canneyt wrote: On Mon, 13 Mar 2006, Graeme Geldenhuys wrote: Hi, What does this error mean? Or rather how do I fix it? I am compiling my app under Linux (Ubuntu 5.10), but it is a cross platform app which must compile under Windows as well. --

Re: [lazarus] TScrollbar and TTrackbar

2006-03-13 Thread Marien van Westen
I hope I will be able to do that, I started with Lazarus a few weeks ago, so am not very acquinted with the Lazarus source yet. I will ask for help if I am stuck, but I will give it a try. Marien On 3/13/06, Marc Weustink [EMAIL PROTECTED] wrote: Marien van Westen wrote: I noticed a different

[lazarus] Error in wiki (not sure how to fix it)

2006-03-13 Thread Graeme Geldenhuys
Hi, http://wiki.lazarus.freepascal.org/index.php/Desing_guidelines has a spelling mistake in the url and title. Desing should be Design. The title of the page is also incorrect, and clicking edit doesn't allow you to edit the title. Regards, - Graeme -

Re: [lazarus] Error in wiki (not sure how to fix it)

2006-03-13 Thread Vincent Snijders
Graeme Geldenhuys wrote: Hi, http://wiki.lazarus.freepascal.org/index.php/Desing_guidelines has a spelling mistake in the url and title. Desing should be Design. The title of the page is also incorrect, and clicking edit doesn't allow you to edit the title. As far as I know, a title can

Re: [lazarus] Error in wiki (not sure how to fix it)

2006-03-13 Thread Micha Nelissen
Vincent Snijders wrote: As far as I know, a title can only be fixed my moving it to a new page. I just did that. For me there is a 'move' tab, next to the 'watch' tab, but maybe that is only if logged in as admin. Are all references moved as well, then ? Micha

Re: [lazarus] Error in wiki (not sure how to fix it)

2006-03-13 Thread Vincent Snijders
Micha Nelissen wrote: Vincent Snijders wrote: As far as I know, a title can only be fixed my moving it to a new page. I just did that. For me there is a 'move' tab, next to the 'watch' tab, but maybe that is only if logged in as admin. Are all references moved as well, then ? At the

RE: [lazarus] MySQL Connection

2006-03-13 Thread Panagiotis Sidiropoulos
You need the latest svn-version from fpc. All non-visible components are part of the FCL of fpc. OK, Everything is installed and available for use. I use TSQL40Connection on MySQL 4.1.12-standard. Sample program TryMySQL (ptrmysql) connects but on any SQL statement it raises an exception with

Re: [lazarus] Error in wiki (not sure how to fix it)

2006-03-13 Thread dhkblaszyk
Micha Nelissen wrote: Vincent Snijders wrote: As far as I know, a title can only be fixed my moving it to a new page. I just did that. For me there is a 'move' tab, next to the 'watch' tab, but maybe that is only if logged in as admin. Are all references moved as well, then ? At the

[lazarus] List database in query

2006-03-13 Thread v.scozzaro '[EMAIL PROTECTED]'
DM - MySqlDB - MySqlTrans Form - Query - DataSet Is possible list data base component, in property query? Ciao by Enzo www.scozzaro.it _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject

[lazarus] Making an installer

2006-03-13 Thread bobby
Is it possible to have files in laz-resources, and to drop them to HDD at the run-time? Also, some kind of compression-decompression would be also welcome. Is there some good manual for using laz-resources? regards Boban Spasic aka Bobby

Re: [lazarus] Wiki

2006-03-13 Thread Felipe Monteiro de Carvalho
On the roadmap, I think that all widgets should be on a separete table so we can give it's status for each Widgetset (win32, gtk, gtk2, qt and wince for the moment). Also, the roadmap page on Lazarus website should point to the Wiki. The wiki is much easier to maintain, and thus better then a

Re: [lazarus] Resizable forms

2006-03-13 Thread Yury Sidorov
From: [EMAIL PROTECTED] Yury, On the wiki you propose to fix the size of dialogs that are simple they need to be internally resizable. What do you mean with that? Personally I find it convenient to resize all my dialogs the way I want. Do you mean only messagedlg type dialogs, or dialogs like

Re: [lazarus] newbie to lazarus

2006-03-13 Thread Alain Michaud
Hi, this was a thought that I had too when I started: bad documentation but the reality is different: Lazarus/FPC, is a multi-platform, multi-IDE, multi-anything project that is constantly under development by a group of wizz who just do that for the fun! It seems that you will be able to do

Re: [lazarus] Making an installer

2006-03-13 Thread v.scozzaro '[EMAIL PROTECTED]'
bobby ha scritto: Is it possible to have files in laz-resources, and to drop them to HDD at the run-time? Also, some kind of compression-decompression would be also welcome. Is there some good manual for using laz-resources? A designtime Not a runtime

Re: [lazarus] Weird error FCols.OnDestroyItem:[EMAIL PROTECTED];

2006-03-13 Thread Mattias Gaertner
On Mon, 13 Mar 2006 19:44:32 +0100 [EMAIL PROTECTED] wrote: Hi! I am just testing TArray unit. I assume this must have worked. I copied parts of the program from grid.pas where I guess it works.. Any ideas? I get an error project1.lpr(27,22) Error: Incompatible types: got address of

Re: [lazarus] Resizable forms

2006-03-13 Thread Darius Blaszijk
On the wiki you propose to fix the size of dialogs that are simple they need to be internally resizable. What do you mean with that? Personally I find it convenient to resize all my dialogs the way I want. Do you mean only messagedlg type dialogs, or dialogs like msgview and todolist? I mean

Re: [lazarus] Making an installer

2006-03-13 Thread bobby
Mattias Gaertner wrote: On Mon, 13 Mar 2006 18:57:35 +0100 "v.scozzaro '[EMAIL PROTECTED]'" [EMAIL PROTECTED] wrote: bobby ha scritto: Is it possible to have files in laz-resources, and to drop them to HDD at the run-time? Also, some kind of

Re: [lazarus] Making an installer

2006-03-13 Thread Mattias Gaertner
On Mon, 13 Mar 2006 18:57:35 +0100 v.scozzaro '[EMAIL PROTECTED]' [EMAIL PROTECTED] wrote: bobby ha scritto: Is it possible to have files in laz-resources, and to drop them to HDD at the run-time? Also, some kind of compression-decompression would be also welcome. Is there some good

[lazarus] Weird error FCols.OnDestroyItem:[EMAIL PROTECTED];

2006-03-13 Thread anteusz
Hi! I am just testing TArray unit. I assume this must have worked. I copied parts of the program from grid.pas where I guess it works.. Any ideas? I get an error project1.lpr(27,22) Error: Incompatible types: got address of procedure(TObject, LongInt, LongInt,var Pointer);Register expected

Re: [lazarus] Resizable forms

2006-03-13 Thread Mattias Gaertner
On Mon, 13 Mar 2006 18:52:33 +0200 Yury Sidorov [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Yury, On the wiki you propose to fix the size of dialogs that are simple they need to be internally resizable. What do you mean with that? Personally I find it convenient to resize all my

Re: [lazarus] Weird error FCols.OnDestroyItem:[EMAIL PROTECTED];

2006-03-13 Thread Jesus Reyes
--- [EMAIL PROTECTED] escribió: Hi! I am just testing TArray unit. I assume this must have worked. I copied parts of the program from grid.pas where I guess it works.. Any ideas? I get an error project1.lpr(27,22) Error: Incompatible types: got address of procedure(TObject, LongInt,

[lazarus] patch for tComboBox

2006-03-13 Thread darekm
Attached patch cause that OnSelChange for tComboBox is fired only one time per click beside I enable some of trace event Darek Index: interfaces/gtk/gtklistsl.inc === --- interfaces/gtk/gtklistsl.inc(wersja 8935) +++

Re: [lazarus] Weird error FCols.OnDestroyItem:[EMAIL PROTECTED];

2006-03-13 Thread anteusz
Jesus Reyes wrote: --- [EMAIL PROTECTED] escribió: Hi! I am just testing TArray unit. I assume this must have worked. I copied parts of the program from grid.pas where I guess it works.. Any ideas? I get an error project1.lpr(27,22) Error: Incompatible types: got address of

Re: [lazarus] F1 context help for object inspector

2006-03-13 Thread Vincent Snijders
Mattias Gaertner wrote: On Fri, 10 Mar 2006 08:25:28 +0100 Bogus__aw Brandys [EMAIL PROTECTED] wrote: Hi, Please add support for F1 context help in object inspector.It will be very useful. For example: pressing F1 when selected is SessionProperties property on TForm should display help

Re: [lazarus] patch for tComboBox

2006-03-13 Thread darekM
Vincent Snijders napisał(a): darekm wrote: Attached patch cause that OnSelChange for tComboBox is fired only one time per click beside I enable some of trace event Darek Index: interfaces/gtk/gtkwinapi.inc === ---

Re: [lazarus] Making an installer

2006-03-13 Thread bobby
Mattias Gaertner wrote: On Mon, 13 Mar 2006 20:11:18 +0100 bobby [EMAIL PROTECTED] wrote: Mattias Gaertner wrote:On Mon, 13 Mar 2006 18:57:35 +0100 v.scozzaro '[EMAIL PROTECTED]' [EMAIL PROTECTED] wrote: bobby ha scritto: Is it possible to have files in laz-resources, and to drop

RE: [lazarus] MySQL Connection

2006-03-13 Thread Panagiotis Sidiropoulos
2. I expect TSQL40Connection to give problems with MySQL 4.1.12-standard. I think you should use TSQL41Connection. Unfortunately they are not binary compatible. (Complaints should go to to [EMAIL PROTECTED]) TSQL41Connection raises an exception with message: TSQL41Connection can

Re: [lazarus] Making an installer

2006-03-13 Thread Mattias Gaertner
On Mon, 13 Mar 2006 22:43:16 +0100 bobby [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 13 Mar 2006 20:11:18 +0100 bobby [EMAIL PROTECTED] wrote: Mattias Gaertner wrote:On Mon, 13 Mar 2006 18:57:35 +0100 v.scozzaro '[EMAIL PROTECTED]' [EMAIL PROTECTED] wrote: bobby

Re: [lazarus] patch for tComboBox

2006-03-13 Thread Vincent Snijders
darekm wrote: Attached patch cause that OnSelChange for tComboBox is fired only one time per click beside I enable some of trace event Darek Index: interfaces/gtk/gtkwinapi.inc === --- interfaces/gtk/gtkwinapi.inc(wersja

Re: [lazarus] Making an installer

2006-03-13 Thread Michael Van Canneyt
On Mon, 13 Mar 2006, Mattias Gaertner wrote: On Mon, 13 Mar 2006 18:57:35 +0100 v.scozzaro '[EMAIL PROTECTED]' [EMAIL PROTECTED] wrote: bobby ha scritto: Is it possible to have files in laz-resources, and to drop them to HDD at the run-time? Also, some kind of

Re: [lazarus] Making an installer

2006-03-13 Thread Mattias Gaertner
On Mon, 13 Mar 2006 20:11:18 +0100 bobby [EMAIL PROTECTED] wrote: Mattias Gaertner wrote:On Mon, 13 Mar 2006 18:57:35 +0100 v.scozzaro '[EMAIL PROTECTED]' [EMAIL PROTECTED] wrote: bobby ha scritto: Is it possible to have files in laz-resources, and to drop them to HDD at the

Re: [lazarus] patch for tComboBox

2006-03-13 Thread Mattias Gaertner
On Mon, 13 Mar 2006 21:24:16 +0100 darekm [EMAIL PROTECTED] wrote: Attached patch cause that OnSelChange for tComboBox is fired only one time per click beside I enable some of trace event Darek You added again the lines: If (Lines nil) and (NumLines1) then begin Why? It returns

Re: [lazarus] patch for tComboBox

2006-03-13 Thread Mattias Gaertner
On Mon, 13 Mar 2006 22:18:56 +0100 darekM [EMAIL PROTECTED] wrote: Vincent Snijders napisa__(a): darekm wrote: Attached patch cause that OnSelChange for tComboBox is fired only one time per click beside I enable some of trace event Darek Index: interfaces/gtk/gtkwinapi.inc

Re: [lazarus] F1 context help for object inspector

2006-03-13 Thread Mattias Gaertner
On Mon, 13 Mar 2006 22:15:54 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Fri, 10 Mar 2006 08:25:28 +0100 Bogus__aw Brandys [EMAIL PROTECTED] wrote: Hi, Please add support for F1 context help in object inspector.It will be very useful. For

[lazarus] ShowInputDialog patch

2006-03-13 Thread barko
Here is patch for ShowInputDialog. I use PasswordBox, in Linux is echo character * but in windows is echo normal character (whatever user write in inputbox). -- BARKO bye, ...s]-[it happens... lazarus.diff.tar.gz Description: GNU Zip compressed data

Re: [lazarus] ShowInputDialog patch

2006-03-13 Thread Mattias Gaertner
On Tue, 14 Mar 2006 00:01:12 +0100 barko [EMAIL PROTECTED] wrote: Here is patch for ShowInputDialog. I use PasswordBox, in Linux is echo character * but in windows is echo normal character (whatever user write in inputbox). Thanks. Applied. Mattias

Re: [lazarus] Making an installer

2006-03-13 Thread Felipe Monteiro de Carvalho
Hello, Are you trying to create a quick installer for yourself or a fully feature general-purpose installer? thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as

[lazarus] The Onlogin tpqconnection

2006-03-13 Thread johnf
It appears that the OnLogin event does not work correctly in the TPQConnection. When I turn on the loginprompt= true nothing happens. Can some shed some light on the issue? John _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Making an installer

2006-03-13 Thread bobby
Felipe Monteiro de Carvalho wrote: Hello, Are you trying to create a quick installer for yourself or a fully feature general-purpose installer? thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED]

Re: [lazarus] Wiki

2006-03-13 Thread Chris Kirkpatrick
On Mon, 2006-03-13 at 12:59 +0100, [EMAIL PROTECTED] wrote: Hi, I would like to propose to merge the following pages; http://wiki.lazarus.freepascal.org/index.php/Lazarus_IDE_ToDo_List http://www.lazarus.freepascal.org/modules.php?op=modloadname=Roadmapfile=index into