Re: [lazarus] Future Directions for Lazarus/FPC ? pythonise... !

2007-07-31 Thread Charl van Jaarsveldt
Hi, Python has great support for arrays and dictionaries as part of the language. To me that is a great feature. I agree that the rest of it is just libraries that can just be included in your application. As I read the first email, I thought of Jython: a python interpretor written in Java. The

Re: [lazarus] The Gtk2 IDE and the november bounty

2007-07-20 Thread Charl van Jaarsveldt
Hi 4. It's dog slow. Simply moving around a button in form designer with the mouse is almost impossible. If you stop moving the mouse, it takes up to several seconds, before the button is drawn at the new position. The top/left property (OI) of the button change immediately while moveing. When

Re: [lazarus] The Gtk2 IDE and the november bounty

2007-07-19 Thread Charl van Jaarsveldt
Hi, Yes, the IDE has MUCH improved over the last few months for Gtk2 - I almost exclusively use gtk2 now. Thanks to all! More minor problems I can think of: * The TSpinEdit still has a very annoying problem preventing it from being resized in the designer - whenever you resize, it gets smaller,

[lazarus] TListView Sorting

2007-07-17 Thread Charl van Jaarsveldt
Hi, I have a TListView in Report style. I would like to have the user click on the column to sort by that column. I set the TListView.SortType property to no avail. How do I enable sorting? Thanks Charl -- I love deadlines. I especially love the whooshing sound they make as they fly by. -

Re: timing how long a user is idle

2007-07-14 Thread Charl van Jaarsveldt
Does no-one have an idea? BTW, I notice my emails to lazarus mailing list does not have [lazarus] in the subject. Am I supposed to put that in myself? Thanks Charl On 7/12/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hi, I would like to have a procedure run after, say, 15 minutes

[lazarus] sqldb problem

2007-07-14 Thread Charl van Jaarsveldt
Hi, I was trying to compile the DataDesktop, and had to install the sqldb package to do so. Unfortunately the sqldb package doesn't want to compile. It fails to find TSQLScript and TSQLConnector. Does sqldb have some other dependency? Charl -- I love deadlines. I especially love the whooshing

Re: [lazarus] sqldb problem

2007-07-14 Thread Charl van Jaarsveldt
Ah, so these are part of freepascal? I just noticed I am still using 2.0.4 - the one that's in the ubuntu repositories. Thanks :-) Charl On 7/14/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 14 Jul 2007, Charl van Jaarsveldt wrote: Hi, I was trying to compile the DataDesktop

Re: [lazarus] Call a form from another form

2007-07-14 Thread Charl van Jaarsveldt
Hello, When you say it doesn't work, what do you mean? It does not compile, or it does not work the way you expected? If compiling is a problem, it could be that you forgot to add the unit of form2 in the uses clause for the unit of form1. Charl On 7/14/07, German C. Basisty [EMAIL PROTECTED]

Re: [lazarus] Call a form from another form

