Re: TTabControl and OnChange event

2006-12-07 Thread Bogusław Brandys
Graeme Geldenhuys wrote: Ok, I found a work-around for now - though not ideal! I have to get the ComponentState as the first thing, so that when I destroy the form, the 'other stuff' doesn't get executed. procedure TLearnerListForm.IndexTabControlChange(Sender: TObject); begin if

Re: TTabControl and OnChange event

2006-12-07 Thread Graeme Geldenhuys
On 12/7/06, Bogusław Brandys [EMAIL PROTECTED] wrote: Did you fill bugreport for this ? I did now! :-) Thanks for reminding me. http://www.freepascal.org/mantis/view.php?id=7930 PS: Has those other patches of yours been applied yet? The ones you mentioned, that needs to be done, before I

Re: TTabControl and OnChange event

2006-12-07 Thread Bogusław Brandys
Graeme Geldenhuys wrote: On 12/7/06, Bogusław Brandys [EMAIL PROTECTED] wrote: Did you fill bugreport for this ? I did now! :-) Thanks for reminding me. http://www.freepascal.org/mantis/view.php?id=7930 PS: Has those other patches of yours been applied yet? The ones you mentioned, that

[lazarus] Bug in Entry control in GTK2?

2006-12-07 Thread Eduardo Lopez
I've noticed that an application compiled with GTK2 have a problem with Entry Widgets and buttons with keys accelerators. In the attached example you could see that the Button 2 has the accelerator (alt + t), and the Ignore button has the (alt + i) (by default). In the running program if you

[lazarus] Perplexing TBitmap behavior.

2006-12-07 Thread Dave Coventry
Hi, I have code as follows: // snip === procedure TForm1.FormShow(Sender: TObject); var BufferMap: TBitmap; begin BufferMap:=TBitMap.Create; end; // snip === This should work (indeed it works in another project).

Re: [lazarus] Perplexing TBitmap behavior.

2006-12-07 Thread Tom Gregorovic
Dave Coventry napsal(a): Hi, I have code as follows: // snip === procedure TForm1.FormShow(Sender: TObject); var BufferMap: TBitmap; begin BufferMap:=TBitMap.Create; end; // snip === This should work (indeed it works

[lazarus] Intallation path with space in it

2006-12-07 Thread George Birbilis
Why doesn't laz installer allow space in the path? Is it FreePascal limitation or Laz one? Don't see why it should require that - even if it's totally necessery it could ask windows for the short filename and use that internally _ avast! Antivirus http://www.avast.com : Outbound

Re: [lazarus] Intallation path with space in it

2006-12-07 Thread Vincent Snijders
George Birbilis schreef: Why doesn't laz installer allow space in the path? Is it FreePascal limitation or Laz one? Don't see why it should require that - even if it's totally necessery it could ask windows for the short filename and use that internally I would say: try and see where it

RE: Add Recent tab apart from Favorites to Object Inspector

2006-12-07 Thread George Birbilis
When I say recent, I mean recently edited where edited means value changed (not just clicked in, then clicked out). If the IDE can distinguish between ENTER and Focus lost when the value didn't change (e.g. say if it calls property handlers again when ENTER is pressed but doesn't when Focus is

[lazarus] Font names shown in the respective font

2006-12-07 Thread George Birbilis
It would be nice if the font/name property editor (dropdown list) would show the font names written in the respective font. That could be an optional IDE setting (probably disabled or enabled by default depending on how heavy or light it would be in resources at runtime). Same could be done at

RE: [lazarus] Gambas

2006-12-07 Thread George Birbilis
I mean do I have a market for an accounting package. Accounting is a very cutthroat market. You could have for a certain country if you specialize or make your s/w very adaptable so that you can provide various versions for the different logistics standards / laws out there (for example MS is

Re: [lazarus] Gambas

2006-12-07 Thread Micha Nelissen
George Birbilis wrote: btw: remove you're 'reply to', please. else the consequence will be that I won't answer your mails anymore. I'm afraid I can't do it. I send e-mails from another server and want to receive them from another one (it's an issue with my connection) Well, your reply-to

RE: [lazarus] Gambas

2006-12-07 Thread George Birbilis
This is where a good dose of design patterns come into play. I better dust of my Gang-of-Four book. Oh and for those interested, try the Head First Design Patterns book. Very different style, but excellent. See the table at the bottom of the page:

Re: [lazarus] Intallation path with space in it

2006-12-07 Thread Felipe Monteiro de Carvalho
On 12/7/06, George Birbilis [EMAIL PROTECTED] wrote: Is it FreePascal limitation or Laz one? Neither. I would say it´s a GNU tools limitation, and that is why it´s hard to fix. I read somewhere someone it trying to create a resource compiler for free pascal. So that together with internal

Re: [lazarus] Perplexing TBitmap behavior.

2006-12-07 Thread Dave Coventry
Hi Tom, Yes! That was it! I've done a lot of head scratching trying to figure out what was going on. :-? Thank you. Tom Gregorovic wrote: Dave Coventry napsal(a): Hi, I have code as follows: // snip === procedure TForm1.FormShow(Sender: TObject); var

[lazarus] Coding Style support in Lazarus (was Gambas)

2006-12-07 Thread Graeme Geldenhuys
On 12/7/06, George Birbilis [EMAIL PROTECTED] wrote: Speaking of coding style etc., Architect version of IDEs like VS.net (see VS.net Team System) have ways for an s/w architect to define coding styles, templates etc. and force programmers to use those. Also there's a nice This would actually

Re: [lazarus] Font names shown in the respective font

2006-12-07 Thread Graeme Geldenhuys
[I agree with others, your Reply-To address is getting annoying!] On 12/7/06, George Birbilis [EMAIL PROTECTED] wrote: Same could be done at the Font selection dialog (the dialog could have such property and the IDE could set that from the value of the above mentioned IDE setting) if it's not a