Re: [lazarus] MacOS X - Lazarus - TDBF

2006-05-15 Thread Vincent Snijders

Panagiotis Sidiropoulos schreef:

Trying to install TDBF package I get error message:

/usr/share/lazarus/components/tdbf/RegisterDBF.pas(25,34) Fatal: Can't 
find unit Dbf


DBF unit is placed in FPC/DB folder but can't be reached. At Environment 
options FPC folder is properly declared. FPC root folder specifically. I 
can't understand why this error. Other packages like IPro and DCP 
installed properly.


TDBF is only available for i386 and x86_64 processors, not for powerpc.

Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Request for PR noise !

2006-05-15 Thread Marc Santhoff
Am Sonntag, den 14.05.2006, 23:15 +0200 schrieb Mattias Gaertner:
 The IDE is not only form designing.
 Many people would like to use one IDE for all of their source - pascal GUIs,
 php/html/js webpages, c++ tools/libs, perl/python/bash scripts ...
 We have already syntax highlighers for all of them. A plugin for code
 formatters and parsing tools could be useful. Although I have other
 priorities at the moment.
 

Me too. I really like writing code with good syntax highlighting and
code template support. But only for Pascal so far.

This leads to another question:

Can the behaviour of the editor get customized? I'd like to have the
cursor move more text orientation wise in sense of not extending to
the right further than the real line end.

For most things like shell scripts (don't hit me ;) I use JEdit. What I
really love is having the Pos1 key jumping to the start of the
indented text on the first hit. Could lazarus' editor be made that way?
If so, how can I do?

Regards,
Marc


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Request for PR noise !

2006-05-15 Thread Vincent Snijders

Michael Van Canneyt schreef:



On Mon, 15 May 2006, Marc Santhoff wrote:



For most things like shell scripts (don't hit me ;) I use JEdit. What I
really love is having the Pos1 key jumping to the start of the
indented text on the first hit. Could lazarus' editor be made that way?
If so, how can I do?


If I remember correctly, this has been requested once, and the solution
was: first hit - col 1, second hit: first indented pos ?

And by all means, such things should be configurable. Each coder has his
own preferences...


Is this Editor Options - General - Jump to nearest start?

Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] why there is no win32 component tab?

2006-05-15 Thread roozbeh gholizadeh
Well.i just also saw a post on forums,somebody asking why there is no  
richedit components,and answers was it is not availble on other platforms?


I was wondering is it against lazarus policies to have components for  
specefic oses/interfaces?should everything be on whatever interface?
why not having win32 component tab page with special win32 components on  
win32-lazarus?and same for other oses or interfaces?


Or just nobody was working on it?

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] TSQLite3Dataset: SqliteReturnString

2006-05-15 Thread Thierry Andriamirado
It seems that once SqliteReturnString  SQLITE_OK for a dataset, all
the TSQLite3Datasets in the app loose their synchs with the SQLite3
engine.
In case of conflict, for example when editing data in a dbGrid, if an
'unique' constraint causes SqliteReturnString  SQLITE_OK :

* the DBGrid keep the edited line as if it was ok, and let you continue
adding other data lines
* if you continue working with -another- TSQLite3Dataset and tables
(same database), ApplyUpdates don't work anymore.

The solution I found is to close and re-open the first dataset (the one
which initiated the problem) just after testing SqliteReturnString.

(lazarus 0.9.14-1 and fpc-2.0.2-0)

oh, and SqliteReturnString need to be trimed when tested, his length
when := 'SQLITE_OK' is 19.


-- 
Thierry Andriamirado
http://thierry.andriamirado.free.fr


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Request for PR noise !

2006-05-15 Thread Thierry Andriamirado
Le samedi 13 mai 2006 à 18:55 -0300, Flávio Etrusco a écrit :

 but as somebody already said some days ago in another thread, I think
 mixing religion with anything is a bad idea... I wouldn't mind

I remember, after megido (?), and the beginning of Lazarus, I thought
this name was a bad idea. why not Phenix, Phoenix... ? In fact I don't
really care... few years after, I think that it's more important for the
moment to communicate about what Lazarus can do and where it goes.

If we decide to change the name, it's better to do it for example at the
same time as 1.0, or any other important event.

-- 
Thierry Andriamirado
http://thierry.andriamirado.free.fr


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] why there is no win32 component tab?

2006-05-15 Thread Michael Van Canneyt



On Mon, 15 May 2006, roozbeh gholizadeh wrote:

Well.i just also saw a post on forums,somebody asking why there is no 
richedit components,and answers was it is not availble on other platforms?


I was wondering is it against lazarus policies to have components for 
specefic oses/interfaces?should everything be on whatever interface?
why not having win32 component tab page with special win32 components on 
win32-lazarus?and same for other oses or interfaces?


Or just nobody was working on it?


AFAIK:
Nobody is working on it. But nothing prevents you from creating such a
beast, although I'm not sure it will be easy to do, because it should
respond to all kinds of LCL messages...

I also don't think such components will be included by default, since
Lazarus is meant to be cross-platform.

Michael.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Request for PR noise !

2006-05-15 Thread Marc Santhoff
Am Montag, den 15.05.2006, 10:01 +0200 schrieb Vincent Snijders:
 Michael Van Canneyt schreef:
  
  
  On Mon, 15 May 2006, Marc Santhoff wrote:
  
  
  For most things like shell scripts (don't hit me ;) I use JEdit. What I
  really love is having the Pos1 key jumping to the start of the
  indented text on the first hit. Could lazarus' editor be made that way?
  If so, how can I do?
  
  If I remember correctly, this has been requested once, and the solution
  was: first hit - col 1, second hit: first indented pos ?
  
  And by all means, such things should be configurable. Each coder has his
  own preferences...
 
 Is this Editor Options - General - Jump to nearest start?

It is! Lazarus is too cool for me ... ;)