2007-07-14 Thread Charl van Jaarsveldt
that, may you please send me an example? J Regards *De:* Charl van Jaarsveldt [mailto:[EMAIL PROTECTED] *Enviado el:* sábado, 14 de julio de 2007 03:59 p.m. *Para:* lazarus@miraclec.com *Asunto:* Re: [lazarus] Call a form from another form Hello, When you say it doesn't work, what do you mean

[lazarus] timing how long a user is idle

2007-07-12 Thread Charl van Jaarsveldt
Hi, I would like to have a procedure run after, say, 15 minutes of idle on the computer. How do I do this? Is there a platform independent way? Thanks Charl -- I love deadlines. I especially love the whooshing sound they make as they fly by. - Douglas Adams

Re: [lazarus] Message box highlight colours

2007-07-02 Thread Charl van Jaarsveldt
The only time I experienced a similar problem was when I gave kubuntu a try. Suddenly Lazarus (in gtk2) and all my programs created by lazarus (with gtk2) had this exact problem. Very annoying. Just using plain ubuntu with standard themes I haven't had the problem though. Charl On 7/1/07,

Re: [lazarus] Patch for Icon Editor Langauge End

2007-07-02 Thread Charl van Jaarsveldt
Hi, Excuse my complete ignorance... What Icon Editor is this for? Thanks, Charl On 6/28/07, wile64 [EMAIL PROTECTED] wrote: The End for RessourceStrings support. Regard, -- Laurent. My Web :

Re: [lazarus] TNoteBook vs TPageControl

2007-06-18 Thread Charl van Jaarsveldt
Also, in both, if you are designing a tab, then flip over to another tab, any new components dropped onto the tab you are now on will not be displayed at design time, only the resize blocks will be there to tell you where it is. This happens in Gtk2, not sure about Gtk1. Workaround is to save the

Re: [lazarus] TNoteBook vs TPageControl

2007-06-18 Thread Charl van Jaarsveldt
here is one: http://www.freepascal.org/mantis/view.php?id=8346 On 6/18/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 18/06/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Also, in both, if you are designing a tab, then flip over to another tab, any new components dropped onto the tab

Re: [lazarus] Resizing an image

2007-06-01 Thread Charl van Jaarsveldt
:= Round(P1.Height * Factor); P2.Clear; P2.BitMap.Width := X; P2.BitMap.Height := Y; Arect := Rect(0,0,X,Y); P2.BitMap.Canvas.StretchDraw(ARect,P1.BitMap); end; On 6/1/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hi Michael, I am still confused. :-( I cannot figure out how to get the FPImage

[lazarus] Resizing an image

2007-05-31 Thread Charl van Jaarsveldt
Hi, What is the best way to resize an image? I am thinking of something Java's Image class has that will return a scaled image, and you can decide whether it should be a good quality or a fast one. I don't necessarily want to write it to a file, just in memory. (I want to cache images in the

Re: [lazarus] Resizing an image

2007-05-31 Thread Charl van Jaarsveldt
this. The disadvantage is that you can't save the resized image, as far as I know. Michael. Thanks Charl PS Please excuse my ignorance, this is the first time I am working with images! On 5/31/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: On Thu, 31 May 2007, Charl van Jaarsveldt wrote: Hi

Re: [lazarus] Resizing an image

2007-05-31 Thread Charl van Jaarsveldt
/31/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Ah, that would probably explain why I can't find it. :-) Yeah, I want to keep a cache of images in memory while keeping open the possibility of actually saving the cache. Thanks for the help! Charl On 5/31/07, Michael Van Canneyt [EMAIL

Re: [lazarus] Zeos Lib Question

2007-05-30 Thread Charl van Jaarsveldt
or sqlite3.dll. This is the only thing I can think of. Charl On 5/24/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hi, I just tried it two days ago and had the same problem, though I am on linux. The sqliteDataSet that comes with lazarus works fine, so I'd say the library is installed correctly

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Charl van Jaarsveldt
Hi, I am just making a wild guess, so if it sounds absurd, please ignore. :-) How about creating a dummy invisible button, and use that one as a buffer for all the other buttons. So, everytime you need to update a button, rather make the dummy what you want, then somehow copy the canvas of the

Re: [lazarus] Zeos Lib Question

2007-05-24 Thread Charl van Jaarsveldt
Hi, I just tried it two days ago and had the same problem, though I am on linux. The sqliteDataSet that comes with lazarus works fine, so I'd say the library is installed correctly. Charl On 5/23/07, Lee Jenkins [EMAIL PROTECTED] wrote: dayat wrote: may be you can put the sqlite3.dll into

Re: Object Inspector crash, and other interesting stuff

2007-05-11 Thread Charl van Jaarsveldt
Hi Matias, Yes, it is fixed now, thanks. :-) Charl On 5/11/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Thu, 10 May 2007 18:37:50 +0100 pineal [EMAIL PROTECTED] wrote: On Thursday 10 May 2007 17:45, Charl van Jaarsveldt wrote: I forgot to mention that I have svn r11124 and lazarus

Re: Object Inspector crash, and other interesting stuff

2007-05-11 Thread Charl van Jaarsveldt
Gaertner wrote: On Thu, 10 May 2007 18:37:50 +0100 pineal [EMAIL PROTECTED] wrote: On Thursday 10 May 2007 17:45, Charl van Jaarsveldt wrote: I forgot to mention that I have svn r11124 and lazarus is compiled for gtk1, using Ubuntu Feisty. On 5/10/07, Charl van Jaarsveldt [EMAIL PROTECTED

[lazarus] Object Inspector crash, and other interesting stuff

2007-05-10 Thread Charl van Jaarsveldt
Hi, I just did an update, haven't been using lazarus for a while so I don't know if it was broken before or not... I start Lazarus, and the OI/PL window has a cool transparent air to it. Looks like the background is draw but the fonts from the window behind it is still shining through. Then

Re: Object Inspector crash, and other interesting stuff

2007-05-10 Thread Charl van Jaarsveldt
I forgot to mention that I have svn r11124 and lazarus is compiled for gtk1, using Ubuntu Feisty. On 5/10/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hi, I just did an update, haven't been using lazarus for a while so I don't know if it was broken before or not... I start Lazarus

Re: DB Image List and thumbnails

2007-04-08 Thread Charl van Jaarsveldt
mentioned in my other post. Regards, Charl On 3/30/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hello, I am storing filenames of pictures in a database and would like to have a TListView type control that can show it as icons or in report mode. (I guess I can use a DBGrid for the report

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

2007-04-03 Thread Charl van Jaarsveldt
On 4/2/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 4/2/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Yes, but I think that if the application is used only in enterprises and such, the users probably won´t care. And then the enterprise will be more interrested in

[lazarus] DB Image List and thumbnails

2007-03-30 Thread Charl van Jaarsveldt
Hello, I am storing filenames of pictures in a database and would like to have a TListView type control that can show it as icons or in report mode. (I guess I can use a DBGrid for the report view). I can't find any DB-aware component to show a list of images from a database, so I thought I

[lazarus] Custom components Mouse events

2007-03-14 Thread Charl van Jaarsveldt
Hello, I am trying to make a wizard component and I am using the TButtonPanel as my example. So, I have the main component that inherits from TCustomPanel and then all the sub controls in there - buttons, caption label and a TNotebook for the main control to handle the wizard pages. Now while

Re: [lazarus] OT: Döner was Re: Ideas to implement AllocateHwnd

2007-02-26 Thread Charl van Jaarsveldt
It is interesting to see how many South Africans (or ex-South Africans) are here, especially from Natal! (adding me to the list... :-) ) On 2/26/07, Dave Coventry [EMAIL PROTECTED] wrote: Henry Vermaak wrote: ah, caldo de cana. we used to pick the canes from farms in natal (south africa)

Re: [lazarus] TLabel/TStaticText font changes.

2007-02-20 Thread Charl van Jaarsveldt
: I use Gtk1 and can't get Bold to work on any TLabel either. I'm using the latest Lazarus (svn) and FPC 2.1.1 (svn). The 'default' font does not support size and style yet. Mattias Graeme. On 2/15/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hi, I am trying to get either TLabel

[lazarus] Just a note of thanks

2007-02-20 Thread Charl van Jaarsveldt
To all the developers... Today while I was working with Lazarus I just realised again what a great piece of software it is. So, even though most of the 'feedback' you get are probably people having problems (like me), I just want to say a big Thank You and Well Done to you all. :-) Charl -- I

Re: [lazarus] WikiHelp

2007-02-20 Thread Charl van Jaarsveldt
I agree. I tried to get my dad to install Lazarus and start to use it (he is a computer science teacher, so I was hoping to get it to the students as well), but the main problem was that there was not a good help system. I do think that the wiki will have to be gone through to make sure

[lazarus] TObjectList - Pascal question

2007-02-16 Thread Charl van Jaarsveldt
Hi all, This is more a freepascal question, so sorry I ask here. When you call TObjectList.remove(TObject), is it supposed to free the object? Example code follows. TObjectList inherits from TList. TObjectList.Remove calls TList.Remove. Nowhere do I see it freeing the object, but still there

[lazarus] TLabel/TStaticText font changes.

2007-02-15 Thread Charl van Jaarsveldt
Hi, I am trying to get either TLabel or TStaticText to be bold, or just bigger (either or both). I tried setting the Font - Style property in the Object Inspector to get it bold, but it doesn't work. To get it bigger I tried changing the size and height properties for the font, but it does not