Re: [lazarus] Setting my own handle for a TCanvas

2007-05-18 Thread Michael Van Canneyt
On Fri, 18 May 2007, Felipe Monteiro de Carvalho wrote: > On 5/18/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > There is: TFPBitmapCanvas will allow to draw on any kind of bitmap. > > A full text search on my local fpc 2.0.4 sources doesn't show any > occu

Re: [lazarus] Setting my own handle for a TCanvas

2007-05-18 Thread Michael Van Canneyt
On Fri, 18 May 2007, Marc Weustink wrote: > Felipe Monteiro de Carvalho wrote: > > Hi, > > > > I would like to set my own handle for a TCanvas using Gtk interface. > > > > I have a GdkPixbuf, and I would like to generate a canvas for it, so I > > can show my GdkPixbuf on screen using a TCustom

Re: [lazarus] Ubuntu and UIB

2007-05-16 Thread Michael Van Canneyt
On Wed, 16 May 2007, Andrea Mauri wrote: > I installed fpc and lazarus on Ubuntu. > fpc using apt > lazarus, last svn > In my project I use UIB to access to a firebird DB. > I used UIB (2.1) both on windows and linux (FC6). > And it works fine. > On Ubuntu I installed without any problem UIB but

Re: [lazarus] Transferring file with SFTP from a Lazarus application

2007-05-16 Thread Michael Van Canneyt
On Wed, 16 May 2007, Adrian Maier wrote: > Hello, > > Does anyone happen to know whether a (free)pascal unit for SFTP or SCP > file transfer exists ? I am working on a (win32) application that has to get > some data files from a server and then upload back another file. None exists that I kno

Re: [lazarus] RTF backend for FPDoc.

2007-05-16 Thread Michael Van Canneyt
On Wed, 16 May 2007, Sergei Gorelkin wrote: > Wednesday, May 16, 2007, 11:22:16 AM, Michael wrote: > > >> > >> As far as I know chm files are html not rtf. > > MVC> Yes, but they must/can be generated by the microsoft help compiler from > MVC> the same RTF source. .hlp is also a compiled forma

Re: [lazarus] Image from SQL

2007-05-16 Thread Michael Van Canneyt
On Wed, 16 May 2007, Graeme Geldenhuys wrote: > On 5/16/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > At my current work I'm working with MySQL clusters that the only way > > > to backup the data is by having sql dump. > > >

Re: [lazarus] Image from SQL

2007-05-16 Thread Michael Van Canneyt
On Wed, 16 May 2007, ik wrote: > On 5/16/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > > What DBMS where you using? Firebird has no such issue. I store loads > > of PNG and JPG images in binary Blob fields. Backup and Restore works > > perfectly. > > I used Interbase 6.1. The problem was

Re: [lazarus] RTF backend for FPDoc.

2007-05-16 Thread Michael Van Canneyt
On Tue, 15 May 2007, Andrew Haines wrote: > Michael Van Canneyt wrote: > > The generated RTF is linear, i.e. it is suitable for printing. > > In order to create a .hlp file or a .chm file, some changes will > > be necessary. (.hlp requires insertion of well-formed footno

[lazarus] RTF backend for FPDoc.

2007-05-15 Thread Michael Van Canneyt
Hi, I've committed an initial implementation for an RTF backend for FPDoc (implemented by Luk Vandelaer). I'd appreciate it if people could test it. It's selected with the --format=rtf option. Currently one addition is still planned (other than fixing bugs): inserting an arbitrary piece of RT

Re: [lazarus] TCP server/client comunication

2007-05-14 Thread Michael Van Canneyt
On Mon, 14 May 2007, Alvise Nicoletti wrote: > Hi... > > Looking into the components of Lazarus, the component nearer to the Delphi > "TcpClient"-"TcpServer" (internet section) is TSimpleIpClient and > TSimpleIpServer. This is one possibility. However, it is quite old and not very well maintai

Re: [lazarus] fpdoc with inherited help

2007-05-10 Thread Michael Van Canneyt
On Thu, 10 May 2007, Graeme Geldenhuys wrote: > On 5/10/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > I don't think that is necessary, just put it in the category "docs". > > Will do. > > > Somehow, all the ones with category &qu

Re: [lazarus] fpdoc with inherited help

2007-05-10 Thread Michael Van Canneyt
On Thu, 10 May 2007, Graeme Geldenhuys wrote: > On 5/10/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > Many other things are planned. But guess what the problem is ? :-) > > > > I know! I have that same problem ;-) > > Is there a list of

Re: [lazarus] fpdoc with inherited help

2007-05-10 Thread Michael Van Canneyt
On Thu, 10 May 2007, Graeme Geldenhuys wrote: > Hi, > > Not sure if this question (or feature request) belongs here or in the > FPC mailing list. > > Wouldn't it be handy for fpdoc to populate help based on classes from > higher up in the hierarchy, if the descendant class doesn't include > it