And another one of my favourites is there, indenting mrked blocks with
TAB. It must be christmas today. :)

Many thanks,
Marc


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Re: Lazarus File bigger then Delphi File?

2006-05-15 Thread roozbeh gholizadeh

On Wed, 10 May 2006 17:33:02 +0330, Jonas A. [EMAIL PROTECTED] wrote:


let me ask you a few questions:
are you still using 1.44 floppies?
are you sending compiled execs 20 times a day via 56k modem connection?
no? then why 1 or 2 mb bigger is so bad for you?


Well apparently this is not a good reason!
In wince my exe files with lazarus is about 14mg and after strip about  
3-4mg,i dont think for a device with 12mg or 16mg memory,and at best 20mg  
storage room a 4-5mg exe is good!
So yes in this case we are using 1.44 floppies and yes we are sending  
compile exes with less than 56kb modem to phone devices

so 1-2mg bigger is not bad,it is worst!



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] [patch] popmenu.align added

2006-05-15 Thread Vincent Snijders

darekM schreef:

Mattias Gaertner napisał(a):


We can add the property as public if you promise to implement it next
week for at least one widgetset.
  
  
How to achieve this, when 3 my patch waiting on mailing list, and 2-5 on 
my computer.



Yes. Sometimes I got the feeling I'm the only one applying patches and my
time is limited. Especially since some of these patches are hard to tell
what they break and what to test before committing. 

  

then You have to change something, its very limit work for Lazarus.



It order to streamline the process of accepting and applying patches, from now on, 
it is recommended to open an issue (or add to an existing issue) in the bugtracker:

http://www.lazarus.freepascal.org/mantis/

I hope it will reduce the chance that patches are forgotten. Furthermore, I will try 
to make sure with other bug tracker moderators, that issues with patches will be 
assigned to developers with svn commit rights, so that it is clear who will review 
the patch and who you can ask more information about the delay.


Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] why there is no win32 component tab?

2006-05-15 Thread Oro06

Michael Van Canneyt wrote:




On Mon, 15 May 2006, roozbeh gholizadeh wrote:

Well.i just also saw a post on forums,somebody asking why there is no 
richedit components,and answers was it is not availble on other 
platforms?


I was wondering is it against lazarus policies to have components for 
specefic oses/interfaces?should everything be on whatever interface?
why not having win32 component tab page with special win32 components 
on win32-lazarus?and same for other oses or interfaces?


Or just nobody was working on it?



AFAIK:
Nobody is working on it. But nothing prevents you from creating such a
beast, although I'm not sure it will be easy to do, because it should
respond to all kinds of LCL messages...

I also don't think such components will be included by default, since
Lazarus is meant to be cross-platform.

Michael.

perhaps some import/export rtf format methods could be added to the 
existing html editor ?

(at least for basic multifonts rtf data)


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives



_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] MacOS X - Lazarus - TDBF

2006-05-15 Thread Panagiotis Sidiropoulos

!
And now what?

I work on a project scheduled to be compatible with Windows, Linux  
and MacOSX. It is based on TDBF regarding database support. I worked  
hard to finish Linux version hoping that porting to MacOSX would be  
very easy because of similar infrastructure. I missed the information  
of TDBF incompatibility. Now It is a nightmare to me.


Is there any other alternative DB I could use with Lazarus on MacOSX?

Panagiotis\


On May 15, 2006, at 9:44 AM, Vincent Snijders wrote:


Panagiotis Sidiropoulos schreef:

Trying to install TDBF package I get error message:
/usr/share/lazarus/components/tdbf/RegisterDBF.pas(25,34) Fatal:  
Can't find unit Dbf
DBF unit is placed in FPC/DB folder but can't be reached. At  
Environment options FPC folder is properly declared. FPC root  
folder specifically. I can't understand why this error. Other  
packages like IPro and DCP installed properly.


TDBF is only available for i386 and x86_64 processors, not for  
powerpc.


Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives



_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] MacOS X - Lazarus - TDBF

2006-05-15 Thread Joost van der Sluis
firebird, sqlite, mysql, oracle?

In that order, I would say.

On Mon, 2006-05-15 at 11:55 +0300, Panagiotis Sidiropoulos wrote:
 !
 And now what?
 
 I work on a project scheduled to be compatible with Windows, Linux  
 and MacOSX. It is based on TDBF regarding database support. I worked  
 hard to finish Linux version hoping that porting to MacOSX would be  
 very easy because of similar infrastructure. I missed the information  
 of TDBF incompatibility. Now It is a nightmare to me.
 
 Is there any other alternative DB I could use with Lazarus on MacOSX?
 
 Panagiotis\
 
 
 On May 15, 2006, at 9:44 AM, Vincent Snijders wrote:
 
  Panagiotis Sidiropoulos schreef:
  Trying to install TDBF package I get error message:
  /usr/share/lazarus/components/tdbf/RegisterDBF.pas(25,34) Fatal:  
  Can't find unit Dbf
  DBF unit is placed in FPC/DB folder but can't be reached. At  
  Environment options FPC folder is properly declared. FPC root  
  folder specifically. I can't understand why this error. Other  
  packages like IPro and DCP installed properly.
 
  TDBF is only available for i386 and x86_64 processors, not for  
  powerpc.
 
  Vincent.
 
  _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
 
 
 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
 
