Re: [lazarus] Re: SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Funky Beast wrote: Anyone know which file that is defined in or what a better way of switching this would be? I hate to change the lazarus.pp file permanently. You might find useful information here: http://wiki.lazarus.freepascal.org/Lazarus_Faq#Lazarus_crashes_with_runtime_error_211_afte

[lazarus] Re: SQLDB TIBConnection

2007-01-04 Thread Funky Beast
Lee Jenkins wrote: Funky Beast wrote: You might want to try finding all instances of lazarus executable in your entire system with a file manager started as root, by searching from '/' directory with 'include subfolder' options. Try them one by one and maybe you might find one that has the com

Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Lee Jenkins wrote: After not getting the sqlite components to install or be usable from a lazarus project through reference to the units, I on to try the SQLDB ibconnection component now. Just so that it will be archived, I wanted to post the resolution to the original issue I had and th

Re: [lazarus] [lcl internals] - keyboard handling

2007-01-04 Thread Giulio Bernardi
Uhm... sorry but I need to be more verbose than what I already am :) In short: virtual keycodes for mac do not exist. The articles you reported might be misleading. I'll explain. On Macs, there is not a "raw scancode" and a "virtual keycode". Or better, if they are two different thing, there is

[lazarus] [patch] LCL TControl.HelpContext and HelpKeyword handling

2007-01-04 Thread Sergei Gorelkin
Hello, The attached patch corrects the behaviour of TControl.HelpContext and TControl.HelpKeyword handling: 1. When setting HelpKeyword or HelpContext properties, HelpType is automatically set to htKeyword or htContext accordingly. This corresponds to Delphi behavior and saves a couple of clicks

Re: [lazarus] Drawing a Bitmap onto an TImage component.

2007-01-04 Thread Felipe Monteiro de Carvalho
Did you set the size of the buffer bitmap? Default size is (0, 0). -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepas

Re: [lazarus] Rebuilding IDE with sqlite3 support

2007-01-04 Thread Algis Kabaila
Mattias, Thank you for your reply - greatly appreciated! You asked a question - the answer is inserted at the appropriate place. BTW, as I am writing from Down-Under Canberra, we are in a different time zone to Koeln (and I have no umlauts at the moment.)So my replies may be sometimes sl

Re: [lazarus] those fixed calling conversions in wince...

2007-01-04 Thread Peter Vreman
At 21:44 4-1-2007, you wrote: roozbeh gholizadeh schreef: I saw yury has changed lots of stdcalls to cdecl in wince header files. And also vinced changed two callbacks to cdecl. So,was the previous ones wrong?and if so how did they worked before. i mean if calling conversions wrong why didnt pro

Re: [lazarus] [lcl internals] - keyboard handling

