[lazarus] Win32 - Unable to set Visible = False for TToolButton

2007-04-05 Thread Graeme Geldenhuys
Hi, I tried the Editor Toolbar package under Win2000 with latest Lazarus (svn). I noticed that under Windows I can't hide existing toolbar buttons. The code below works fine under Linux, but not under Win32. I created a small test app and added two buttons. Tried to hide them at runtime and the

RE: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Hess, Philip J
TRichEdit has/had 3 basic problems: (1) Borland never supported Rich Edit 2 (RICHED20.DLL), only the original Rich Edit 1 (RICHED32.DLL). Rich Edit 2 has been part of Windows since the late 90's but Borland never supported it, not even in Delphi 2006. (2) Microsoft never fixed the bugs in RICHE

RE: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Hess, Philip J
If you substitute Qt for wxWidgets you have the layers of the Qt widgetset, which seems pretty fast. Certainly a lot faster than, say, the GTK2 widgetset, which only has 3 layers. I'm not sure that the number of layers affects performance that much in this case. There's probably something else g

Re: [lazarus] Gnome widgetset interface removed

2007-04-05 Thread Graeme Geldenhuys
On 4/5/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: without anybody noticing. I think it is safe to assume that gnome was not often chosen as a LCL platform. Argh. Just got a update and that broke my project that required the Gnome interface! Just kidding... :-) -- Graeme Geldenhuys The

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Graeme Geldenhuys
On 4/5/07, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: On 4/5/07, Carlos German Tejero <[EMAIL PROTECTED]> wrote: > wxWidgets, it's a good widgetset for Lazarus, Not really. There are no pascal bindings yet. The other problem being that it would be something like four layers of fra

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Graeme Geldenhuys
On 4/5/07, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: It´s not at all impossible. It just happens that so far noone was interrested enougth on this to actually implement it, or pay someone else to do it. I didn't really think it being impossible, but like you say. Most probably ev

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Felipe Monteiro de Carvalho
On 4/5/07, Carlos German Tejero <[EMAIL PROTECTED]> wrote: wxWidgets, it's a good widgetset for Lazarus, Not really. There are no pascal bindings yet. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] wi

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Graeme Geldenhuys
On 4/5/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: Do you want to (a) create RTF files programmatically and/or display RTF files from your program or do you want to (b) allow your users to have a simple rich-text editor in your program. You can do (a) now in a cross-platform way with the FPC

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Carlos German Tejero
wxWidgets have a RichText control ( http://www.wxwidgets.org/manuals/stable/wx_wxrichtextctrl.html#wxrichtextctrl) and in linux it's implemented over GTK. wxWidgets, it's a good widgetset for Lazarus, i think (support Win32, Mac OS X, GTK+, X11, Motif and WinCE). 2007/4/5, Graeme Geldenhuys <[E

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Felipe Monteiro de Carvalho
On 4/5/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: That's why I'm asking if it's such an impossible thing that nobody can do, except the hordes of Microsoft employees. It´s not at all impossible. It just happens that so far noone was interrested enougth on this to actually implement it, or

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

[lazarus] Gnome widgetset interface removed

2007-04-05 Thread Vincent Snijders
Hi, I just removed the gnome widget set interface from svn. So now you cannot choose 'gnome' as possible LCL widget in the compiler options anymore. The gnome interface was an extention to gtk1 with own dialogs etc. It was put in there as a concept of inheriting interfaces. For gtk2, there

RE: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Hess, Philip J
Do you want to (a) create RTF files programmatically and/or display RTF files from your program or do you want to (b) allow your users to have a simple rich-text editor in your program. You can do (a) now in a cross-platform way with the FPC rtfpars unit and an external word processor. -Or

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

2007-04-05 Thread Vincent Snijders
Graeme Geldenhuys schreef: 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 take it that TImageList change is a very

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Graeme Geldenhuys
On 4/5/07, Gus Wirth <[EMAIL PROTECTED]> wrote: The TRichEdit component is a simple wrapper around a standard Windows widget, implemented in the riched32.dll. It doesn't show up in Kylix because there is no equivalent in the QT widget set. The WINE guys I know under Delphi it's a wrapper for t

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

2007-04-05 Thread Graeme Geldenhuys
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 take it that TImageList change is a very recent one? I'll get a upda

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

2007-04-05 Thread Vincent Snijders
Graeme Geldenhuys schreef: 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 email for screenshot. Vincent men

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Gus Wirth
Graeme Geldenhuys wrote: On 4/4/07, Tom Verhoeff <[EMAIL PROTECTED]> wrote: They run into some problems. E.g. Lazarus apparently does not (yet) have ActionManagers. Hence, also the configuration of standard actions like Cut/Copy/Paste is not a matter of a few clicks. I don't really know wha

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

[lazarus] patch for TGtkWidgetSet.DrawText

2007-04-05 Thread darekm
Hi Attached patch repair TGtkWidgetSet.DrawText under GTK2 (I receive crush). Problem was connected with WordWrap. Darek Index: interfaces/gtk/gtkobject.inc === --- interfaces/gtk/gtkobject.inc(wersja 10881) +++ interface

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

2007-04-05 Thread Guadagnini David
Very good! begin:vcard fn:David Guadagnini n:Guadagnini;David org:Biotecnica Instruments S.p.A.;R&D adr:;;Via Licenza 18;Roma;RM;00133;Italy email;internet:[EMAIL PROTECTED] title:Software architet tel;work:+39064112616 x-mozilla-html:FALSE version:2.1 end:vcard

[lazarus] Editor Toolbar (lazarus add-on) [part 2]

2007-04-05 Thread Graeme Geldenhuys
Here is the screenshot. -- Graeme Geldenhuys There's no place like S34° 03.168' E018° 49.342' editortoolbar.png Description: PNG image

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

2007-04-05 Thread Graeme Geldenhuys
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 email for screenshot. Vincent mentioned that we should add it

[lazarus] How to clear a Toolbar at runtime

2007-04-05 Thread Graeme Geldenhuys
Anybody know how I can clear a TToolBar at runtime. I want to remove all Controls and ToolButtons. The application is a IDE addon package that creates a toolbar above the Editor Window. You can configure what button must appear. Obviously the user must be able to remove buttons as well. I've tri

[lazarus] Locate in TSdfDataSet

2007-04-05 Thread Liyuan Garcia Caballero
Hi people, i need working with sdf file but, can't find one solution with TSdfDataSet component because this not implement the locate method. Other solutions? thank's and sorry me English -- *Liyuán García Caballero* Especialista B en Ciencias Informáticas *Excelencia en Software* Desoft

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Sergei Gorelkin
Thursday, April 05, 2007, 1:55:29 PM, Marc wrote: MW> Tom Verhoeff wrote: >> I have some students who are trying to complete the Delphi 6 >> Text Editor tutorial using Lazarus. See e.g. Chapter 4 of >> >> >> >> They run into some problems.

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Marc Weustink
Tom Verhoeff wrote: I have some students who are trying to complete the Delphi 6 Text Editor tutorial using Lazarus. See e.g. Chapter 4 of They run into some problems. E.g. Lazarus apparently does not (yet) have ActionManagers. Hence,

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 to try and us it in the > > > fpGUI project.

Re: [lazarus] replacement for Makefile's

2007-04-05 Thread Graeme Geldenhuys
On 4/5/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: It's called fpmake/fppkg. The fpmake part works. See the various fpmake.pp and fpmake.inc files all over the FPC sources. the fpmake and fppkg sources are in utils/fppkg. Michael. Thanks Michael, I'll take a look. -- Graeme Geldenh

Re: [lazarus] replacement for Makefile's

2007-04-05 Thread Tiziano_mk
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 to try and us it in the fpGUI project. It's called fpmake/fppkg. The fpmake part works. See the various fpm

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Graeme Geldenhuys
On 4/4/07, Tom Verhoeff <[EMAIL PROTECTED]> wrote: They run into some problems. E.g. Lazarus apparently does not (yet) have ActionManagers. Hence, also the configuration of standard actions like Cut/Copy/Paste is not a matter of a few clicks. I don't really know what a ActionManager is suppo

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

2007-04-05 Thread Graeme Geldenhuys
On 4/4/07, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: On 4/4/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > I'll keep plugging away at fpGUI and end this thread here. Thanks to > all that joined in, it was fun. Sorry for my poor english, but "plugging away at" means that you wil

[lazarus] replacement for Makefile's

2007-04-05 Thread Graeme Geldenhuys
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 know anything about this and maybe the status of the project?