-- 
Met vriendelijke groeten,

  Joost van der Sluis
  CNOC Informatiesystemen en Netwerken
  http://www.cnoc.nl

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] why there is no win32 component tab?

2006-05-15 Thread Felipe Monteiro de Carvalho

On 5/15/06, roozbeh gholizadeh [EMAIL PROTECTED] wrote:

I was wondering is it against lazarus policies to have components for
specefic oses/interfaces?should everything be on whatever interface?
why not having win32 component tab page with special win32 components on
win32-lazarus?and same for other oses or interfaces?


Acctually a win32 tab wouldn´t work for RichEdit, because on Qt
RichEdit is a default control and can be very easely supported. And
since Qt works on Unix, Mac, Win32, the notion RichEdit not being
cross-platform get´s dubious =) The best is to say Gtk doesn´t offer
RichEdit, and Gtk is a main target for us.

I think that the idea is to put new controls into /components/ so
people can install them. After the component was implemented on most
important widgetsets and is stable, then we can think about adding it
as default.

So a RichEdit would probably go to /components/ to start with.

--
Felipe Monteiro de Carvalho

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] MacOS X - Lazarus - TDBF

2006-05-15 Thread Panagiotis Sidiropoulos
I would prefer a database not needed to be install in order to use,  
Just open executable and use it. Is it possible this with any of  
these and which.


Thank you.
Panagiotis


On May 15, 2006, at 2:14 PM, Joost van der Sluis wrote:


firebird, sqlite, mysql, oracle?

In that order, I would say.

On Mon, 2006-05-15 at 11:55 +0300, Panagiotis Sidiropoulos wrote:

!
And now what?

I work on a project scheduled to be compatible with Windows, Linux
and MacOSX. It is based on TDBF regarding database support. I worked
hard to finish Linux version hoping that porting to MacOSX would be
very easy because of similar infrastructure. I missed the information
of TDBF incompatibility. Now It is a nightmare to me.

Is there any other alternative DB I could use with Lazarus on MacOSX?

Panagiotis\


On May 15, 2006, at 9:44 AM, Vincent Snijders wrote:


Panagiotis Sidiropoulos schreef:

Trying to install TDBF package I get error message:
/usr/share/lazarus/components/tdbf/RegisterDBF.pas(25,34) Fatal:
Can't find unit Dbf
DBF unit is placed in FPC/DB folder but can't be reached. At
Environment options FPC folder is properly declared. FPC root
folder specifically. I can't understand why this error. Other
packages like IPro and DCP installed properly.


TDBF is only available for i386 and x86_64 processors, not for
powerpc.

Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives



_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


--
Met vriendelijke groeten,

  Joost van der Sluis
  CNOC Informatiesystemen en Netwerken
  http://www.cnoc.nl

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives



_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] MacOS X - Lazarus - TDBF

2006-05-15 Thread Joost van der Sluis
I meant the embedded versions. So you only have to provide a .dll or .so
library to make it work.

On Mon, 2006-05-15 at 14:41 +0300, Panagiotis Sidiropoulos wrote:
 I would prefer a database not needed to be install in order to use,  
 Just open executable and use it. Is it possible this with any of  
 these and which.
 
 Thank you.
 Panagiotis
 
 
 On May 15, 2006, at 2:14 PM, Joost van der Sluis wrote:
 
  firebird, sqlite, mysql, oracle?
 
  In that order, I would say.
 
  On Mon, 2006-05-15 at 11:55 +0300, Panagiotis Sidiropoulos wrote:
  !
  And now what?
 
  I work on a project scheduled to be compatible with Windows, Linux
  and MacOSX. It is based on TDBF regarding database support. I worked
  hard to finish Linux version hoping that porting to MacOSX would be
  very easy because of similar infrastructure. I missed the information
  of TDBF incompatibility. Now It is a nightmare to me.
 
  Is there any other alternative DB I could use with Lazarus on MacOSX?
 
  Panagiotis\
 
 
  On May 15, 2006, at 9:44 AM, Vincent Snijders wrote:
 
  Panagiotis Sidiropoulos schreef:
  Trying to install TDBF package I get error message:
  /usr/share/lazarus/components/tdbf/RegisterDBF.pas(25,34) Fatal:
  Can't find unit Dbf
  DBF unit is placed in FPC/DB folder but can't be reached. At
  Environment options FPC folder is properly declared. FPC root
  folder specifically. I can't understand why this error. Other
  packages like IPro and DCP installed properly.
 
  TDBF is only available for i386 and x86_64 processors, not for
  powerpc.
 
  Vincent.
 
  _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
 
 
  _
   To unsubscribe: mail [EMAIL PROTECTED] with
  unsubscribe as the Subject
 archives at http://www.lazarus.freepascal.org/mailarchives
 
  -- 
  Met vriendelijke groeten,
 
Joost van der Sluis
CNOC Informatiesystemen en Netwerken
http://www.cnoc.nl
 
  _
   To unsubscribe: mail [EMAIL PROTECTED] with
  unsubscribe as the Subject
 archives at http://www.lazarus.freepascal.org/mailarchives
 
 
 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
 
-- 
Met vriendelijke groeten,

  Joost van der Sluis
  CNOC Informatiesystemen en Netwerken
  http://www.cnoc.nl

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] tdateedit bug

2006-05-15 Thread Vincent Snijders

barko schreef:
Yes, this is ok, but when i use tdateedit on modal form, there is 
problem... date can't be selected with popup form... try test project 
which I send it before to list...