2007-01-04 Thread Marc Weustink
Giulio Bernardi wrote: > Thank you for your answer. > The reason why I was asking these things is that I came back home (I > study in another city) where I have an old PowerMac covered with dust > (I'm not a mac user, but it is there in a corner of my room). > So I started studying some carbon docs

Re: [lazarus] those fixed calling conversions in wince...

2007-01-04 Thread Vincent Snijders
roozbeh gholizadeh schreef: I saw yury has changed lots of stdcalls to cdecl in wince header files. And also vinced changed two callbacks to cdecl. So,was the previous ones wrong?and if so how did they worked before. i mean if calling conversions wrong why didnt programs earlier crash so soon?

[lazarus] those fixed calling conversions in wince...

2007-01-04 Thread roozbeh gholizadeh
I saw yury has changed lots of stdcalls to cdecl in wince header files. And also vinced changed two callbacks to cdecl. So,was the previous ones wrong?and if so how did they worked before. i mean if calling conversions wrong why didnt programs earlier crash so soon? And so from now on what shou

Re: [lazarus] Re: SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Funky Beast wrote: You might want to try finding all instances of lazarus executable in your entire system with a file manager started as root, by searching from '/' directory with 'include subfolder' options. Try them one by one and maybe you might find one that has the components that you ins

Re: [lazarus] Re: SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Funky Beast wrote: Lee Jenkins wrote: Lee Jenkins wrote: Lee Jenkins wrote: I have tried to almost two days straight, ignoring just about everything else in my business to get some kind of workable database access through Lazarus without any success. This morning, I even tried installin

Re: [lazarus] Console app problems

2007-01-04 Thread Mattias Gaertner
On Thu, 4 Jan 2007 13:14:23 +0100 Giuseppe Luigi Punzi <[EMAIL PROTECTED]> wrote: > IMHO I always liked the: > > if AAA then > begin > statements > ... > ... > end; > > For me is the most cleared for writing code. IMHO a good code beautifier should be configurable and support all the men

Re: [lazarus] [lcl internals] - keyboard handling

2007-01-04 Thread Giulio Bernardi
Thank you for your answer. The reason why I was asking these things is that I came back home (I study in another city) where I have an old PowerMac covered with dust (I'm not a mac user, but it is there in a corner of my room). So I started studying some carbon docs and I was trying to fix carbo

Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Joost van der Sluis
On Thu, 2007-01-04 at 09:09 -0500, Lee Jenkins wrote: > Joost van der Sluis wrote: > > On Wed, 2007-01-03 at 21:15 -0500, Lee Jenkins wrote: > >> Kevin hayton wrote: > >>> I have just installed UIB components and there are components on the > >>> palette. > >>> Using MEPIS 6.0 and lazarus 0.9.20 b

Re: [lazarus] Drawing a Bitmap onto an TImage component.

2007-01-04 Thread Dave Coventry
Thanks Mattias. I've already studied that wiki! I just needed to know that there wasn't something like "Image1.Picture.Canvas.Line(X1,Y1,X2,Y2)" which should be used instead of "Image1.Canvas.Line"! Thanks, Dave Mattias Gaertner wrote: On Wed, 03 Jan 2007 22:55:26 +0200 Dave Coventry <[EMA

Re: [lazarus] SQLDB sql connection on wince

2007-01-04 Thread Lee Jenkins
[EMAIL PROTECTED] wrote: Hi. Did someone know if it is possible to use SQLdb to connect to a mysql server through tcp/ip with wince? Actually, vincent is trying to make lnet libs work on wince but even if he have success that's not enough for me, i need to get some data from a database...

[lazarus] SQLDB sql connection on wince

2007-01-04 Thread [EMAIL PROTECTED]
Hi. Did someone know if it is possible to use SQLdb to connect to a mysql server through tcp/ip with wince? Actually, vincent is trying to make lnet libs work on wince but even if he have success that's not enough for me, i need to get some data from a database... _

Re: [lazarus] Re: SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Funky Beast wrote: Hi, You might want to try finding all instances of lazarus executable in your entire system with a file manager started as root, by searching from '/' directory with 'include subfolder' options. Try them one by one and maybe you might find one that has the components that you

[lazarus] Re: SQLDB TIBConnection

2007-01-04 Thread Funky Beast
Lee Jenkins wrote: Lee Jenkins wrote: Lee Jenkins wrote: I have tried to almost two days straight, ignoring just about everything else in my business to get some kind of workable database access through Lazarus without any success. This morning, I even tried installing from source and th

Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Lee Jenkins wrote: Lee Jenkins wrote: I have tried to almost two days straight, ignoring just about everything else in my business to get some kind of workable database access through Lazarus without any success. This morning, I even tried installing from source and that seemed to go OK

Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Lee Jenkins wrote: I have tried to almost two days straight, ignoring just about everything else in my business to get some kind of workable database access through Lazarus without any success. This morning, I even tried installing from source and that seemed to go OK except for the fact

Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Joost van der Sluis wrote: On Wed, 2007-01-03 at 21:15 -0500, Lee Jenkins wrote: Kevin hayton wrote: I have just installed UIB components and there are components on the palette. Using MEPIS 6.0 and lazarus 0.9.20 beta. Just downloaded the latest UIB extracted to /usr/share/lazarus/components

Re: [lazarus] Console app problems

2007-01-04 Thread Giuseppe Luigi Punzi
IMHO I always liked the: if AAA then begin statements ... ... end; For me is the most cleared for writing code. El Jueves, 4 de Enero de 2007 13:07, Samuel Cartaxo escribió: > Maybe it is a rare taste but I personally prefer to use code like this > > if XX then begin > > end;//if > >

Re: [lazarus] Console app problems

2007-01-04 Thread Samuel Cartaxo
Maybe it is a rare taste but I personally prefer to use code like this if XX then begin end;//if with A do begin end;//with while C do begin end;//while etc. I find very easy to locate the closing END using this little comment after it. What do you think? Does it look wrong fo

Re: [lazarus] Console app problems

2007-01-04 Thread Christian Iversen
On Thursday 04 January 2007 11:35, Marco van de Voort wrote: > On Wed, Jan 03, 2007 at 10:53:40PM +0100, Christian Iversen wrote: > > > > > Not really IMHO. C has many more, mostly due to macro's. > > > > > > > > I don't think I follow. Isn't macro style mostly like function style? > > > > > > The

Re: [lazarus] unicode issue of TEdit

2007-01-04 Thread yapcheahshen
but many chinese characters cannot be input , changed to '?' , "堃" for example U+5803 it should should a blank square if chinese font is missing, but shouldn't changed to '?'. btw, i am using windows version of lazarus. yap [EMAIL PROTECTED] wrote: i found various Chinese display and inpu

Re: [lazarus] unicode issue of TEdit

2007-01-04 Thread yapcheahshen
Great , i will look at it first and see if i can contribute, i am a native Chinese speaker, and i have experience in double byte encoding and unicode. yap For windows this is work in progress. For details, see the wiki: http://wiki.lazarus.freepascal.org/LCL_Unicode_Support Vincent ___

Re: [lazarus] unicode issue of TEdit

2007-01-04 Thread Vincent Snijders
Mattias Gaertner schreef: On Thu, 4 Jan 2007 11:34:26 +0800 [EMAIL PROTECTED] wrote: i found various Chinese display and input problems in TEdit, do we have unicode version of TEdit like Tnt controls? The gtk2 version should support chinese. I dont' know about the gtk1 version. What widgetse

Re: [lazarus] unicode issue of TEdit

2007-01-04 Thread Mattias Gaertner
On Thu, 4 Jan 2007 11:34:26 +0800 [EMAIL PROTECTED] wrote: > i found various Chinese display and input problems > in TEdit, > do we have unicode version of TEdit like Tnt controls? The gtk2 version should support chinese. I dont' know about the gtk1 version. What widgetset are you using (compile

Re: [lazarus] MDI Form

2007-01-04 Thread Mattias Gaertner
On Thu, 04 Jan 2007 14:49:46 +0700 Ferry Setiawan <[EMAIL PROTECTED]> wrote: > Dear All, > > Sorry if this question already asked... > is lazarus support for MDIForm? No. > can u give me information, may be some update... > i use lazarus 0.9.16 beta version.. Maybe http://wiki.lazarus.freepa

Re: [lazarus] Console app problems

2007-01-04 Thread Marco van de Voort
On Wed, Jan 03, 2007 at 10:53:40PM +0100, Christian Iversen wrote: > > > > Not really IMHO. C has many more, mostly due to macro's. > > > > > > I don't think I follow. Isn't macro style mostly like function style? > > > > The macro itself is that style, but the place where the macro is placed > > d

[lazarus] Re: problem with implementing ttimer

2007-01-04 Thread roozbeh gholizadeh
Well i think it was maybe related to wrong calling conversions. so maybe now it is fixed.i'll check it. Roozbeh On Sat, 30 Dec 2006 00:23:49 +0330, Sam Liddicott <[EMAIL PROTECTED]> wrote: What is the value of Self at this point? Where does it come from? With normal window messages (I reca

Re: [lazarus] Drawing a Bitmap onto an TImage component.

2007-01-04 Thread Mattias Gaertner
On Wed, 03 Jan 2007 22:55:26 +0200 Dave Coventry <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having difficulty in transferring my Buffer Bitmap onto my Image1 > TImage. > > If I do the following: > > Image1.Canvas.Brush.Color:=clBlack; > Image1.Canvas.FillRect(0,0,Image1.Width,Image1.Height);

Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Joost van der Sluis
On Wed, 2007-01-03 at 21:15 -0500, Lee Jenkins wrote: > Kevin hayton wrote: > > > > I have just installed UIB components and there are components on the > > palette. > > Using MEPIS 6.0 and lazarus 0.9.20 beta. Just downloaded the latest UIB > > extracted to /usr/share/lazarus/components and ins

[lazarus] MDI Form

2007-01-04 Thread Ferry Setiawan
Dear All, Sorry if this question already asked... is lazarus support for MDIForm? can u give me information, may be some update... i use lazarus 0.9.16 beta version.. thanks Ferry S _ To unsubscribe: mail [EMAIL PROTECTED] with