[lazarus] TDBF and Read/Write Memo methods

2006-03-02 Thread Panagiotis Sidiropoulos
This message is sent for archive reasons. For attention to anyone interest on TDBF component. Following two functions provide MEMO field Write and Read features to TDBF component. These support text by now but can support any form of data with a few modifications. I think these would be helpful,

[lazarus] TLabel and Widgetset questions

2006-03-02 Thread Felipe Monteiro de Carvalho
Hello, I am trying to implement TLabel for the Qt widgetset. I implemented ExtTextOut winapi function and then droped a TLabel on a form and compiled it, but at run-time I get this error: TControl.DoSetBounds Label1:TLabel Old=174,44,65,17 New=174,44,145497925,1208546853 ERROR in LCL:

[lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Marco Meile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi list, i searched tonight for usable, easy handle MySQL Compos for Lazarus (linux), and i cant find it any of this, but only pas src files (does not work). anyone knows about mysql compos for place on the form and using as a DataSet like the MyDAC

Re: [lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Michael Van Canneyt
On Thu, 2 Mar 2006, Marco Meile wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi list, i searched tonight for usable, easy handle MySQL Compos for Lazarus (linux), and i cant find it any of this, but only pas src files (does not work). anyone knows about mysql compos for place on the

Re: [lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Marco Meile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Van Canneyt wrote: On Thu, 2 Mar 2006, Marco Meile wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi list, i searched tonight for usable, easy handle MySQL Compos for Lazarus (linux), and i cant find it any of this, but only pas

Re: [lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Michael Van Canneyt
On Thu, 2 Mar 2006, Marco Meile wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Van Canneyt wrote: On Thu, 2 Mar 2006, Marco Meile wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi list, i searched tonight for usable, easy handle MySQL Compos for Lazarus (linux),

[lazarus] Pausing in DLL

2006-03-02 Thread SteveG
Would anybody know how to implement a 'pause' routine within a dll (WinXP) Sleep stops the app from responding, and calling Application.ProcessMessages within a loop causes illegal ops Any ideas ? _ To unsubscribe: mail

Re: [lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Michael Van Canneyt
On Thu, 2 Mar 2006, Marco Meile wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Van Canneyt wrote: On Thu, 2 Mar 2006, Marco Meile wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Van Canneyt wrote: On Thu, 2 Mar 2006, Marco Meile wrote: -BEGIN PGP

Re: [lazarus] Pausing in DLL

2006-03-02 Thread Michael Van Canneyt
On Fri, 3 Mar 2006, SteveG wrote: Would anybody know how to implement a 'pause' routine within a dll (WinXP) Sleep stops the app from responding, and calling Application.ProcessMessages within a loop causes illegal ops Define 'pause' ? What should still happen during the pause and what not

[lazarus] compile my lazarus project from the command line

2006-03-02 Thread Graeme Geldenhuys
Hi, I have a large project with many unit test (using fpcUnit). While I developing, I use the GUI Test Runner of fpcUnit. I want to setup automated nightly builds using the Text Test Runner. How do I compile a lazarus project from the command line. Do I need to create some makefile? If so,

Re: [lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Marco Meile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Van Canneyt wrote: On Thu, 2 Mar 2006, Marco Meile wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Van Canneyt wrote: On Thu, 2 Mar 2006, Marco Meile wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Van

Re: [lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Michael Van Canneyt
On Thu, 2 Mar 2006, Marco Meile wrote: i cant see this tab, hmm where i can find the compo package? maybe i have compiled not the right package (: You need to compile sqldblaz or lazsqldb, it contains all you need. yes i know, where in which DIrectory is saved the sqldblaz? i can only

Re: [lazarus] Pausing in DLL

2006-03-02 Thread SteveG
In this specific instance - I am within Program One and run another (from within the dll) - Program Two Program Two creates an instance of TSimpleIPCServer once running I need Program One to 'pause' the function that started Program Two until the IPCServer is active, but I still need Program

Re: [lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Matthijs Willemstein
On Thu, 2006-03-02 at 16:16 +0100, Michael Van Canneyt wrote: yes i know, where in which DIrectory is saved the sqldblaz? i can only find sql3laz lazarus/components/sqldblaz ? You'll find it in /components/sqldb Matthijs -- Matthijs Willemstein [EMAIL PROTECTED]

[lazarus] New Version 0.12

2006-03-02 Thread Edwin Quijada
Hi! I am trying to use the new version in windows developing but when I try to link this doesnt work and spent all my memory and take much time. I still into v0.10 Somebody has a cluee about tyhis? *---* *-Edwin Quijada *-Developer DataBase

Re: [lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Marco Meile
Matthijs Willemstein wrote: On Thu, 2006-03-02 at 16:16 +0100, Michael Van Canneyt wrote: yes i know, where in which DIrectory is saved the sqldblaz? i can only find sql3laz lazarus/components/sqldblaz ? You'll find it in /components/sqldb yes, thx, i have resolved them

Re: [lazarus] Pausing in DLL

2006-03-02 Thread Markku Niskanen
On Fri, 03 Mar 2006 01:19:41 +1000, SteveG [EMAIL PROTECTED] wrote: In this specific instance - I need Program One to 'pause' the function that started Program Two until the IPCServer is active, but I still need Program One's Form / Messages to continue Why not use a server socket in Program

Re: [lazarus] compile my lazarus project from the command line

2006-03-02 Thread dhkblaszyk
makefile? If so, is there a tool that could help me generate the makefile? I have always only compiled projects from within Lazarus. fpcmake ;) This tool reads a script (makefile.fpc by default) and generates a makefile that can be read by make. I'm also starting to use thistool and learning

Re: [lazarus] compile my lazarus project from the command line

2006-03-02 Thread Graeme Geldenhuys
Thanks Darius! I'll go see what help I can find on fpcmake. PS: In the mean time, my workaround is to get the project compiling under Lazarus, then look at Project - Compiler Options - Show Options and copy that into a script. So far it works, but I think an actual makefile is the right

[lazarus] GTK(2) and German umlauts

2006-03-02 Thread Christian U.
I think this problem is a problem that exists longer. What is the (big) problem that gtk cuts all strings that have one or more german umlauts in it ? gtk2 dont drat the strings from the position of the char and gtk dont draw the whole string. also in runtime added Menueitems have width 0 on

Re: [lazarus] compile my lazarus project from the command line

2006-03-02 Thread Darius Blaszijk
Graeme, I did that too yes. To get the fpcMake documentation see: http://www.freepascal.org/docs-html/prog/progap5.html#x251-253000E. Darius - Original Message - From: Graeme Geldenhuys [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Thursday, March 02, 2006 5:45 PM Subject: Re:

Re: [lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Marc Weustink
Marco Meile wrote: Matthijs Willemstein wrote: On Thu, 2006-03-02 at 16:16 +0100, Michael Van Canneyt wrote: yes i know, where in which DIrectory is saved the sqldblaz? i can only find sql3laz lazarus/components/sqldblaz ? You'll find it in /components/sqldb yes, thx,

Re: [lazarus] GTK(2) and German umlauts

2006-03-02 Thread darekM
Christian U. napisa?(a): I think this problem is a problem that exists longer. What is the (big) problem that gtk cuts all strings that have one or more german umlauts in it ? gtk2 dont drat the strings from the position of the char and gtk dont draw the whole string. which codepage You use

Re: [lazarus] TLabel and Widgetset questions

2006-03-02 Thread Den Jean
On Thursday 02 March 2006 07:20 am, Felipe Monteiro de Carvalho wrote: Maybe I should try to detect if a drawing function was called outside a paint event QWidget also descends from QPaintDevice which has the method bool QPaintDevice::paintingActive () const

Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-02 Thread Uwe Grauer
Uwe Grauer wrote: Uwe Grauer wrote: Uwe Grauer wrote: Mattias Gaertner wrote: On Mon, 27 Feb 2006 15:24:50 +0100 Uwe Grauer [EMAIL PROTECTED] wrote: Do i really need to have a gtk1-dev-package to compile lazarus? Opensuse has full gtk2-support. I don't want to mess up my system just to

Re: [lazarus] MySQL Compos (lpk) for lazarus

2006-03-02 Thread Mattias Gaertner
On Thu, 02 Mar 2006 18:25:33 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Marco Meile wrote: Matthijs Willemstein wrote: On Thu, 2006-03-02 at 16:16 +0100, Michael Van Canneyt wrote: yes i know, where in which DIrectory is saved the sqldblaz? i can only find sql3laz

Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-02 Thread Mattias Gaertner
On Thu, 02 Mar 2006 20:16:06 +0100 Uwe Grauer [EMAIL PROTECTED] wrote: Uwe Grauer wrote: Uwe Grauer wrote: Uwe Grauer wrote: Mattias Gaertner wrote: On Mon, 27 Feb 2006 15:24:50 +0100 Uwe Grauer [EMAIL PROTECTED] wrote: Do i really need to have a gtk1-dev-package to compile

Re: [lazarus] GTK(2) and German umlauts

2006-03-02 Thread Mattias Gaertner
On Thu, 2 Mar 2006 17:58:04 +0100 Christian U. [EMAIL PROTECTED] wrote: I think this problem is a problem that exists longer. What is the (big) problem that gtk cuts all strings that have one or more german umlauts in it ? If the LANG variable tells gtk1 to use UTF8, it does the above for

Re: [lazarus] TLabel and Widgetset questions

2006-03-02 Thread Felipe Monteiro de Carvalho
On 3/2/06, Mattias Gaertner [EMAIL PROTECTED] wrote: How to find out: - add a check to DoSetBounds to raise an error if bounds over 1 This is already like that on LCL code. This is why the error is raised. What I need is to find out why the bounds have wrong values. - create a backtrace

Re: [lazarus] TLabel and Widgetset questions

2006-03-02 Thread Vincent Snijders
Felipe Monteiro de Carvalho wrote: On 3/2/06, Mattias Gaertner [EMAIL PROTECTED] wrote: How to find out: - add a check to DoSetBounds to raise an error if bounds over 1 This is already like that on LCL code. This is why the error is raised. What I need is to find out why the bounds have

Re: [lazarus] TLabel and Widgetset questions

2006-03-02 Thread Mattias Gaertner
On Thu, 2 Mar 2006 17:40:23 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On 3/2/06, Mattias Gaertner [EMAIL PROTECTED] wrote: How to find out: - add a check to DoSetBounds to raise an error if bounds over 1 This is already like that on LCL code. This is why the error is

Re: [lazarus] TLabel and Widgetset questions

2006-03-02 Thread Den Jean
On Thursday 02 March 2006 03:26 pm, Mattias Gaertner wrote: Another problem is that Qt does not allow painting outside a paint event, but winapi is allows it. Has anyone had this problem before? Yes. The Gtk interface has the same problem: Painting is only allowed during Paint event.

Re: [lazarus] GTK(2) and German umlauts

2006-03-02 Thread Christian U.
If the LANG variable tells gtk1 to use UTF8, it does the above for invalid UTF8 strings. I will try to set the variable to something other .. gtk2 dont drat the strings from the position of the char and gtk dont draw the whole string. also in runtime added Menueitems have width 0 on gtk

Re: [lazarus] TLabel and Widgetset questions

2006-03-02 Thread Den Jean
On Thursday 02 March 2006 10:25 pm, Den Jean wrote: ... and you should have acces to that qpainter to your painting on. correction of some typos: and you should have access to that qpainter to do your painting on.

Re: [lazarus] TLabel and Widgetset questions

2006-03-02 Thread Felipe Monteiro de Carvalho
On 3/3/06, Den Jean [EMAIL PROTECTED] wrote: Extra remark: Do not use return value of QPainter::begin To paint you need a QPainter. You could do create qpainter isOk = qpainter.begin(qwidget-to-qpaintdevice) if not isOk then delete qpainter exit Currently I don't use

Re: [lazarus] TLabel and Widgetset questions

2006-03-02 Thread Mattias Gaertner
On Thu, 2 Mar 2006 18:19:59 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On 3/2/06, Mattias Gaertner [EMAIL PROTECTED] wrote: DrawText Well? What does DrawText return under qt? It wasn't implemented =) This is what I was looking for, thanks. I did a quick and dirty

Re: [lazarus] Lazarus, FreePascal and handheld devices

2006-03-02 Thread Felipe Monteiro de Carvalho
I had an idea to go around the down wiki problem. Use google cache =) About FPC+Windows CE: http://www.freepascal.org/wiki/index.php/WinCE_port About general PDA info:

[lazarus] archived web site?

2006-03-02 Thread Dale Welch
They don't have a recent archive of it... but you can use the Way Back Machine... http://www.archive.org/ type in any web site... They will show you dates they archived it. And you can then look at it from that date. If you ever lose your site it's a great way to recover an old version of it. So

[lazarus] App runs from command prompt window

2006-03-02 Thread George Lober
I haven't bothered about this for quite some time, but I thought I'd finally ask. Under Windows only, whenever a Lazarus application is run standalone or from the IDE, a command prompt window always opens up. The task bar then has a button for the window as well as for the app. Is there any

Re: [lazarus] App runs from command prompt window

2006-03-02 Thread George Lober
Graeme Geldenhuys wrote: Under Compiler Options - Linking - tick the Win32 GUI Application checkbox Too simple, thanks George _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject