Re: [Lazarus] How to query Enabled/Disabled component state?

2009-02-14 Thread Micha Nelissen
Mattias Gärtner wrote: Where is a good place to document this? Maybe as a note (or link) with the Enabled property, as probably more people expect the behaviour like Graeme did. Micha ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

[Lazarus] Space preference for assignment

2009-02-08 Thread Micha Nelissen
Hi, How can I specify I prefer spaces around assignment operators? In the options window I can select several tokens, but not assignment operator, or did I miss it? A:=B+C; to A := B+C; How about operators? A := B + C; Thanks, Micha

Re: [Lazarus] Space preference for assignment

2009-02-08 Thread Micha Nelissen
Mattias Gaertner wrote: How about operators? A := B + C; Insert space before and after 'symbols'. Thanks. Thought that did meant variable names and such. Micha ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] Environment options corrupted

2008-12-11 Thread Micha Nelissen
Tom Verhoeff wrote: In another case, I looked a little further and noticed that the window position for the Messages window had a very large Top coordinate (as saved in environmentoptions.xml). So, it probably did open, but outside the Isn't this a side effect of the way Windows minimizes a

Re: [Lazarus] unusable/endlessly reloading mainIDE

2008-12-06 Thread Micha Nelissen
Reenen Laurie wrote: I thnk the EEE pc is the thing that limits you the most here... They have very small HD space and memory wise they might struggle to run Lazarus (however I thought I saw someone post screenshots with it). Lazarus uses 22MB resident memory when just started here. Some

Re: [Lazarus] Finding out the Hostname of the Computer.

2008-11-27 Thread Micha Nelissen
Dave Coventry wrote: {$ELSE} AProcess := TProcess.Create(nil); AStringList := TStringList.Create; AProcess.CommandLine := 'echo $HOSTNAME'; Try running 'hostname' instead? Micha ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] LCL with DirectFB possible ?

2008-11-22 Thread Micha Nelissen
Dimitrios Chr. Ioannidis wrote: Instead of using qt4 I wanted to ask if the LCL can use DirectFB directly ( LCL bindings for directfb ? ). It is possible to use LCL on Gtk2 on DirectFB, but not LCL on DirectFB directly. Micha ___ Lazarus mailing

Re: [Lazarus] gtk2 warning

2008-11-22 Thread Micha Nelissen
Mattias Gaertner wrote: On Sat, 22 Nov 2008 13:49:42 +0100 Marc Weustink [EMAIL PROTECTED] wrote: I wonder what keyboard layouts generate this. ubuntu 8.10, layout USA, generic 105-key(intl) PC That's very exotic indeed :P Micha ___ Lazarus

[Lazarus] Reverse sorting (file)listbox

2008-10-18 Thread Micha Nelissen
Hi, Does anyone have an idea how to easily reverse sort a (file)listbox? 1) Listbox strings are handled by widgetset so it would need a reverse flag (does not exist for win32 as far as I can see) 2) As Items is TStrings, it does not have a CustomSort routine so I could sort them myself. Micha

Re: [Lazarus] TAsyncProcess.OnTerminate doesn't fire

2008-10-11 Thread Micha Nelissen
Tom Lisjac wrote: The TAsyncProcess option set in the test code below executes and terminates without leaving a zombie process, but the OnTerminate event never fires. I've tried a variety of options including just [poUsePipes,poStderrToOutPut] but have yet to see the OnTerminate event. What

Re: [Lazarus] [PATCH/RFC] DBGrid: allow editing of lookup columns via picklist

2008-10-11 Thread Micha Nelissen
Alexander Klenin wrote: Attached patch allows user to edit lookup fields in DBGrid, in a manner similar to Delphi. If no one responds within a few days, please add to the bug tracker so that it won't be forgotten. Micha ___ Lazarus mailing list

Re: [Lazarus] TAsyncProcess.OnTerminate doesn't fire

2008-10-11 Thread Micha Nelissen
Tom Lisjac wrote: I haven't decided if I can live with this in the final version and may have to give up on the async feature. Although zombies are harmless, hundreds of them attached to the Lazarus parent may look a little scary to tech aware end users. The zombies are a minor issue,

Re: [Lazarus] Detecting when mouse leaves TPanel

2008-04-05 Thread Micha Nelissen
Lee Jenkins wrote: The problem is that if you mousedown on the control and then move the mouse aware from the control and *then* release the mouse, the control doesn't register the mouse up and thus, the control stays colored the mouse down color. This has to do with SetCapture etc. AFAIK,

Re: [Lazarus] Synchronize troubles (attach forgotten, sorry)

2008-02-21 Thread Micha Nelissen
JoshyFun wrote: Hello lazarus-list, I'm working in a program that needs multiple threads and one will synchronize with main thread to display a log. I do not wish to continue the caller thread meanwhile the Synchronize has not been Synchronize is blocking by itself already. multithread