Re: [Lazarus] Dangers of using Move command to insert data into a TBytes array?

2017-08-31 Thread Bo Berglund via Lazarus
On Wed, 30 Aug 2017 09:48:47 +0200 (CEST), Michael Van Canneyt via Lazarus wrote: >> I must use Move() for handling other data of various kinds like packed >> records and such too... > >If the packed records contain managed data (ansistrings and the like): >Don't

[Lazarus] TControl.ChangeScale impl

2017-08-31 Thread Alexey via Lazarus
There is such procedure. why not to rewrite it via call to AutoAdjustLayout. to not have "dup" code. procedure TControl.ChangeScale(Multiplier, Divider: Integer); var R: TRect; begin if Multiplier <> Divider then begin ScaleConstraints(Multiplier, Divider); if not ParentFont then

Re: [Lazarus] TFilenameedit onchange osx

2017-08-31 Thread Dmitry Boyarintsev via Lazarus
On Wed, Aug 23, 2017 at 4:24 AM, Denis Kozlov via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > FYI, there are few related bug reports about OnChange not firing correctly > on Mac OS: > https://bugs.freepascal.org/view.php?id=24009 (year 2013) > https://bugs.freepascal.org/view.php?id=30167

Re: [Lazarus] Attaching GDB to running process

2017-08-31 Thread Mark Morgan Lloyd via Lazarus
On 30/08/17 22:30, Cyrax via Lazarus wrote: On 31/08/17 00:22, Mark Morgan Lloyd via Lazarus wrote:> I'm sorry to have to ask this, but can somebody remind me please how to > get Lazarus to attach gdb to a running program by GDB? I think I'm > having a "senior moment".> > (Debian on x86_64