Re: [lazarus] Xlib: unexpected async reply (sequence 0x23e5)

2007-05-09 Thread Michael Van Canneyt
On Wed, 9 May 2007, Graeme Geldenhuys wrote: > Hi, > > I've ported the tiOPF v2 project to FPC and Lazarus over a year ago. > Since I have been using the FPC 2.1.3 compiler I get the following > error. > > Xlib: unexpected async reply (sequence 0x23e5) > > This occurs when I enable the 'vis

Re: [lazarus] TControl and public Color property???

2007-05-06 Thread Michael Van Canneyt
On Sun, 6 May 2007, Graeme Geldenhuys wrote: > Hi, > > Could somebody explain this one to me, or is it just an oversight? > Why does the TControl class have a public Color property? This is not > Delphi and Kylix compatible. Under Delphi/Kylix it is a protected > property. > > This brings me

Re: [lazarus] Orpheus and Lazarus

2007-05-04 Thread Michael Van Canneyt
On Fri, 4 May 2007, Sébastien TACK wrote: > > > > Sébastien TACK schreef: > > > Hi, > > > I try install Orpheus on Lazarus but It stop on compilation error > > > D:\lazarus\Stuff\OrpheusForLaz\o32pvldr.pas(249,24) Fatal: Can't find > > > unit Mask > > > I work with the last SVN source of L

Re: [lazarus] Patch for TFilelistbox

2007-05-02 Thread Michael Van Canneyt
On Tue, 1 May 2007, Micha Nelissen wrote: > Michael Van Canneyt wrote: > > property DragMode; > > +Property Directory; > > property ExtendedSelect; > > Please try to adhere to "surrounding" coding style. Yes, I know LCL is > messy ;-). But

[lazarus] Patch for colorbox unit.

2007-05-01 Thread Michael Van Canneyt
Hi, Attached is another small patch. It adds Property Colors[Index : Integer] : TColor Read GetColor; support to TColorBox and TColorListBox. Especially in the case of TColorListBox this is useful, when combined with the MultiSelect and Selected properties. You can do something like With LBCol

[lazarus] Patch for TFilelistbox

2007-05-01 Thread Michael Van Canneyt
Hi, Attached is a small patch which publishes the \var{Directory} property of \var{TFileListBox}. While it makes little sense to set this property in the IDE, it does make sense to have it published: - It can be controlled with an RTTI control. - The FormSettings mechanism can save/restore it.

Re: [lazarus] [patch] - Editor Toolbar (add-on) package

2007-05-01 Thread Michael Van Canneyt
On Tue, 1 May 2007, Graeme Geldenhuys wrote: > On 5/1/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > > > It is pretty normal, that you can not free a component, while in an > > event for this control. That's why there is ReleaseComponent, which > > frees the component after the events have

[lazarus] Selected property of TChecklistbox

2007-05-01 Thread Michael Van Canneyt
The Selected[] array property of TCheckListBox does not work. (do not confuse with Checked[] array property, which does work) Reported as bug 8796. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubs

Re: [lazarus] SpinEdit question

2007-04-30 Thread Michael Van Canneyt
On Tue, 1 May 2007, Mattias Gaertner wrote: > On Mon, 30 Apr 2007 18:01:48 +0200 (CEST) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > Is there any reason why TSpinEdit (and TFloatSpinEdit) do not descend > > from TCustomEd

[lazarus] SpinEdit question

2007-04-30 Thread Michael Van Canneyt
Hi, Is there any reason why TSpinEdit (and TFloatSpinEdit) do not descend from TCustomEdit ? That's what I would expect, but for some reason this is not so. Does anyone know the reason ? If so, what is it ? Michael. _ To uns

[lazarus] Another patch for edit controls.

2007-04-29 Thread Michael Van Canneyt
Hello, The attached patch publishes some missing properties in TEditButton and descendents. At the same time, I have a question: what is the meaning of the OnEditingDone property of TEdit ? When is it supposed to be fired ? Michael.Index: editbtn.pas ===

[lazarus] small bugs

2007-04-29 Thread Michael Van Canneyt
Hi, For TLabeledEdit, the properties echomode and autoselect are not published. Attached patch fixes this. Unless I misunderstand something, 'echomode=emNone' does not seem to work in GTK1, it seems to do the same as setting the password char. Also, on GTK1 setting the passwordchar has no effe

[lazarus] Spinedit bugs

2007-04-29 Thread Michael Van Canneyt
Hi, TSpinEdit seems to be missing the following properties when compared to TCustomEdit: - ReadOnly - AutoSelect Other properties are also missing, but are not relevant since only numbers can be edited: EchoMode, PasswordChar, CharCase, MaxLength The same is true for TFloatSpinEdit. Should

Re: [lazarus] Editor Toolbar (saving settings)

2007-04-26 Thread Michael Van Canneyt
On Thu, 26 Apr 2007, Graeme Geldenhuys wrote: > Hi, > > Anybody got pointers or possibly a reference to a add-on package that > saves settings to it's own XML file. > I want to implement the saving of the Editor Toolbar (add-on package) > settings to a XML file. I guess XML, as Lazarus saves al

