Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Michael Van Canneyt via lazarus
On Mon, 23 Mar 2020, Juha Manninen via lazarus wrote: On Mon, Mar 23, 2020 at 2:35 PM Marco van de Voort via lazarus < lazarus@lists.lazarus-ide.org> wrote: Personally I hate the mandatory open project (or else the modal options). E.g. you want to open a .lpk and you have to create a

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Juha Manninen via lazarus
On Mon, Mar 23, 2020 at 2:35 PM Marco van de Voort via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Personally I hate the mandatory open project (or else the modal > options). E.g. you want to open a .lpk and you have to create a project > first to open the menu item. > Not really because a

Re: [Lazarus] Embedded VLC using PasLibVlc - how to fast forward?

2020-03-23 Thread Bo Berglund via lazarus
On Mon, 23 Mar 2020 08:38:37 +0100, Rolf Wetjen via lazarus wrote: >Hi Bo, > >this could be a solution for windows (fullscreen): > >     SetWindowLongPtr(Handle,GWL_STYLE,iWindowStyle and not >WS_OVERLAPPEDWINDOW); >     Left:=0; >     Top:=0; >     Width:=Screen.Width; >    

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Mattias Gaertner via lazarus
On Mon, 23 Mar 2020 14:34:02 +0100 Martin Frb via lazarus wrote: > On 23/03/2020 13:35, Marco van de Voort via lazarus wrote: > > Personally I hate the mandatory open project (or else the modal > > options). E.g. you want to open a .lpk and you have to create a > > project first to open the

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Santiago A. via lazarus
El 23/03/2020 a las 10:55, Ondrej Pokorny via lazarus escribió: On 23.03.2020 10:23, Michael Van Canneyt via lazarus wrote: "Close all" in the file menu does not close the project inspector (and, I suppose, the project) Is this by design ? I'm asking because in Delphi 'Close all' really

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Martin Frb via lazarus
On 23/03/2020 13:35, Marco van de Voort via lazarus wrote: Personally I hate the mandatory open project (or else the modal options). E.g. you want to open a .lpk and you have to create a project first to open the menu item. Well, this is not because it is desired. I doubt there would be

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Marco van de Voort via lazarus
Op 2020-03-23 om 13:34 schreef Ondrej Pokorny via lazarus:  reason for this behaviour ? It seems a bit strange to me to treat the project differently. This feature is not from me. I was hit by it as well when I started using Lazarus. AFAIR it's been always so. I got used to it and I find it

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Ondrej Pokorny via lazarus
On 23.03.2020 10:59, Michael Van Canneyt via lazarus wrote: On Mon, 23 Mar 2020, Ondrej Pokorny via lazarus wrote: On 23.03.2020 10:23, Michael Van Canneyt via lazarus wrote: "Close all" in the file menu does not close the project inspector (and, I suppose, the project) Is this by design ?

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Michael Van Canneyt via lazarus
On Mon, 23 Mar 2020, Ondrej Pokorny via lazarus wrote: On 23.03.2020 10:23, Michael Van Canneyt via lazarus wrote: "Close all" in the file menu does not close the project inspector (and, I suppose, the project) Is this by design ? I'm asking because in Delphi 'Close all' really closes

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Ondrej Pokorny via lazarus
On 23.03.2020 10:23, Michael Van Canneyt via lazarus wrote: "Close all" in the file menu does not close the project inspector (and, I suppose, the project) Is this by design ? I'm asking because in Delphi 'Close all' really closes "all". Hello, yes this difference is by design. To close the

[Lazarus] Close all menu item ?

2020-03-23 Thread Michael Van Canneyt via lazarus
Hi, "Close all" in the file menu does not close the project inspector (and, I suppose, the project) Is this by design ? I'm asking because in Delphi 'Close all' really closes "all". Michael. -- ___ lazarus mailing list

Re: [Lazarus] Gtk2 Linux detect user logoff?

2020-03-23 Thread Michael Van Canneyt via lazarus
On Mon, 23 Mar 2020, Anthony Walter via lazarus wrote: Does anyone here know how to detect user log off and gracefully terminate under Gtk2 Linux? I have an app which uses some temporary files (in /tmp) and I want to ensure those files are deleted when the user logs off. The application

Re: [Lazarus] Embedded VLC using PasLibVlc - how to fast forward?

2020-03-23 Thread Rolf Wetjen via lazarus
Hi Bo, this could be a solution for windows (fullscreen):     SetWindowLongPtr(Handle,GWL_STYLE,iWindowStyle and not WS_OVERLAPPEDWINDOW);     Left:=0;     Top:=0;     Width:=Screen.Width;     Height:=Screen.Height; Regards Rolf Am 23.03.2020 um 07:52 schrieb Bo Berglund via lazarus: On

[Lazarus] Gtk2 Linux detect user logoff?

2020-03-23 Thread Anthony Walter via lazarus
Does anyone here know how to detect user log off and gracefully terminate under Gtk2 Linux? I have an app which uses some temporary files (in /tmp) and I want to ensure those files are deleted when the user logs off. The application query/end session events don't seem to be connected when using

Re: [Lazarus] Embedded VLC using PasLibVlc - how to fast forward?

2020-03-23 Thread Bo Berglund via lazarus
On Sun, 22 Mar 2020 22:29:15 +0100, Bo Berglund via lazarus wrote: FOLLOW-UP: >1) FF video playback I found an example that handles the play speed and could verify it thus: vlcPlayer.SetPlayRate(newPlayRate); newPlayRate is an integer seemingly in percent of normal speed, so: x2 = 200 x1 = 100