Re: [lazarus] About the "message dialog composer"

2007-05-04 Thread Marc Weustink
SALVATORE COPPOLA wrote: Hi people, about the "message dialog composer" I sent some time ago (patch[at]lazarus.dommelstein.net): 1. none noticed; 2. lost; 3. trash; 4. under review I hope 4 (but not by me at the moment) and I forgot a bit. I reread the description and it is not fully

[lazarus] Inserting class definition

2007-05-04 Thread Darius Blaszijk
I would like to insert a new class definition through the code tools. eg: TMyClass = class(TObject) end; Is this possible using currently available methods in TCodeTool? Or should I create a new method that does this. Darius _

[lazarus] About the "message dialog composer"

2007-05-04 Thread SALVATORE COPPOLA
Hi people, about the "message dialog composer" I sent some time ago (patch[at]lazarus.dommelstein.net): 1. none noticed; 2. lost; 3. trash; 4. under review Please a little reply Thanks, Salvatore

Re: [lazarus] Traversing TCodeTree

2007-05-04 Thread Darius Blaszijk
Mattias Gaertner wrote: The CodeNode.Next travels through all nodes. For example the uses section is a child of the interface. The problem is probably, that you told the codetools to only parse the interface. There is a flag in CodeToolBoss.Explore for this. That was it, thanks for preventin

Re: [lazarus] Orpheus and Lazarus

2007-05-04 Thread Sébastien TACK
- Original Message - From: "Michael Van Canneyt" <[EMAIL PROTECTED]> To: Sent: Friday, May 04, 2007 11:42 AM Subject: Re: [lazarus] Orpheus and Lazarus On Fri, 4 May 2007, Sébastien TACK wrote: > > > > Sébastien TACK schreef: > > > Hi, > > > I try install Orpheus on Lazarus but I

Re: [lazarus] Traversing TCodeTree

2007-05-04 Thread Mattias Gaertner
On Fri, 04 May 2007 16:22:36 +0200 Darius Blaszijk <[EMAIL PROTECTED]> wrote: > Ok thanks, I will look if I can steal some code from there ;) > > Darius > > Vincent Snijders wrote: > > Darius Blaszijk schreef: > >> Hi, > >> > >> I have problems understanding how to traverse a CodeTree. The code

[lazarus] Illegal expression

2007-05-04 Thread Roland Turcan
Hello [EMAIL PROTECTED] type TMsgDlgType= (mtWarning, mtError, mtInformation, mtConfirmation, mtCustom); VAR IconIDs :ARRAY [TMsgDlgType] OF LPTSTR= (IDI_EXCLAMATION, IDI_HAND,

Re: [lazarus] Traversing TCodeTree

2007-05-04 Thread Darius Blaszijk
Ok thanks, I will look if I can steal some code from there ;) Darius Vincent Snijders wrote: Darius Blaszijk schreef: Hi, I have problems understanding how to traverse a CodeTree. The code I'm talking about is pasted below together with the testunit I parsed. The result I get from the code

Re: [lazarus] Traversing TCodeTree

2007-05-04 Thread Павел Ишенин
Darius Blaszijk wrote: Hi, If you mean I should try something like this: repeat writeln(Format('%d %s', [CodeNode.Desc, CodeNode.DescAsString])); CodeNode := CodeNode.Next; if CodeNode.Desc = ctnImplementation then CodeNode := CodeNode.FirstChild; until CodeNode = nil; Then unf

Re: [lazarus] Traversing TCodeTree

2007-05-04 Thread Vincent Snijders
Darius Blaszijk schreef: Hi, I have problems understanding how to traverse a CodeTree. The code I'm talking about is pasted below together with the testunit I parsed. The result I get from the code is: 4 Unit 5 Interface Section 16 Uses Section 6 Implementation I would expect though that I

Re: [lazarus] SQLquery