Re: [lazarus] Hiding unneeded FPC hints/notes/warnings

2007-04-26 Thread Michael Van Canneyt
On Thu, 26 Apr 2007, Mattias Gaertner wrote: > On Thu, 26 Apr 2007 10:25:05 +0200 > Marc Weustink <[EMAIL PROTECTED]> wrote: > > > Mattias Gaertner wrote: > > > On Wed, 25 Apr 2007 20:57:26 +0200 (CEST) > > > Michael Van Canneyt <[EMAIL PROTECTED]&g

Re: [lazarus] Hiding unneeded FPC hints/notes/warnings

2007-04-25 Thread Michael Van Canneyt
On Wed, 25 Apr 2007, Micha Nelissen wrote: > Mattias Gaertner wrote: > > Then we need to store at least a checksum of the line somewhere. > > > > Or we store the whole hint. For example {%h-ID} and at the end of the > > file a {%h:ID Hint: parameter X not used}. > > Hmm, or write a patch for

Re: [lazarus] detecting the Linux window manager used

2007-04-21 Thread Michael Van Canneyt
On Sat, 21 Apr 2007, Graeme Geldenhuys wrote: > Hi, > > Anybody know how to detect what Window Manager is being used under > Linux so I can try and query information about the current theme?. > For example, I have Ubuntu 7.04 installed and am running Mozilla > Firefox. I change the Gnome's the

Re: [lazarus] New name for the win32 widget set?

2007-04-18 Thread Michael Van Canneyt
On Wed, 18 Apr 2007, Florian Klaempfl wrote: > Vincent Snijders schrieb: > > Hi, > > > > The win32 widgetset can be used (with more or less success) on several > > windows versions, starting from windows 95, 98, ME, NT, 2000, XP, XP 64, > > Vista 64 bits. > > > > Because Microsoft has done suc

Re: [lazarus] [Major Bug] Mantis is case sensitive when doing searches!

2007-04-16 Thread Michael Van Canneyt
On Mon, 16 Apr 2007, Graeme Geldenhuys wrote: > Hi, > > Why is Mantis case sensitive for searches This is not a good idea > and a lot of bug reports will be missed or not found. This will also > be the cause of a lot of duplicate bug reports. > > Could somebody please disable the case se

Re: [lazarus] fsSplash Form in a project

2007-04-06 Thread Michael Van Canneyt
On Fri, 6 Apr 2007, Mattias Gaertner wrote: > On Fri, 06 Apr 2007 21:33:17 +0400 > Alex Smirnov <[EMAIL PROTECTED]> wrote: > > > *Dear Colleagues,* > > > > Can you, please, help me to understand how to work with fsSplash > > form? So the description of my problem is that: > > 1)I have some pro

Re: [lazarus] Editor Toolbar (lazarus add-on) [part 1]

2007-04-05 Thread Michael Van Canneyt
On Thu, 5 Apr 2007, Graeme Geldenhuys wrote: > On 4/5/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: > > > > Thanks. I have added in to SVN. I needed a little change, because > > TImageList.AddFromLazarusResource has been renamed to > > TImageList.AddLazarusResource. > > Thanks Vincent! I tak

Re: [lazarus] Editor Toolbar (lazarus add-on) [part 1]

2007-04-05 Thread Michael Van Canneyt
On Thu, 5 Apr 2007, Graeme Geldenhuys wrote: > Hi > > Attached is a new Lazarus Add-on. It creates a toolbar above the > Editor Tabs. At runtime you can customize what you want to display in > that toolbar. Any registered menu items in Lazarus can be added to > that toolbar. See my next ema

Re: [lazarus] replacement for Makefile's

2007-04-05 Thread Michael Van Canneyt
On Thu, 5 Apr 2007, Graeme Geldenhuys wrote: > Hi, > > I read somewhere that there was a replacement for Makefile's in > development. Benefits was that for different platforms you wouldn't > require the "binutils" set of utility apps. Not sure if it was a > Lazarus or FPC project? > > Anybody

Re: [lazarus] replacement for Makefile's

2007-04-05 Thread Michael Van Canneyt
On Thu, 5 Apr 2007, Tiziano_mk wrote: > Michael Van Canneyt wrote: > > > > On Thu, 5 Apr 2007, Graeme Geldenhuys wrote: > > > > > > Anybody know anything about this and maybe the status of the project? > > > If it is in a workable state, I would like t

Re: [lazarus] port for TMysqlconnection

2007-04-03 Thread Michael Van Canneyt
On Tue, 3 Apr 2007, Darmawan Sugiarto wrote: > I have a same problem with this... but I used PQconnection > I can solve my program with add this code > === > with PQConnection1 do > begin >HostName:='localhost'; >Databas

Re: [lazarus] port for TMysqlconnection