On Sat, 13 May 2006 19:30:31 +0200, Vincent Snijders 
[EMAIL PROTECTED] wrote:



barko wrote:

hi!
 Here is test project. Try click to date button and select with 
doubleclick  any day... it work. Now, click on button1 and try this 
job on modal  form... it not work. I made patch... test it...

 lazarus (latest from svn), linux, fpc 2.0.3 (from svn)


I didn't want to call showmodal, because I want it to close also, when 
you click something outside the popup, for example the editbox of the 
dateeidt or a ok button on the form with the dateedit, just like the 
way a popup of combobox behaves.


Please, create a bug report for it.

Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Who needs Unicode controls.

2006-05-15 Thread lazarus . mramirez

 But I would like to see that implemented via composition rather than
 extension.

I have read the Unicode Standard docs. But What do you mean by
composition rather than extension.

As I remember, each (Unicode) character like Arabic, are stored a as a
sequence of data that a S.O. rendering engine merge into a single visual
glyph.

 Important OOP rule: always compose when you can, only extend when you
 must.

Good O.P.P. principle...

-
Marco Aurelio Ramirez Carrillo
[EMAIL PROTECTED] [.mx]

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Who needs Unicode controls.

2006-05-15 Thread lazarus . mramirez
 The question is: should the LCL use the 'native' string type and let the
 applications write three times the code. Or should the LCL use UTF-8 and
 map internally in the interfaces and let the applications write once and
 compile anywhere.

Maybe BOTH STUFF.

There are some O.S.'es that support some kind of Unicode, others no.

The ideal scenario will be that Unicode was supported by the O.S.
(files, functions A.P.I.) and that programs just use that support.

Maybe we could have 2 sets of libraries, one for native support
and other for non-native support and wrapped them in a library:

-
MyProgram.pas
-
program MyProgram;
uses
  (* System, *)
  Unicode,
  Crt;

