Re: [lazarus] Changing SynEdit

2006-03-16 Thread L505
> > > Unless you have in depth knowledge about how every bit of ansistring > > > memory management works, using getmem and freemem and pchars are > > > simpler, no? Because you are not battling the automatic memory > > > management. Now, if you are an expert in battling the automatic memory > > >

Re: [lazarus] another newbie ? on DB

2006-03-16 Thread johnf
On Thursday 16 March 2006 13:48, Joost van der Sluis wrote: > > > In a save button click I have the following code: > > > datasource1.dataset.UpdateRecord; > > > datasource1.dataset.Post; > > > > 1. Normally, a simple Post should be enough. > > 2. You should commit the transaction when you're com

[lazarus] Qt graphics patch

2006-03-16 Thread Felipe Monteiro de Carvalho
Hello, The attached patch adds initial support for: * TBitmap * TComboBox I also attempted to add support for custom drawn components that descend from TCustomControl, but it isn't complete yet. Also the bindings were updated to version 1.0.10 thanks, Felipe qtgraphics.dif.bz2 Descriptio

Re: [lazarus] analog meter component wanted

2006-03-16 Thread Marc Santhoff
Am Donnerstag, den 16.03.2006, 16:18 -0700 schrieb L505: > Hmm I think KOL project (for win32 only) there is one by Thaddy de Koning, > maybe > you could get some ideas from it and convert it to non KOL linux/win32 cross > platform. > > http://members.chello.nl/t.koning8/kol_indicator.jpg > http

Re: [lazarus] another newbie ? on DB

2006-03-16 Thread johnf
On Thursday 16 March 2006 15:30, Joost van der Sluis wrote: > > So to recap > > datasource1.dataset.UpdateRecord; > > datasource1.dataset.Post; > > datasource1.DataSet.close; > > sqlquery1.sql.Clear; > > sqlquery1.SQL.Text:='commit'; > > sqlquery1.ExecSQL > > > > sqlquery1.Close; > > >

Re: [lazarus] cut and paste on the IDE

2006-03-16 Thread Felipe Monteiro de Carvalho
On 3/16/06, johnf <[EMAIL PROTECTED]> wrote: > That's funny I did try to use an helper app. But of course I chose the wrong > one (kate). Also, cut-and-paste should work with Firefox because it's gtk based. You are probably using konqueror or another qt based browser -- Felipe Monteiro de Carval

Re: [lazarus] cut and paste on the IDE

2006-03-16 Thread johnf
On Thursday 16 March 2006 15:44, Felipe Monteiro de Carvalho wrote: > On 3/16/06, johnf <[EMAIL PROTECTED]> wrote: > > Hi, > > SUSE 10.0. It appears that I can not paste anything into the IDE from > > other apps. i.e. I try to cut and paste a bit of code from the wiki and > > nothing happens. I

Re: [lazarus] before I go to far with this

2006-03-16 Thread johnf
On Thursday 16 March 2006 15:33, Joost van der Sluis wrote: > > > I've changed PQConnection so that a text field is also interpreted as a > > > varchar. But I don't agree that you can use this or a varchar like a > > > BLOB-field. It's true that they are unlimited, (up to 1 GB) but the > > > proble

Re: [lazarus] cut and paste on the IDE

2006-03-16 Thread Felipe Monteiro de Carvalho
On 3/16/06, johnf <[EMAIL PROTECTED]> wrote: > Hi, > SUSE 10.0. It appears that I can not paste anything into the IDE from other > apps. i.e. I try to cut and paste a bit of code from the wiki and nothing > happens. I also tried to use the menu commands and also nothing occurred. > My guess it h

Re: [lazarus] Because I can't get SQLDB working

2006-03-16 Thread Joost van der Sluis
> I'm now attempting to get zeoslib working. After many attempts (lots of > errors due to sqlite) I got it to compile. But now I can't get it to install > as a package. The first thing is Lazarus can not support dynamic packages. > Then it starts compiling/rebuilding lazarus it fails with:

Re: [lazarus] before I go to far with this

2006-03-16 Thread Joost van der Sluis
> > I've changed PQConnection so that a text field is also interpreted as a > > varchar. But I don't agree that you can use this or a varchar like a > > BLOB-field. It's true that they are unlimited, (up to 1 GB) but the > > problem is that they are handled like a normal field. Thus if you do a > >