2007-04-03 Thread Michael Van Canneyt
On Tue, 3 Apr 2007, Sébastien TACK wrote: > Hello, > > I would like specify a precise port for TMysqlConnection. > How can I do this ? I committed a fix to subversion so you can specify it in the parameters: Params.['Port']:=IntToStr(4545); This means you'll have to recompile the mysql conne

Re: [lazarus] History of the widget set design?

2007-04-02 Thread Michael Van Canneyt
On Mon, 2 Apr 2007, Felipe Monteiro de Carvalho wrote: > On 4/2/07, Micha Nelissen <[EMAIL PROTECTED]> wrote: > > IMHO, a custom drawn widgetset is never better; as user I would refuse > > to use it, unless forced to. > > Yes, but I think that if the application is used only in enterprises > an

Re: [lazarus] Regenerate Makefiles ?

2007-04-02 Thread Michael Van Canneyt
On Mon, 2 Apr 2007, Vincent Snijders wrote: > Michael Van Canneyt schreef: > > > > On Mon, 2 Apr 2007, Felipe Monteiro de Carvalho wrote: > > > > > On 4/2/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > Yesterday I sent the Ap

Re: [lazarus] Regenerate Makefiles ?

2007-04-02 Thread Michael Van Canneyt
On Mon, 2 Apr 2007, Felipe Monteiro de Carvalho wrote: > On 4/2/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > Yesterday I sent the Apache support to Mattias for inclusion in Lazarus. > > It should then work on Linux-x86_64 too. > > What do you mean by that

Re: [lazarus] ActiveX Data Object

2007-04-02 Thread Michael Van Canneyt
On Mon, 2 Apr 2007, dayat wrote: > Greeting, i new member, > > how to install ADO (ActiveX Data Object) to lazarus, because I will use > excel as database. You cannot install this in lazarus, unfortunately. Also, using excel as a database is a very bad idea. If you are allowed to choose: For

Re: [lazarus] Regenerate Makefiles ?

2007-04-01 Thread Michael Van Canneyt
On Sun, 1 Apr 2007, Vincent Snijders wrote: > Michael Van Canneyt schreef: > > > > On Sun, 1 Apr 2007, Vincent Snijders wrote: > > > > > Michael Van Canneyt schreef: > > > > Hello, > > > > > > > > In order to be able to create

Re: [lazarus] 0.9.22 released

2007-04-01 Thread Michael Van Canneyt
On Sun, 1 Apr 2007, Bisma Jayadi wrote: > > Was this bug closed in the bug tracker? > > http://www.freepascal.org/mantis/view.php?id=1904 > > Reported since v.9.13. IMO, it isn't (win)api limitation since Delphi does > allow to set TComboBox's height to any values. IMHO this is definitely a w

Re: [lazarus] Regenerate Makefiles ?