{#define NativeUnicode}

var
  F: File of WideString;
  S, D: WideString;

begin
  AssignFile(F, 'MyUnicodeFile.txt');
  Reset(F);

  while (not EoF(F)) do
  begin
ReadLn(F, S);
D := Unicode.Uppercase(S);
WriteLn(Crt, D);
  end;

  Close(F);
end.
-

-
Unicode.pas
-
unit Unicode;

interface

(*
type
  WideString = ...;

  // defined by compiler
*)


implementation
uses
{#ifdef NativeUnicode}
  Native,
{#else}
  NonNative,
{#endif} (*NativeUnicode*)
;

function Uppercase(const Value: widestring);
begin
{#ifdef NativeUnicode}
  Native.ToUpper(pchar(Value), pchar(Result), SizeOf(Value));
{#else}
  Result := NonNative.Uppercase(Value);
{#endif} (*NativeUnicode*)
end;

end.
-

Any toughts.

-
Marco Aurelio Ramirez Carrillo
[EMAIL PROTECTED] [.mx]

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Re: Who needs Unicode controls.

2006-05-15 Thread lazarus . mramirez
 Well the only solution i see is something like tnt componenets.

Maybe, and have an especial property editor for those wide properties,
since the text property cannot be used directly.

 using encoded string you have to decode them and then use those functions!

Some applications on windowze require encoding/deconding functions as well.

You see, some documents are stored in a multibyte Unicode format
(UCS-16, some letters use several bytes others use 1 or 2 bytes), and in
application uses same byte count Unicode format (UTF-16, all letters use
the same numbers of bytes).

Just my 2 cents.

-
Marco Aurelio Ramirez Carrillo
lazarus dot mramirez at star-dev dot com [dot mx]

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Who needs Unicode controls.

2006-05-15 Thread Felipe Monteiro de Carvalho

On 5/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Maybe BOTH STUFF.

There are some O.S.'es that support some kind of Unicode, others no.


The idea is that utf-8 would be converted to whatever format the os
uses. Having to code twice is just like how it currently works today,
and then you don´t need to rewrite lcl to have that.


and in application uses same byte count Unicode format (UTF-16, all letters 
use

the same numbers of bytes).

utf-16 doesn´t have the same number of bytes for all characters. There
are also 32 bit characters on utf-16

--
Felipe Monteiro de Carvalho

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Who needs Unicode controls.

2006-05-15 Thread lazarus . mramirez

 But I would like to see that implemented via composition rather than
 extension.

Composition means something like this ? :

a
href=http://www.unicode.org/reports/tr17/index.html#CharacterEncodingModel;
http://www.unicode.org/reports/tr17/index.html#CharacterEncodingModel/a

-
Marco Aurelio Ramirez Carrillo
lazarus dot mramirez at star-dev dot com [dot mx]

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] why there is no win32 component tab?

2006-05-15 Thread lazarus . mramirez

 richedit components,and answers was it is not availble on other platforms?

RichEdit format is a file format like HTML or PDF, uses tag and its
difficult to implement.

 win32-lazarus?and same for other oses or interfaces?

The is a Lin32 tab I think.

-
Marco Aurelio Ramirez Carrillo
[EMAIL PROTECTED] [.mx]

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Request for PR noise !

2006-05-15 Thread Tony Maro
Michael Van Canneyt wrote:
 On Sun, 14 May 2006, Ido Kanner wrote:

   
 Nicholas Wirth once said that a language requires good name (I don't recall 
 the
 exact quote), without a good name the language will fail.
 

 In that case he did a poor PR job, obviously.
Obviously the name C++ is why it's so commonly used.  Wait, that doesn't
make sense...

What we have in Lazarus is essentially Visual Studio Pascal (not that
I'm suggesting that name because it's mostly taken.)

But, I honestly don't think a name change will affect things much one
way or the other.  Like was already pointed out Delphi had nothing to
do with Pascal - probably because Borland was smart enough to realize
that Pascal was already viewed as an obscure dead language and they
wanted to separate themselves from that.  Nobody in the early days
called themselves Pascal programmers, they were all Delphi programmers.

-Tony

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Commande syntax error (makefile -- can't compile)

2006-05-15 Thread Alexandre Leclerc

When I try to compile either fpc or lazarus from svn, I always get
errors on each line of makefile. I just can't compile. I do not
understand why.

Is it my make version? (MAKE Version 5.2  Copyright (c) 1987, 2000 Borland)

--
Alexandre Leclerc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Commande syntax error (makefile -- can't compile)

2006-05-15 Thread Vincent Snijders

Alexandre Leclerc wrote:

When I try to compile either fpc or lazarus from svn, I always get
errors on each line of makefile. I just can't compile. I do not
understand why.

Is it my make version? (MAKE Version 5.2  Copyright (c) 1987, 2000 Borland)



Yes, you need the gnu make distributed with  fpc.

Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Commande syntax error (makefile -- can't compile)

2006-05-15 Thread Alexandre Leclerc

2006/5/15, Vincent Snijders [EMAIL PROTECTED]:

Alexandre Leclerc wrote:
 When I try to compile either fpc or lazarus from svn, I always get
 errors on each line of makefile. I just can't compile. I do not
 understand why.

 Is it my make version? (MAKE Version 5.2  Copyright (c) 1987, 2000 Borland)


Yes, you need the gnu make distributed with  fpc.


Ahh!!! I have a path to some old borland tools! Here is the problem. Thank you!

--
Alexandre Leclerc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Commande syntax error (makefile -- can't compile)

2006-05-15 Thread L505


 When I try to compile either fpc or lazarus from svn, I always get
 errors on each line of makefile. I just can't compile. I do not
 understand why.

 Is it my make version? (MAKE Version 5.2  Copyright (c) 1987, 2000 Borland)


rename Borland make to something else, gnu make and Borland make have the same 
executable
file name

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Try compiling laz from command line... Fatal: Can't find unit Contnrs

2006-05-15 Thread Alexandre Leclerc

(Under windows)
I have a stable 2.0.2 fpc in /fpc/2.0.2/

I did make all; make install a new fpc from svn and it is installed
in /pp/bin... I copied the missing files from the stable released to
the new version in the /bin folder to get the additionnal gnu tools.

Now if I set my path to the new /pp/bin... directory and c:\lazarus,
there is no way it will compile. I don't know where is the mistake.

makefile:3742: warning: overriding commands for target `examples'
makefile:3704: warning: ignoring old commands for target `examples'
make -C lcl all
make[1]: Entering directory `C:/lazarus/lcl'
C:/pp/bin/i386-win32/rm.exe -f units/i386-win32/alllclunits.ppu
C:/pp/bin/i386-win32/ppc386.exe -gl -Fu. -Fuforms -Fuwidgetset
-Fiinclude -FE. -FUunits/i386-win32 -di386 alllclunits.pp
Free Pascal Compiler version 2.1.1 [2006/05/15] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Win32 for i386
Compiling alllclunits.pp
Compiling FileCtrl.pp
Compiling StdCtrls.pp
Compiling Graphics.pp
Fatal: Can't find unit Contnrs
Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `C:/lazarus/lcl'
make: *** [lcl] Error 2

--
Alexandre Leclerc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Commande syntax error (makefile -- can't compile)

2006-05-15 Thread Alexandre Leclerc

2006/5/15, L505 [EMAIL PROTECTED]:



 When I try to compile either fpc or lazarus from svn, I always get
 errors on each line of makefile. I just can't compile. I do not
 understand why.

 Is it my make version? (MAKE Version 5.2  Copyright (c) 1987, 2000 Borland)


rename Borland make to something else, gnu make and Borland make have the same 
executable
file name


I did remove the borland make from the path.

--
Alexandre Leclerc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] TSQLite3Dataset: SqliteReturnString

2006-05-15 Thread Luiz Americo

Thierry Andriamirado escreveu:

It seems that once SqliteReturnString  SQLITE_OK for a dataset, all
the TSQLite3Datasets in the app loose their synchs with the SQLite3
engine.
  
In case of conflict, for example when editing data in a dbGrid, if an

'unique' constraint causes SqliteReturnString  SQLITE_OK :
  
Editing in the TDbGrid does not call the sqlite database, so 
SqlitereturnString has no meaning.
SqliteReturnString only has a meaning after calling ExecSql, Open, 
CreateTable etc functions.


TSqliteDataset does not handle unique, not null constraints of all 
fields automatically. The programmer must do yourself using OnValidate 
event.

The only exception is AutoInc field which is ensured to be a primary key.

* the DBGrid keep the edited line as if it was ok, and let you continue
adding other data lines
* if you continue working with -another- TSQLite3Dataset and tables
(same database), ApplyUpdates don't work anymore.

The solution I found is to close and re-open the first dataset (the one
which initiated the problem) just after testing SqliteReturnString.

(lazarus 0.9.14-1 and fpc-2.0.2-0)

oh, and SqliteReturnString need to be trimed when tested, his length
when := 'SQLITE_OK' is 19.
  
Try the fpc svn version of sqlite3ds or the one found at 
http://www.geocities.com/camara_luiz/sqlite4fpc/index.html. It has more 
verbose messages among other improvements.


Luiz

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Who needs Unicode controls.

2006-05-15 Thread Al Boldi
[EMAIL PROTECTED] wrote:
  But I would like to see that implemented via composition rather than
  extension.

 I have read the Unicode Standard docs. But What do you mean by
 composition rather than extension.

 As I remember, each (Unicode) character like Arabic, are stored a as a
 sequence of data that a S.O. rendering engine merge into a single visual
 glyph.

Take TEdit for example, which has been extended to contain properties like 
the Font property.

These properties have really nothing to do with TEdit, but are rather 
specific to the rendering engine.  So instead of extending TEdit by adding a 
Font property, it would be better to place them into a new component TRender 
and linking this with TEdit.

The same goes with Bidi, where instead of adding a Bidi property to TEdit it 
would be placed in a new component TRender/TBidi and then linked with TEdit.

This is called composition, which is almost always the preferred method of 
extension in OOP, and is similar in concept to the act of normalization in a 
Relational DB.

Thanks!

--
Al

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Try compiling laz from command line... Fatal: Can't find unit Contnrs

2006-05-15 Thread Daniel Dugan
check fpc.cfgDanielAlexandre Leclerc [EMAIL PROTECTED] wrote:  (Under windows)I have a stable 2.0.2 fpc in /fpc/2.0.2/I did "make all; make install" a new fpc from svn and it is installedin /pp/bin... I copied the missing files from the stable released tothe new version in the /bin folder to get the additionnal gnu tools.Now if I set my path to the new /pp/bin... directory and c:\lazarus,there is no way it will compile. I don't know where is the mistake.makefile:3742: warning: overriding commands for target `examples'makefile:3704: warning: ignoring old commands for target `examples'make -C lcl allmake[1]: Entering directory `C:/lazarus/lcl'C:/pp/bin/i386-win32/rm.exe -f
 units/i386-win32/alllclunits.ppuC:/pp/bin/i386-win32/ppc386.exe -gl -Fu. -Fuforms -Fuwidgetset-Fiinclude -FE. -FUunits/i386-win32 -di386 alllclunits.ppFree Pascal Compiler version 2.1.1 [2006/05/15] for i386Copyright (c) 1993-2006 by Florian KlaempflTarget OS: Win32 for i386Compiling alllclunits.ppCompiling FileCtrl.ppCompiling StdCtrls.ppCompiling Graphics.ppFatal: Can't find unit ContnrsFatal: Compilation abortedmake[1]: *** [alllclunits.ppu] Error 1make[1]: Leaving directory `C:/lazarus/lcl'make: *** [lcl] Error 2-- Alexandre Leclerc_To unsubscribe: mail [EMAIL PROTECTED] with"unsubscribe" as the Subjectarchives at http://www.lazarus.freepascal.org/mailarchives
		Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.

Re: [lazarus] Try compiling laz from command line... Fatal: Can't find unit Contnrs

2006-05-15 Thread Alexandre Leclerc

2006/5/15, Daniel Dugan [EMAIL PROTECTED]:


check fpc.cfg


I see; this is the place. Thank you.

Is there a way to call a program to generate such a file with the good
paths inside? (I try to complete a batch file that can build
fpc/lazarus from svn automatically to get an out of the box internal
distro of lazarus...

The only thing that will be missing are the gnu tools already
compiled, but it is available from a stable fpc binary release.

Regards.

--
Alexandre Leclerc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] How to change separator decimal successfully?

2006-05-15 Thread Cohako Lazarus
How to change separator decimal successfully, using Lazarus Windows version?The my default decimal separator in regional configurations (control panel) is comma and the thousand separator is point. This is way numbers are displyed for my language (Brazil - Portuguese).  The Lazarus unknows. It knows and works only decimal separator equal point, e. g., in English language.In my project, I used:DecimalSeparator := ','; //BrazilportugueselanguageThousandSeparator:= '.'; //BrazilportugueselanguageBut not works! The DBEdit and Edit doesn't shows the decimal separator, only if it will be in English Language configured in control panel of WinXP.So, how to make?  Example, in metric system:  Brazil, the correct is3,1415
 (EUA, the correct is3.1415)Please, help me.__Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ 

Re: [lazarus] Request for PR noise !

2006-05-15 Thread Flávio Etrusco

Enough about naming issues ;-)
And enough about suggesting Lazarus as generic RAD. Why don't use
Eclipse then?
No sir, I pretty much like Pascal syntax, with ':=' for attribution
and no braces blocks ;-)

Back to the original subject, maybe (unfortunately) one can think that
they were not very fond of an FPC article because text-mode tools
isn't a hot topic these days. I don't remember seeing anything on LJ
about GCC or Boost or any low-level library or framework (unless
maybe web-related stuff).
I hope one would be successful if he'd throw Lazarus in the mix...

Cheers,
Flávio

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Compiling laz from svn + statistically linked components

2006-05-15 Thread Alexandre Leclerc

2006/5/13, Mattias Gaertner [EMAIL PROTECTED]:

If you want to use two different lazarus with different setups, then start
the second with

/path/of/the/second/lazarus
--primary-config-path=/home/username/.secondlazarus

This way you can test new packages or new lazarus versions comfortably
without poking in the files, that the IDE can automatically setup for you.


So since, unfortunately, installing a package required to statically
compile it in the current version of lazarus; with this trick I can
kick-start another more recent version of lazarus that does not have
the components yet statically compiled in it? (And it will still work
in the design time tools?)

When I tested that (replacing the exe with another one) this did not
worked quite well...

--
Alexandre Leclerc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] pascalscript-3.0.3.54 not compiling (component)

2006-05-15 Thread Alexandre Leclerc

Well, is there a latest svn version that hes the problem corrected and
that I dont know off? :)

Compiled with latest fpc/laz svn.

C:\lazarus\components\pascalscript\Source\uPSR_forms.pas(214,34)
Error: identifier idents no member HELPCOMMAND
C:\lazarus\components\pascalscript\Source\uPSR_forms.pas(214,21)
Error: Variable identifier expected
C:\lazarus\components\pascalscript\Source\uPSR_forms.pas(216,34)
Error: identifier idents no member HELPJUMP
C:\lazarus\components\pascalscript\Source\uPSR_forms.pas(216,21)
Error: Variable identifier expected
C:\lazarus\components\pascalscript\Source\uPSR_forms.pas(261) Fatal:
There were 4 errors compiling module, stopping

Source code:

   RegisterMethod(@TAPPLICATION.HELPCOMMAND, 'HELPCOMMAND');
   RegisterMethod(@TAPPLICATION.HELPCONTEXT, 'HELPCONTEXT');
   RegisterMethod(@TAPPLICATION.HELPJUMP, 'HELPJUMP');

Meanwhile, I'll comment out the lines.

--
Alexandre Leclerc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] TStringGrid, ComboBox, Win32

2006-05-15 Thread Thierry Andriamirado
It seems like the problem bellow remains in the current svn versions:

The edit field is not hidden anymore when clicking on the down arrow, an
item can be choosen from the picklist, but the old value allways
replaces it when I leave the field. This problem occurs only on win32
(under wine), not Linux/gtk. Using the today's svn snapshot.




Le vendredi 14 avril 2006 à 11:41 +0200, Armin Diehl a écrit :
 i have a small problem under win32 using a string grid with edit 
 allowed. Created a new project, added a string grid, allowed editing and 
 added a column with some strings in PickList.
 Running the app and clicking the down arrow to select from the PickList 
 will hide the edit field and the selection will not be copied to the 
 stringlist. This only happens under win32 (with 0.9.15 and todays 
 snapshot). I dont have any clue how to fix that, any help would be 
 apreciated.
 
 Btw, Hotkeys for the main menu (like ALT-F) are no longer working in the 
 current snapshot (win32  gtk1)
 
 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
 
-- 
Thierry Andriamirado
Site web: http://thierry.andriamirado.free.fr


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Request for PR noise !

2006-05-15 Thread Rob
If you want to gain users and/or developers, the application name needs to be 
known around the world. For this reason the name is very important and to my 
own experience Lazarus is not a good name.

Allthough I am only an amateur programmer (used to program with VBA, VB within 
Access mostly) I am trying to find my way out with Lazarus. When I told my 
colleagues (I am the one eyed among the blinds) that I was looking into 
Lazarus, I got reactions like that does not sound well. When I spoke with 
some Delphi programmers and told them that I was looking into Lazarus, they 
all thought that I was kidding and could not imagine that it would be 
something as a serious RAD tool, they never heart of Lazarus before.

I think that changing the name into something that puts the application on 
the Map will help the application/project a lot. I think a good name that 
will bring the application into the picture might be e.g. Develope. 

Develope is not far from Dephi sound but different enough to distincwish 
from Delphi. I googled around a little and did not find any other project 
called Develope.  When checking some urls on develope: 
- www.develope.com is owned by www.cypack.com, looks like a Korean hosting 
company (www.develope.com might be for sale). 
- www.develope.net is for sale at www.UrlCollection.com. 
- www.develope.org is owned by www.haering.ws a German design company?
- www.develope.eu is still free.

Note, when looking for Develop you will find more, e.g. a Printer and Copier 
brand name but did not find an other project with this name.

Rob.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] TSQLite3Dataset: SqliteReturnString

2006-05-15 Thread Thierry Andriamirado
Le lundi 15 mai 2006 à 14:21 -0300, Luiz Americo a écrit :

 Editing in the TDbGrid does not call the sqlite database, so 
 SqlitereturnString has no meaning.
 SqliteReturnString only has a meaning after calling ExecSql, Open, 
 CreateTable etc functions.
 
 TSqliteDataset does not handle unique, not null constraints of all 
 fields automatically. The programmer must do yourself using OnValidate 
 event.

ah... it seemed to me that SqliteReturnString allways return the good
value, i.e 'SQLITE_CONSTRAINTS' when there's constraints problems,
SQLITE_OK when all right and so on... I understood it as if
TSqliteDataset only received the error message from the sqlite3 engine,
because the database file contains indices with unique constraints. So
your advice is NOT to check SqliteReturnString when editing in the
dbgrid, because it can return a wrong value?

 Try the fpc svn version of sqlite3ds or the one found at 
 http://www.geocities.com/camara_luiz/sqlite4fpc/index.html. It has more 
 verbose messages among other improvements.

I just updated both fpc svn and lazarus svn but I can't make them work
together. I can compile lazarus, but impossible to install components
because of units not found. Don't have time to fix it for the moment so
I'll try to compile only the last sqlite3ds with fpc-2.0.2-0 and today's
lazarus svn. should work.

Thanks for your time,

-- 
Thierry Andriamirado
Site web: http://thierry.andriamirado.free.fr


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New Install on GNU/Linux

2006-05-15 Thread Gustavo Enrique Jimenez

Hi all

I can't install lazarus 0.9.14. I have a debian box. I've downloaded
rpm packages, changed it with alien to deb packages, and I did a dpkg
-i lazarus .
The ide compiles ok, run, and open my projects.
But, when I press ctrl+F9 to build the project, lazarus seems to link
against gkt2. I don't have the error messages, but is something
related to gtkproc.inc . The line higlighted belongs to a $ifndef gtk1
(or so, I don't remember, but the compiler tries to compile the line
for gtk2, not gtk1, even though my fpc.conf points to the gtk1
interface).

Surely, I am doing something wrong, because lazarus 0.9.8 works fine
in the same linux box (for lazarus 0.9.14 I did install fpc 2.0.2, of
course).

The problem, to my poor understand, have to do with the deb package.
When I do dpkg -i lazarus-0.9.14-2_i386.deb (created with alien from
rpm), dpkg creates the file /lazarus-0.9.14-1.tar.gz in / (root) . I
do make clean all from the untared tar.gz .

Is this ok, or my deb package is corrupt ?

is there another not-rmp source for the lazarus-0.9.14 ?

thanks !

pd: lazarus 0.9.14 for windows works ok, but I want to develop in linux.
Lazarus is GREAT !!

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New Install on GNU/Linux

2006-05-15 Thread Gustavo Enrique Jimenez

On 5/15/06, Gustavo Enrique Jimenez [EMAIL PROTECTED] wrote:
 The ide compiles ok, run, and open my projects.
 But, when I press ctrl+F9 to build the project, lazarus seems to link
 against gkt2. I don't have the error messages, but is something
 related to gtkproc.inc

Did you check the menu Project -- Compiler Options ?

It you should check that your project is to be built against gtk1

Usually you shouldn´t have to worry about gtkproc or config files.
Changing them can in fact lead to trouble.



yes, I do. I tried default (gtk1) and gtk1...

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New Install on GNU/Linux

2006-05-15 Thread Gustavo Enrique Jimenez


 Usually you shouldn´t have to worry about gtkproc or config files.
 Changing them can in fact lead to trouble.



It seems that the problem is not a source code problem.
I thnik it is a installation problem: as I said, I get the code from
deb package, wich I have converted from rpm package with alien. Here
is the problem...

Do you have a clean and working lazarus0.9.14 source code to send me ?

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] CheckBox inside StringGrid? How?

2006-05-15 Thread Jesús Reyes A.


- Original Message - 
From: bobby [EMAIL PROTECTED]

To: lazarus@miraclec.com
Sent: Saturday, May 13, 2006 8:13 AM
Subject: [lazarus] CheckBox inside StringGrid? How?



How to make a StringGrid that will have checkboxes in first column?
Is it possible?

regards
Boban Spasic



Take a look at this article: 
http://www.lazarus.freepascal.org/index.php?name=PNphpBB2file=viewtopict=509highlight=stringgrid+checkbox


Jesus Reyes A. 


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New Install on GNU/Linux

2006-05-15 Thread Gustavo Enrique Jimenez


I advise you to try the subversion install. It´s very easy, and never
gives me trouble. Try to keep free pascal installed the way it is
currently and install lazarus from subversion.

Lazarus subversion version is very stable on linux. There are
instructions on the wiki.



I will try. But I do multiplatform applications :), and I need the
same stable version in linux as in windows.

If I use different versions of Lazarus, my projects does not compile :
diferent version of lazarus have a diferent tree of method and
properties in components, so in version 0.9.xx I don't have OnClick
event, but in lazarus0.9.yy I do have this event. If I save a project
with 0.9.yy, and then open it with 0.9.xx, I will get an error,
because 0.9.xx lacks that event (or property, or method,etc ).
This happened to me with version 0.9.8-linux and 0.9.10-windows (or
.12, don't remember). My project get corrupted to lazarus 0.9.8, and
I have to revert all changes added with 0.9.10

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New Install on GNU/Linux

2006-05-15 Thread Felipe Monteiro de Carvalho

On 5/15/06, Gustavo Enrique Jimenez [EMAIL PROTECTED] wrote:

I will try. But I do multiplatform applications :), and I need the
same stable version in linux as in windows.


My experience so far was that if I use the latest stable on one OS,
and the subsequent subversion on another I don´t have problems.

I think lazarus is more stable now, also releases are quicker, so
there are less incompatible changes.

And of course, you don´t have to update you subversion version. If one
version is compatible with you windows stable lazarus then you can
just keep it.

--
Felipe Monteiro de Carvalho

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New Install on GNU/Linux

2006-05-15 Thread Marc Santhoff
Am Montag, den 15.05.2006, 23:25 -0300 schrieb Gustavo Enrique Jimenez:
 
  I advise you to try the subversion install. It´s very easy, and never
  gives me trouble. Try to keep free pascal installed the way it is
  currently and install lazarus from subversion.
 
  Lazarus subversion version is very stable on linux. There are
  instructions on the wiki.
 
 
 I will try. But I do multiplatform applications :), and I need the
 same stable version in linux as in windows.

That's no problem, checkout and update one directory tree from svn and
copy it over to the other os. That's how I do it without problems.

HTH,
Marc

P.S.: Is it possible to mirror the SVN tree locally for checking out
from the LAN?


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New Install on GNU/Linux

2006-05-15 Thread Vincent Snijders

Gustavo Enrique Jimenez wrote:


 Usually you shouldn´t have to worry about gtkproc or config files.
 Changing them can in fact lead to trouble.




It seems that the problem is not a source code problem.
I thnik it is a installation problem: as I said, I get the code from
deb package, wich I have converted from rpm package with alien. Here
is the problem...


The converted deb packages somehow forget to run the script that create 
/etc/fpc.cfg. Use the samplecfg script to create it.


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives