Re: [Lazarus] [Ann] Visual components

2014-04-25 Thread Allan E. Registos
On Saturday, 26 April, 2014 04:52 AM, Vojtěch Čihák wrote: > Hello, > > I would like to share my visual components which I finished recently. > They are written from scratch for Lazarus, no Delphi port. Based on Themes. > > Before you install, you need to do a small modification in control.pp (

[Lazarus] TField.OnGetText Event (TDBLookupComboBox)

2014-04-25 Thread Allan E. Registos
Hi all, I am fighting with this memo output text on TDBLookupComboBox control. I have this db query: SELECT (flute.flute || '-') || flute.description AS flute FROM flute; and there are some similar queries. In a TDBGrid, we can let the output as is as the query result and not the (MEMO) outp

Re: [Lazarus] OpenDocument and Linux Mint

2014-04-25 Thread Mark Morgan Lloyd
zeljko wrote: My proposal for fallback will be check for current desktop env and then call appropriate application (only if xdg-open fails). Since most desktop environments at least pay lipservice to the xdg interface utilities, I'm not sure whether having an automatic fallback is advisable

Re: [Lazarus] Copy record contents to clipboard

2014-04-25 Thread Martin Frb
On 25/04/2014 22:53, Felipe Monteiro de Carvalho wrote: Hello, I have a very large record, and I see that I can see his contents using the nice dialog "Debug Inspector". But is it possible to copy that data to the clipboard or anywhere else? The record is very large, so a manual copy would take

[Lazarus] Copy record contents to clipboard

2014-04-25 Thread Felipe Monteiro de Carvalho
Hello, I have a very large record, and I see that I can see his contents using the nice dialog "Debug Inspector". But is it possible to copy that data to the clipboard or anywhere else? The record is very large, so a manual copy would take a significant time... thanks =) -- Felipe Monteiro de Ca

Re: [Lazarus] [Ann] Visual components

2014-04-25 Thread silvioprog
2014-04-25 17:52 GMT-03:00 Vojtěch Čihák : > Hello, > > I would like to share my visual components which I finished recently. > They are written from scratch for Lazarus, no Delphi port. Based on Themes. > > Before you install, you need to do a small modification in control.pp (see > my feature re

[Lazarus] [Ann] Visual components

2014-04-25 Thread Vojtěch Čihák
Hello,   I would like to share my visual components which I finished recently. They are written from scratch for Lazarus, no Delphi port. Based on Themes.   Before you install, you need to do a small modification in control.pp (see my feature request 26048) http://bugs.freepascal.org/view.php?id=2

Re: [Lazarus] Forcing TMemo to dislplay last entry

2014-04-25 Thread Richard Mace
On 25 April 2014 18:35, Sandro Cumerlato wrote: > Hello Richard, > you can use the following code: > > SendMessage(Memo1.Handle, EM_LINESCROLL, 0, Memo1.Lines.Count); > ​Hi Sandro, EM_LINESCROLL won't compile under Linux (Lubuntu 14.04)? Richard​ -- _

Re: [Lazarus] Forcing TMemo to dislplay last entry

2014-04-25 Thread Richard Mace
Hi both, Thanks for the quick responses :) Richard On 25 April 2014 18:46, Howard Page-Clark wrote: > On 25/04/2014 18:30, Richard Mace wrote: > >> I have some code that populates a TMemo via TMemo.Text := 'lots of lines >> of text..' and need a cross platform way of programatically forcing th

Re: [Lazarus] [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Martin Frb
On 25/04/2014 18:39, Krzysztof wrote: Yes, I can type but carret is invisible. After checking "Persistent Caret" everything is working fine, thanks! 2014-04-25 18:45 GMT+02:00 Martin Frb >: On 25/04/2014 17:07, Krzysztof wrote: Cursor is not blinking. I do

Re: [Lazarus] Forcing TMemo to dislplay last entry

2014-04-25 Thread Howard Page-Clark
On 25/04/2014 18:30, Richard Mace wrote: I have some code that populates a TMemo via TMemo.Text := 'lots of lines of text..' and need a cross platform way of programatically forcing the TMemo to display the last entry as if the user has had manually scrolled to the bottom. You can also use Mem

Re: [Lazarus] [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Krzysztof
Yes, I can type but carret is invisible. After checking "Persistent Caret" everything is working fine, thanks! 2014-04-25 18:45 GMT+02:00 Martin Frb : > On 25/04/2014 17:07, Krzysztof wrote: > > Cursor is not blinking. I don't know where it is > > > > Does the window have focus, can you type? >

Re: [Lazarus] Forcing TMemo to dislplay last entry

2014-04-25 Thread Sandro Cumerlato
Hello Richard, you can use the following code: SendMessage(Memo1.Handle, EM_LINESCROLL, 0, Memo1.Lines.Count); -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Forcing TMemo to dislplay last entry

2014-04-25 Thread Richard Mace
Hi All, I have some code that populates a TMemo via TMemo.Text := 'lots of lines of text..' and need a cross platform way of programatically forcing the TMemo to display the last entry as if the user has had manually scrolled to the bottom. Any idea how I can achieve this? Thanks in advance Rich

Re: [Lazarus] [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Martin Frb
On 25/04/2014 17:07, Krzysztof wrote: Cursor is not blinking. I don't know where it is Does the window have focus, can you type? Because when I press stop, then the window with the stop button (the main IDE bar) is focused. ANd yes in that case the caret (text cursor) is no blinking. If y

Re: [Lazarus] OpenDocument and Linux Mint

2014-04-25 Thread Mattias Gaertner
On Fri, 25 Apr 2014 16:35:38 +0100 Lukasz Sokol wrote: >[...] > what if the function checked some result code from the external program, > and tried another possibility [maybe from a configurable list?] if not > getting what it expects? How do you want to test if a program starts a gui program i

Re: [Lazarus] OpenDocument and Linux Mint

2014-04-25 Thread Lukasz Sokol
On 25/04/14 16:08, silvioprog wrote: > 2014-04-25 3:23 GMT-03:00 zeljko >: > [...] > > But not so good. Maybe you have kde and gnome and you are currently > using gnome desktop. Calling kfclient can be pita in this case since > kde isn't loaded so kfmclient will load b

Re: [Lazarus] OpenDocument and Linux Mint

2014-04-25 Thread silvioprog
2014-04-25 3:23 GMT-03:00 zeljko : > On 04/25/2014 07:21 AM, silvioprog wrote: > >> 2014-04-17 14:50 GMT-03:00 Mattias Gaertner > >: >> >> >> On Thu, 17 Apr 2014 14:35:07 -0300 >> silvioprog mailto:silviop...@gmail.com>> >> wrote: >> >> > 2014-04-16 2

Re: [Lazarus] Wanted: OpenGL gui framework supporting Windows, Linux, Mac, Android, etc.

2014-04-25 Thread Felipe Monteiro de Carvalho
The OpenGL in Android is OpenGL ES which very different from the desktop OpenGL. Felipe Monteiro de Carvalho On Fri, Apr 25, 2014 at 3:20 AM, Graeme Geldenhuys wrote: > On 2014-04-24 07:43, J S wrote: >> Specifically, it would be nice to have a "TOpenGLForm" (basically an >> OpenGL output frame