Re: [lazarus] another newbie ? on DB

2006-03-16 Thread Joost van der Sluis
> So to recap > datasource1.dataset.UpdateRecord; > datasource1.dataset.Post; > datasource1.DataSet.close; > sqlquery1.sql.Clear; > sqlquery1.SQL.Text:='commit'; > sqlquery1.ExecSQL > > sqlquery1.Close; > > does not work. > > BTW have no experience using any recent Delphi. All t

Re: [lazarus] before I go to far with this

2006-03-16 Thread johnf
On Thursday 16 March 2006 14:07, Joost van der Sluis wrote: > On Wed, 2006-03-15 at 08:13 -0500, Alexandre Leclerc wrote: > > On 3/15/06, Joost van der Sluis <[EMAIL PROTECTED]> wrote: > > > A varchar can hold 2000 characters in sqldb. Postgres supports up to > > > 8192 characters in a varchar. If

Re: [lazarus] another newbie ? on DB

2006-03-16 Thread johnf
On Thursday 16 March 2006 14:29, Joost van der Sluis wrote: > > Just a question like this are you using a SQLQuery to get your > > information and display it? If yes, (from Delphi experience), you > > can't commit like that the changes. In Delphi the programmer required > > to use another objec

Re: [lazarus] Wiki

2006-03-16 Thread Felipe Monteiro de Carvalho
Ok, I think that now the Qt and Windows CE statistics on the wiki correspond almost to the true state of development of them. Other are necessary to update the statistics for win32, gtk, gtk2 and carbon here: http://wiki.lazarus.freepascal.org/index.php/Road_To_1.0#Widgetset_dependent_components

Re: [lazarus] Wiki

2006-03-16 Thread Felipe Monteiro de Carvalho
Hello, Now it works. Maybe I just needed to refresh the page =) thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus

Re: [lazarus] analog meter component wanted

2006-03-16 Thread L505
> Hi, > > I've digged the wiki and found nothing: I'm searching for a component > making up an analog meter and maybe it's digital equivalent (which could > be easily done by using a TLabel :). > > Is there anything like that in the ported Delphi libs (that I do not > know) or is someone working

[lazarus] cut and paste on the IDE

2006-03-16 Thread johnf
Hi, SUSE 10.0. It appears that I can not paste anything into the IDE from other apps. i.e. I try to cut and paste a bit of code from the wiki and nothing happens. I also tried to use the menu commands and also nothing occurred. My guess it has something to do with me using KDE vs Gnome

[lazarus] Because I can't get SQLDB working

2006-03-16 Thread johnf
Hi, I'm now attempting to get zeoslib working. After many attempts (lots of errors due to sqlite) I got it to compile. But now I can't get it to install as a package. The first thing is Lazarus can not support dynamic packages. Then it starts compiling/rebuilding lazarus it fails with: Iden

Re: [lazarus] another newbie ? on DB

2006-03-16 Thread johnf
On Thursday 16 March 2006 13:33, Michael Van Canneyt wrote: > On Thu, 16 Mar 2006, johnf wrote: > > Hi, > > > > Thanks all for the recent help. I am now able to retreive data without > > any trouble (so far). And using a dataset allows the data aware controls > > to display data but I can't save

Re: [lazarus] another newbie ? on DB

2006-03-16 Thread Joost van der Sluis
> Just a question like this are you using a SQLQuery to get your > information and display it? If yes, (from Delphi experience), you > can't commit like that the changes. In Delphi the programmer required > to use another object... a kind of SQLCommit (???) object and define > there the require

Re: [lazarus] Wiki

2006-03-16 Thread Felipe Monteiro de Carvalho
On 3/16/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: > Done. ummm ... the styles don't seam to be working please check: http://wiki.lazarus.freepascal.org/index.php/Road_To_1.0#Widgetset_dependent_components thanks, Felipe __

Re: [lazarus] 'Find in Files" enhancements

2006-03-16 Thread Alexandre Leclerc
On 3/16/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > should we query the directory attributes? Can you actually create a > directory on Windows with a dot in the front? This is a very funny one from microsoft. The user interface (explorer) will not let you do this... but the API will let yo

Re: [lazarus] SQL Statement