2007-04-01 Thread Michael Van Canneyt
On Sun, 1 Apr 2007, Vincent Snijders wrote: > Michael Van Canneyt schreef: > > Hello, > > > > In order to be able to create shared libraries with the LCL > > on X86_64 systems, > > All X86_64 systems, or just x86_64-linux? I suspect just linux: ifeq ($(finds

[lazarus] Regenerate Makefiles ?

2007-04-01 Thread Michael Van Canneyt
Hello, In order to be able to create shared libraries with the LCL on X86_64 systems, the LCL must be compiled as PIC code when on this platform. The RTL and FCL are already compiled with the PIC option (-Cg). fpcmake automatically adds this option to the Makefile if it detects the X86_64 CPU.

Re: [lazarus] Debug without recompile

2007-03-31 Thread Michael Van Canneyt
On Sat, 31 Mar 2007, Vincent Snijders wrote: > Felipe Monteiro de Carvalho schreef: > > Hello, > > > > I´ve being trying to debug a complex bug with lazarus, so I go > > step-by-step again, and again, trying to find out where and why things > > go wrong. > > > > The problem is that everytime I

Re: [lazarus] Anybody on this list use Firebird database with Lazarus?

2007-03-29 Thread Michael Van Canneyt
On Thu, 29 Mar 2007, Howard Lee Harkness wrote: > Anybody on this list use Firebird database with Lazarus? I'm looking > for general information on this, and I ran into a dead end while > trying to find the ODBC drivers, so I'm hoping somebody here has found > a better way -- or knows where to f

Re: [lazarus] Re: an extended mapi unit...

2007-03-17 Thread Michael Van Canneyt
On Sat, 17 Mar 2007, Roozbeh GHolizadeh wrote: > On Fri, 16 Mar 2007 12:01:46 +0330, Florian Klaempfl <[EMAIL PROTECTED]> > wrote: > > >Roozbeh GHolizadeh schrieb: > > >i find one-and seems to be the only-usable pascal unit to work with > > >mapi(mail api)and emapi(extended mail api). > > >it d

Re: [lazarus] Strange behaviour of lazarus using fcl-web

2007-03-08 Thread Michael Van Canneyt
On Thu, 8 Mar 2007, Joost van der Sluis wrote: > > I've isolated the problem. It occurs when inherited TDataModules are in > one file. According to Jesus Reyes (on IRC) did Mattias say that this > was on purpose. > > That means that Lazarus doesn't work right with the current version of > fcl-

Re: [lazarus] resource strings in constants

2007-03-01 Thread Michael Van Canneyt
On Thu, 1 Mar 2007, Graeme Geldenhuys wrote: > Hi, > > Is it possible to use resource strings in constants and be able to > translate them with 'gettext' unit at runtime? No. Even in Delphi, this does not work :/ Michael. _

Re: [lazarus] StrToDate error

2007-03-01 Thread Michael Van Canneyt
On Thu, 1 Mar 2007, Graeme Geldenhuys wrote: > On 3/1/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > opted for it after a length discussion. Storing the date/time as a > > > string in the ISO 8601 format is forced and allows you to export data > >

Re: [lazarus] StrToDate error

2007-03-01 Thread Michael Van Canneyt
On Thu, 1 Mar 2007, Graeme Geldenhuys wrote: > Hi, > > On 2/28/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > You should not have to worry about it. You use TDateTime, and convert to > > string as needed as the user sees fit. > > > > I don&#

RE: [lazarus] StrToDate error

2007-02-28 Thread Michael Van Canneyt
On Wed, 28 Feb 2007, Pieter Valentijn wrote: > Most users here will find this kind of display confusing. > But I agree with the store path. Anny external storae that needs sting > presentation should be in one format or at least s format agreed on. The > case I have is that variants are used in

Re: [lazarus] MPL and Lazarus

2007-02-28 Thread Michael Van Canneyt
On Wed, 28 Feb 2007, Marco van de Voort wrote: > On Wed, Feb 28, 2007 at 09:19:08AM +0100, Michael Van Canneyt wrote: > > > On 2/27/07, Marco van de Voort <[EMAIL PROTECTED]> wrote: > > > > > > > > Not only for MPL, but also to allow comme

Re: [lazarus] MPL and Lazarus

2007-02-28 Thread Michael Van Canneyt
On Wed, 28 Feb 2007, Graeme Geldenhuys wrote: > On 2/27/07, Marco van de Voort <[EMAIL PROTECTED]> wrote: > > > > Not only for MPL, but also to allow commercial devels to create designtime > > packages and component editors. > > > > This opens another can of worms as was discussed earlier in th

Re: [lazarus] Unit name clash

2007-02-27 Thread Michael Van Canneyt
On Wed, 28 Feb 2007, Marc Weustink wrote: > Michael Van Canneyt wrote: > > Hi, > > > > The file > > lcl/interfaces/gtk/gtkprivate.pp > > in Lazarus has the same name as the file > > packages/extra/gtk/gtk/gtkprivate.pp > > in FPC. > >

Re: [lazarus] Unit name clash

2007-02-27 Thread Michael Van Canneyt
On Tue, 27 Feb 2007, Vincent Snijders wrote: > Michael Van Canneyt schreef: > > > > On Tue, 27 Feb 2007, Vincent Snijders wrote: > > > > > Michael Van Canneyt schreef: > > > > Hi, > > > > > > > > The filelcl/interfaces/

Re: [lazarus] Unit name clash

2007-02-27 Thread Michael Van Canneyt
On Tue, 27 Feb 2007, Vincent Snijders wrote: > Michael Van Canneyt schreef: > > Hi, > > > > The filelcl/interfaces/gtk/gtkprivate.pp > > in Lazarus has the same name as the file > > packages/extra/gtk/gtk/gtkprivate.pp > > in FPC. > >

[lazarus] Unit name clash

2007-02-27 Thread Michael Van Canneyt
Hi, The file lcl/interfaces/gtk/gtkprivate.pp in Lazarus has the same name as the file packages/extra/gtk/gtk/gtkprivate.pp in FPC. This forces the compiler to try and recompile the FPC GTK units, even when they have not changed, as soon as gtkprivate.pp in the LCL is changed. I suggest

Re: [lazarus] OT: Döner was Re: Ideas to imp lement AllocateHwnd

2007-02-26 Thread Michael Van Canneyt
On Mon, 26 Feb 2007, Florian Klaempfl wrote: > Michael Van Canneyt schrieb: > > > > On Mon, 26 Feb 2007, Florian Klaempfl wrote: > > > >> Michael Van Canneyt schrieb: > >>> On Mon, 26 Feb 2007, Florian Klaempfl wrote: > >>> > >>

Re: [lazarus] OT: Döner was Re: Ideas to imp lement AllocateHwnd

2007-02-26 Thread Michael Van Canneyt
On Mon, 26 Feb 2007, Florian Klaempfl wrote: > Michael Van Canneyt schrieb: > > > > On Mon, 26 Feb 2007, Florian Klaempfl wrote: > > > >> Sönmez Kartal schrieb: > >>> Hi, > >>> > >>> As I know, European people didn'

Re: [lazarus] OT: Döner was Re: Ideas to implemen t AllocateHwnd

2007-02-26 Thread Michael Van Canneyt
On Mon, 26 Feb 2007, Florian Klaempfl wrote: > Sönmez Kartal schrieb: > > Hi, > > > > As I know, European people didn't know Döner and/or similar foods until > > Turkish people move there. > > >From http://en.wikipedia.org/wiki/D%C3%B6ner_kebab > > "Today, döner kebab is typically served as a

Re: [lazarus] StrToDate error

2007-02-25 Thread Michael Van Canneyt
On Sun, 25 Feb 2007, Jeff Steinkamp wrote: > And thus is the problem with trying to internationalize a software product > where data, in text format, can be passed back and forth easily. > > The space character for a date separator is not part of the enumerated set. > It is '-' or '/' for the s

RE: [lazarus] StrToDate error

2007-02-25 Thread Michael Van Canneyt
On Sun, 25 Feb 2007, Pieter Valentijn wrote: > :-0 > Is it? > I never know. > I think it should come from the system locale. It should, yes. > In that case this routine still works. Normally, yes. > I gess the hardest part is the MM-DD- against DD-MM-. > I have seen that theres anly

RE: [lazarus] StrToDate error

2007-02-25 Thread Michael Van Canneyt
On Sun, 25 Feb 2007, Pieter Valentijn wrote: > Should be easy. > > Function MyStrToDate(Astr : String) : TDateTime ; > Begin > Astr := StringReplace(Astr,'-',DateSeparator,[rfReplaceAll]); > Astr := StringReplace(Astr,'/',DateSeparator,[rfReplaceAll]); > result := StrTodate(Astr); > End; >

Re: [lazarus] StrToDate error

2007-02-24 Thread Michael Van Canneyt
On Fri, 23 Feb 2007, Jeff Steinkamp wrote: > Can someone tell me why the following is producing an Econvert Exception? > > StrTodate('04/11/1955'); > > I have even tried setting the ShortDateFormat to 'm/d/y/' and 'mm/dd/'. If you're running on linux, try setting DateSeparator:='/'; be

Re: [lazarus] custom application settings storage - LSB / Windows

2007-02-15 Thread Michael Van Canneyt
On Thu, 15 Feb 2007, Graeme Geldenhuys wrote: > Hi, > > Sorry, this is not strictly a Lazarus question, but thought maybe > other Lazarus users have solved this problem. > > What is the recommend location to store application (custom) settings > per user? This depends on the OS. > By applica

Re: [lazarus] ENV Variables

2007-02-13 Thread Michael Van Canneyt
On Tue, 13 Feb 2007, Jeff Steinkamp wrote: > Thanks to all who replied to my question about the run file size. Have take > most of the suggestions and parried the file down to about 2 meg while I > continue to develop this package. Once I get it working correctly I'll get > rid of the rest of

Re: LazDoc or fpdoc issue

2007-02-13 Thread Michael Van Canneyt
On Tue, 13 Feb 2007, Graeme Geldenhuys wrote: > On 2/13/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > IIRC, in earlier versions, if there was only whitespace between the start > > > tag > > > and the end tag, no child nodes were generated.

Re: LazDoc or fpdoc issue

2007-02-13 Thread Michael Van Canneyt
On Tue, 13 Feb 2007, Graeme Geldenhuys wrote: > On 2/13/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > Searching the internet it seems the XML preferred format for a empty > > > element is a single tag with a '/' at the end. I guess we need to &

Re: LazDoc or fpdoc issue

2007-02-13 Thread Michael Van Canneyt
On Tue, 13 Feb 2007, Vincent Snijders wrote: > Michael Van Canneyt schreef: > > > > On Tue, 13 Feb 2007, Graeme Geldenhuys wrote: > > > > > As a quick fix I wrote the following XSLT file to fix all those > > > confusing xml "empty" elements. &

Re: LazDoc or fpdoc issue

2007-02-13 Thread Michael Van Canneyt
On Tue, 13 Feb 2007, Graeme Geldenhuys wrote: > As a quick fix I wrote the following XSLT file to fix all those > confusing xml "empty" elements. > This XSLT file will rewrite all empty "descr", "errors" and "seealso" > elements to the following format. > > Here is how you can apply the XSLT

Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Michael Van Canneyt
On Mon, 12 Feb 2007, Lee Jenkins wrote: > Balanyi Zsolt wrote: > > Hi friends! > > > > Anybody interested in porting Midware to Lazarus? > > Midware is a very good middleware for Delphi and Kylix. > > If you know any alternative solution, let me know! > > > > Synapse works. I've written a TC

Re: [lazarus] XML and XPath?

2007-02-12 Thread Michael Van Canneyt
On Mon, 12 Feb 2007, Lee Jenkins wrote: > Kris Leech wrote: > > Lee Jenkins wrote: > > > Lepidosteus wrote: > > > > In fpc/fcl/xml there is a xpath unit. > > > > Never used it, don't know if it works, guess it should. > > > > > > > > > > Ahh, you're correct. I'll poke around the sources a bit a

Re: [lazarus] Selecting directories via TOpenDialog

2007-01-29 Thread Michael Van Canneyt
On Mon, 29 Jan 2007, Arí Ricardo Ody wrote: > I would like show files and directories(that are under the current one) in the > right window of a TOpenDialog. How can I do to get this effect and still > select(or not) the directories showed in this right window? > > Should I use another componen

Re: [lazarus] TThread help-doc example

2007-01-20 Thread Michael Van Canneyt
RTL > class and is documented by the FPC team (Michael van Canneyt). > > Examples for the RTL and FCL can be added to the on line version of the docs > as a comment, for example by adding a comment to > http://community.freepascal.org:1/docs-html/rtl/classes/tthread.html > > I am

Re: [lazarus] Lazarus AMD64 version bug ?

2007-01-18 Thread Michael Van Canneyt
On Thu, 18 Jan 2007, Marc Weustink wrote: > Vincent Snijders wrote: > > Marc Weustink schreef: > > > Michael Van Canneyt wrote: > > > > Hello, > > > > > > > > Clicking the middle mouse button in the Lazarus editor window crashes > >

Re: [lazarus] Lazarus AMD64 version bug ?

2007-01-18 Thread Michael Van Canneyt
On Thu, 18 Jan 2007, Marc Weustink wrote: > Michael Van Canneyt wrote: > > Hello, > > > > Clicking the middle mouse button in the Lazarus editor window crashes the > > IDE with a 'Segmentation fault' if it's compiled for AMD64. The IDE just > &g

[lazarus] Lazarus AMD64 version bug ?

2007-01-17 Thread Michael Van Canneyt
Hello, Clicking the middle mouse button in the Lazarus editor window crashes the IDE with a 'Segmentation fault' if it's compiled for AMD64. The IDE just exits, and prints "Segmentation fault" on the terminal. The exact same sources, compiled for i386 work fine, and clicking the middle mouse b

Re: [lazarus] TXMLDocument from string

2007-01-17 Thread Michael Van Canneyt
On Wed, 17 Jan 2007, Vincent Snijders wrote: > Michael Van Canneyt schreef: > > > > On Wed, 17 Jan 2007, Vincent Snijders wrote: > > > > > Mattias Gaertner schreef: > > > > On Tue, 16 Jan 2007 19:42:32 +0100 > > > > Vincent Snijders <[

Re: [lazarus] TXMLDocument from string

2007-01-17 Thread Michael Van Canneyt
On Wed, 17 Jan 2007, Vincent Snijders wrote: > Mattias Gaertner schreef: > > On Tue, 16 Jan 2007 19:42:32 +0100 > > Vincent Snijders <[EMAIL PROTECTED]> wrote: > > > > > > It seems to be quite old: 2005-05-26. > > It is. OTOH, not much LCL documentation has been added. > > I will create a n

Re: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread Michael Van Canneyt
On Wed, 17 Jan 2007, Tiziano_mk wrote: > Al Boldi wrote: > > Tiziano_mk wrote: > > > I wish to add this missing item that i find more interesting: > > > > > > "Maybe you want to use python to control OpenOffice with Free pascal?" > > > It's possible, just embed FPC with the python "embedded" in

Re: [lazarus] Compiled Linuxy Binary Compatibility/A bit (OT)

2007-01-16 Thread Michael Van Canneyt
On Tue, 16 Jan 2007, Lee Jenkins wrote: > Michael Van Canneyt wrote: > > > > > > If you don't use hand-coded assembler, it should be enough to compile your > > program for i386 and AMD64. That should cover most distributions out there. > > The compile

Re: [lazarus] Compiled Linuxy Binary Compatibility/A bit (OT)

2007-01-16 Thread Michael Van Canneyt
On Tue, 16 Jan 2007, Lee Jenkins wrote: > Albert Zeyer wrote: > > Hi > > > > There are severeal parts you should seperate: > > > > Firstly, all the hardware-stuff: > > > > Thanks Albert. So it seems that if I do not distribute the source of a > program, than I will have to compile binaries

Re: [lazarus] TXMLDocument from string

2007-01-16 Thread Michael Van Canneyt
On Tue, 16 Jan 2007, [EMAIL PROTECTED] wrote: > Thanks, you saved my ass man ;) > > There is too few information on that functions... sometime programming with > lazarus i feel blind. > > Where can i found a manual with all Lazarus functions, and where can i search > if i don't find anything t

Re: [lazarus] utf8toansi

2007-01-15 Thread Michael Van Canneyt
On Mon, 15 Jan 2007, Dave Coventry wrote: > In point of fact python is an extraordinarily powerful scripting language. > > It has it's weaknesses, sure, but it is nevertheless, an extremely useful and > versatile cross-platform tool which has certainly moved more into the main > stream in the l

Re: [lazarus] TXMLDocument from string

2007-01-15 Thread Michael Van Canneyt
On Mon, 15 Jan 2007, [EMAIL PROTECTED] wrote: > Hi... i'm going crazy to create a TXMLDocument from a string. What is the problem ? Var S : TStringStream; XML : TXMLDocument; begin S:=TStringStream.Create(MyXMLString); Try S.Position:=0; XML:=Nil; ReadXMLFile(XML,S); // Co

Re: Lazarus for Python (L4P)

2007-01-15 Thread Michael Van Canneyt
On Mon, 15 Jan 2007, [EMAIL PROTECTED] wrote: > >> SO = so with emphasis. > >> > >> "so 2006" means it was the hot item of last year and thus of the past. > > > > Ah. > > In that case, I would even say that Python is SO 2004-2005. > > The latest hot thing is Ruby. Linux journal, where I get such

Re: Lazarus for Python (L4P)

2007-01-15 Thread Michael Van Canneyt
On Mon, 15 Jan 2007, Vincent Snijders wrote: > Algis Kabaila schreef: > > Hello again, Marco, > > > > > > SO = Significant Other > > SO = Shift Out > > > > SO = so with emphasis. > > "so 2006" means it was the hot item of last year and thus of the past. Ah. In that case, I would even say

Re: [lazarus] Compile Error for TiOPF components

2007-01-15 Thread Michael Van Canneyt
On Mon, 15 Jan 2007, Graeme Geldenhuys wrote: > On 1/15/07, Cesar Romero <[EMAIL PROTECTED]> wrote: > > After develop mixed code for 3 years, my opinion is: > > "The cheaper is expensive when you have to maintain the code" > > That's very true, I never even mentioned the cost in maintaining cod

Re: [lazarus] utf8toansi

2007-01-15 Thread Michael Van Canneyt
On Mon, 15 Jan 2007, Marco van de Voort wrote: > On Mon, Jan 15, 2007 at 09:45:46AM +1100, Algis Kabaila wrote: > > IMHO, Python is the language of the future > > Python is SO 2006. This is very chinese for me :-) Michael. _

Re: [lazarus] SVN update - reversed class completion

2007-01-10 Thread Michael Van Canneyt
On Tue, 9 Jan 2007, Mattias Gaertner wrote: > See > http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Reversed_Class_Completion > Yes yes yes, a long awaited feature :-) Many thanks for the implementor of this ! Michael. _