2007-05-04 Thread Andrea Mauri
I tested the queries with SQLdb (doesn't work) UIB (work) FBLIB (work) ZeosLib (work) Maybe is a problem relate to the number of columns because if I submit a query like this: select D1.D1_IDDESCVALUE1, D2.D2_IDDESCVALUE2 from DESCVALUES1 D1 left join DESCVALUES2 D2 on D1.D1_IDDESCVALUE1 = D2

Re: [lazarus] Traversing TCodeTree

2007-05-04 Thread Darius Blaszijk
Hi, If you mean I should try something like this: repeat writeln(Format('%d %s', [CodeNode.Desc, CodeNode.DescAsString])); CodeNode := CodeNode.Next; if CodeNode.Desc = ctnImplementation then CodeNode := CodeNode.FirstChild; until CodeNode = nil; Then unfortunately it doesn't wo

Re: [lazarus] Traversing TCodeTree

2007-05-04 Thread Vincent Snijders
Darius Blaszijk schreef: Hi, I have problems understanding how to traverse a CodeTree. The code I'm talking about is pasted below together with the testunit I parsed. The result I get from the code is: 4 Unit 5 Interface Section 16 Uses Section 6 Implementation I would expect though that I

[lazarus] Traversing TCodeTree

2007-05-04 Thread Darius Blaszijk
Hi, I have problems understanding how to traverse a CodeTree. The code I'm talking about is pasted below together with the testunit I parsed. The result I get from the code is: 4 Unit 5 Interface Section 16 Uses Section 6 Implementation I would expect though that I would also see the items b

Re: [lazarus] Serial unit for Windows

2007-05-04 Thread Luis R. Hilario B.
Normal access, Windows API. But as you can see there is procedure, for almost all: { Getting and setting the line states directly. } procedure SerSetDTR(Handle: TSerialHandle; State: Boolean); procedure SerSetRTS(Handle: TSerialHandle; State: Boolean); function SerGetCTS(Handle: TSerialHandle):

Re: [lazarus] Serial unit for Windows

2007-05-04 Thread Razvan Adrian Bogdan
Is it suppose to work accessing the port directly and reading pin states or normal synchronous/asynchronous access ? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://w

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] Orpheus and Lazarus

2007-05-04 Thread Sébastien TACK
Sorry ! Now it works. I think that it come from the fact that i forgive to begin by creting a new application as say the Doc a.. Optionally, choose File | New | Application to make sure Lazarus doesn't mess up the currently open project See you soon ! _

Re: [lazarus] SQLquery

2007-05-04 Thread Andrea Mauri
Ok, a brief explanation. I am developing a software for molecular descriptors calculation. For every molecules I have to calculate thousands of descriptors. These descriptors are divided in blocks. During the calculation I would like to store the calculated descriptors in a database, embedded, I

Re: [lazarus] Orpheus and Lazarus

2007-05-04 Thread Sébastien TACK
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 Lazarus ( 0.9.23 beta - Revision 11071 ) on a XP station Can you help me ? W

Re: [lazarus] Orpheus and Lazarus

2007-05-04 Thread Vincent Snijders
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 Lazarus ( 0.9.23 beta - Revision 11071 ) on a XP station Can you help me ?

Re: [lazarus] Orpheus and Lazarus

2007-05-04 Thread Sébastien TACK
>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 Lazarus > ( 0.9.23 beta - Revision 11071 ) on a XP station > Can you help me ? > Regards In fact

[lazarus] Orpheus and Lazarus

2007-05-04 Thread Sébastien TACK
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 Lazarus ( 0.9.23 beta - Revision 11071 ) on a XP station Can you help me ? Regards

Re: [lazarus] Bug 8811 makes IDE unworkable in GTK1

2007-05-04 Thread Graeme Geldenhuys
On 5/4/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: You ask your co-worker if you can use his (windows) computer ... :-) Funny! :-) -- Graeme Geldenhuys There's no place like S34° 03.168' E018° 49.342' _ To unsubsc

[lazarus] Treeview: OnChange vs OnSelectionChanged

2007-05-04 Thread Graeme Geldenhuys
What is the difference between these two events? Aren't they the same thing? From the Kylix 3 Help: TTreeview.OnChange - Occurs whenever the selection has changed from one node to another. Now that sounds a lot like what the LCL's Treeview.OnSelectionChanged does. I'm only going by the even

Re: [lazarus] Bug 8811 makes IDE unworkable in GTK1

2007-05-04 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi Mattias Your changes in revision r11013 broke the TListBox in GTK1. I tried to have a look at what was changed in that revision, to see if I can rectify the issue. Unfortunately I couldn't make head or tail out of it. I have very little knowledge of the GTK intern

[lazarus] Bug 8811 makes IDE unworkable in GTK1

2007-05-04 Thread Graeme Geldenhuys
Hi Mattias Your changes in revision r11013 broke the TListBox in GTK1. I tried to have a look at what was changed in that revision, to see if I can rectify the issue. Unfortunately I couldn't make head or tail out of it. I have very little knowledge of the GTK internals. I want to continue dev