2006-03-16 Thread Joost van der Sluis
What I missed in this question, and the one before, is the error-message you've got. It should be: 'Cannot open a non-select statement' If you had asked the question: What do I do wrong when I got: 'Cannot open a non-select statement', everyone here with some sql-knowledge would have known the ans

[lazarus] analog meter component wanted

2006-03-16 Thread Marc Santhoff
Hi, I've digged the wiki and found nothing: I'm searching for a component making up an analog meter and maybe it's digital equivalent (which could be easily done by using a TLabel :). Is there anything like that in the ported Delphi libs (that I do not know) or is someone working on such things?

Re: [lazarus] before I go to far with this

2006-03-16 Thread Joost van der Sluis
On Wed, 2006-03-15 at 08:13 -0500, Alexandre Leclerc wrote: > On 3/15/06, Joost van der Sluis <[EMAIL PROTECTED]> wrote: > > A varchar can hold 2000 characters in sqldb. Postgres supports up to > > 8192 characters in a varchar. If you really need 8192 characters, it's > > easy to update sqldb, just

Re: [lazarus] Wiki

2006-03-16 Thread Vincent Snijders
Felipe Monteiro de Carvalho wrote: On 3/16/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: I think we can also have: * td.partial #88 - for Partially Implemented * td.not #ff - Not Implemented * td.progress #ff - In Progress Can you also make them centralize the text? Done. Vin

Re: [lazarus] Wiki

2006-03-16 Thread Felipe Monteiro de Carvalho
On 3/16/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: > I have added a td.working style to the css file. > > td.working { > background-color:#88ff88; > } I think we can also have: * td.partial #88 - for Partially Implemented * td.not #ff - Not Implemented * td.progress #ff -

Re: [lazarus] another newbie ? on DB

2006-03-16 Thread Joost van der Sluis
> > In a save button click I have the following code: > > datasource1.dataset.UpdateRecord; > > datasource1.dataset.Post; > > 1. Normally, a simple Post should be enough. > 2. You should commit the transaction when you're completely done. What I also miss is Dataset.Applyupdates And offcourse

Re: [lazarus] another newbie ? on DB

2006-03-16 Thread Alexandre Leclerc
On 3/16/06, johnf <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks all for the recent help. I am now able to retreive data without any > trouble (so far). And using a dataset allows the data aware controls to > display data but I can't save the edit fields (even if I tab off the > control). Everythin

Re: [lazarus] [patch] doceditor

2006-03-16 Thread Alexandre Leclerc
On 3/16/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > 4) Added a Custom Compile option "-FUunits", which places all > compiled units (.ppu, .o, etc) file into a "units" directory, instead > of in the same directory as the source. Note a "units" directory > needs to be added to the /doceditor

Re: [lazarus] Making an installer

2006-03-16 Thread Tony Maro
Felipe Monteiro de Carvalho wrote: > Hello, > > Are you trying to create a quick installer for yourself or a fully > feature general-purpose installer? > You guys do know I've already put out the framework for an installer that's mostly compatible with InnoSetup? I concentrated on the Linux sid

Re: [lazarus] Making an installer

2006-03-16 Thread Tony Maro
bobby wrote: > I want to include an exe, a html file, and two pictures into my > exe-file done in Lazarus. > The question is: if I include those 4 files into resources, and link > them into my exe-file, how can I save them back to HDD from already > linked executable? > To make the clear picture, a

Re: [lazarus] Version Information: your comments please

2006-03-16 Thread Marc Weustink
Jouke Rensma wrote: I've sent the mail below earlier but apparantly it did not make it. Maybe due to the attachements? I now zipped them into one (smaller) file. --- Hi all, After some strugling, re-doing and starting from scratch again, I managed to get the version information hooked into the

[lazarus] [patch] doceditor

2006-03-16 Thread Graeme Geldenhuys
Hi, I attached a patch for the doceditor. It must be applied from the /Lazarus directory. Changes: 1) Fixed the "Close" button's Anchor properties in the About Form. When you resized the form, the button resized as well. 2) Resized the about form, so that the text regarding the copyright fits

Re: [lazarus] another newbie ? on DB