Re: [lazarus] root's password...

2007-01-07 Thread Michael Van Canneyt
On Sun, 7 Jan 2007, R. B. wrote: > Hello, > > I almost finished my first application that I build using fpc/lazarus. It is > an IDE for an AI language and I have to greatly admire all those who made fpc > (big thumb up despite I haven't got enough time to check out the source > specially the

Re: [lazarus] Informative question...

2006-12-30 Thread Michael Van Canneyt
On Sun, 31 Dec 2006, Darius Blaszijk wrote: > Michael, > > I reported a related bug (??) some time ago (Bug 0007842). Well, I've created a bug report (8040), and referred to your bug report. I'm experiencing this on Linux, GTK1, and yours is on XP, so it's probably something else... Michae

Re: [lazarus] Can't type [] {} in code editor under linux

2006-12-30 Thread Michael Van Canneyt
On Sat, 30 Dec 2006, Marc Weustink wrote: > Michael Van Canneyt wrote: > > > > On Sat, 30 Dec 2006, Marc Weustink wrote: > > > >> Michael Van Canneyt wrote: > >>> On Sat, 30 Dec 2006, Marc Weustink wrote: > >>> > >>>> Mich

[lazarus] Informative question...

2006-12-30 Thread Michael Van Canneyt
Hello, Informative question: Is the "Cursor" property supposed to work ? I'm trying to implement a browser-like behaviour where the cursor changes to a hand when it hovers over a TLabel, but it doesn't seem to work. Michael. _

Re: [lazarus] Can't type [] {} in code editor under linux

2006-12-30 Thread Michael Van Canneyt
On Sat, 30 Dec 2006, Marc Weustink wrote: > Michael Van Canneyt wrote: > > > > On Sat, 30 Dec 2006, Marc Weustink wrote: > > > >> Michael Van Canneyt wrote: > >>> On Fri, 29 Dec 2006, Jesus Reyes wrote: > >> Both thanks for reporting. I'

Re: [lazarus] Can't type [] {} in code editor under linux

2006-12-30 Thread Michael Van Canneyt
On Sat, 30 Dec 2006, Marc Weustink wrote: > Michael Van Canneyt wrote: > > > > On Fri, 29 Dec 2006, Jesus Reyes wrote: > > Both thanks for reporting. I've made some keyboard routines more strict. > In the old situation a random key could get reported. Did you

<    1   2   3   4   5   6   7   8   9   10   >