2006-03-16 Thread Michael Van Canneyt
On Thu, 16 Mar 2006, johnf wrote: > Hi, > > Thanks all for the recent help. I am now able to retreive data without any > trouble (so far). And using a dataset allows the data aware controls to > display data but I can't save the edit fields (even if I tab off the > control). Everything I'

Re: [lazarus] TPageControl

2006-03-16 Thread m2
Lepidosteus a écrit : If you find no clean way of doing it, using OnChange to set back the page the user should watch should be okay. I know it's not a clean way, but it at least it's working. Thanks but I cannot use this. Two of the pages of the TPageControl are dialog boxes that are initiali

Re: [lazarus] [patch] docs - ActionList

2006-03-16 Thread Vincent Snijders
Graeme Geldenhuys wrote: Hi, Attached is a patch for the docs regarding the actnlist.xml file. If fixes a few spelling mistakes and better grammar. The patch needs to be applied from the /Lazarus directory. Thanks. Applied. Vincent.

Re: [lazarus] TDateTimePicker

2006-03-16 Thread Michael Van Canneyt
On Thu, 16 Mar 2006, Andreas Berger wrote: > I can't seem to find an equivelant to Delphi's TDateTimePicker in Lazarus. Is > there anything similar? A dropdown list that opens the calandar? Ehm?! What about TDateEdit on the 'Misc' tab ? Michael. __

[lazarus] another newbie ? on DB

2006-03-16 Thread johnf
Hi, Thanks all for the recent help. I am now able to retreive data without any trouble (so far). And using a dataset allows the data aware controls to display data but I can't save the edit fields (even if I tab off the control). Everything I've read suggest that I need to set the 'datasour

[lazarus] TDateTimePicker

2006-03-16 Thread Andreas Berger
I can't seem to find an equivelant to Delphi's TDateTimePicker in Lazarus. Is there anything similar? A dropdown list that opens the calandar? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Sub

[lazarus] [patch] docs - ActionList

2006-03-16 Thread Graeme Geldenhuys
Hi, Attached is a patch for the docs regarding the actnlist.xml file. If fixes a few spelling mistakes and better grammar. The patch needs to be applied from the /Lazarus directory. Regards, - Graeme - Index: docs/xml/lcl/actnlist.xml ==

Re: [lazarus] No thread support error

2006-03-16 Thread Graeme Geldenhuys
Thanks! G. On 3/16/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: > Graeme Geldenhuys wrote: > program Browser; > > {$mode objfpc}{$H+} > > uses > {$IFDEF UNIX}{$IFDEF UseCThreads} > >>> > >>The is part of the Lazarus Application template for the lpr file.. > >> > >>P

[lazarus] Owner draw menus

2006-03-16 Thread Martin Smat
Hi, Lazarus does not support owner draw menu items now. Is it because it is not possible to implement it in the GTK interface or only nobody was asking this feature? As I have some results with owner draw menus under Win32 interface, which should became the default drawing method for menu item

Re: [lazarus] No thread support error

2006-03-16 Thread Vincent Snijders
Graeme Geldenhuys wrote: program Browser; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} The is part of the Lazarus Application template for the lpr file.. Packages requiring threading can add -dUseCThreads to their Usages options, so that the cthreads unit will be added on uni

Re: [lazarus] 'Find in Files" enhancements

2006-03-16 Thread Vincent Snijders
Graeme Geldenhuys wrote: Hi, I am thinking of enhancing the "Find in File" search and add a new option under "Include sub directories" in the lines of "Ignore hidden directories". Good idea. The reason for this is, I often search the Lazarus and FPC directories for certain text inside a fi

Re: [lazarus] No thread support error

2006-03-16 Thread Graeme Geldenhuys
> >> program Browser; > >> > >> {$mode objfpc}{$H+} > >> > >> uses > >> {$IFDEF UNIX}{$IFDEF UseCThreads} > > > > The is part of the Lazarus Application template for the lpr file.. > > Packages requiring threading can add -dUseCThreads to their Usages options, > so that > the cthreads unit will b

[lazarus] 'Find in Files" enhancements

2006-03-16 Thread Graeme Geldenhuys
Hi, I am thinking of enhancing the "Find in File" search and add a new option under "Include sub directories" in the lines of "Ignore hidden directories". The reason for this is, I often search the Lazarus and FPC directories for certain text inside a file, and then it starts searching inside the