Re: [Lazarus] Application.OnShowHint problem

2014-03-30 Thread Graeme Geldenhuys
On 2014-03-30 04:45, Frank Poretzky wrote: | procedure TFormTest.DoAppOnShowHint( var HintStr: String; | var CanShow: Boolean; | var HintInfo: THintInfo); | begin | CanShow := true; | HintStr := HintStr + '

[Lazarus] Prevent visual updates

2014-03-30 Thread Chris Crori
Hi gyus, is there a way to prevent LCL (visual) updates for a short period? i am thinking of something like BeginUpdate/EndUpade in Grids, so i can make some changes drasticaly and avoid the flickering effect Chris-- ___ Lazarus mailing list

Re: [Lazarus] Prevent visual updates

2014-03-30 Thread Jürgen Hestermann
Am 2014-03-30 12:45, schrieb Chris Crori: Hi gyus, is there a way to prevent LCL (visual) updates for a short period? i am thinking of something like BeginUpdate/EndUpade in Grids, so i can make some changes drasticaly and avoid the flickering effect Functions BeginUpdate/EndUpdate

Re: [Lazarus] Prevent visual updates

2014-03-30 Thread Leonardo M. Ramé
On 30/03/14 08:40, Jürgen Hestermann wrote: Am 2014-03-30 12:45, schrieb Chris Crori: Hi gyus, is there a way to prevent LCL (visual) updates for a short period? i am thinking of something like BeginUpdate/EndUpade in Grids, so i can make some changes drasticaly and avoid the flickering

Re: [Lazarus] Application.OnShowHint problem

2014-03-30 Thread Frank Poretzky
Hi Graeme, on Sun, 30 Mar 2014 10:09:31 +0100, you wrote: On 2014-03-30 04:45, Frank Poretzky wrote: | procedure TFormTest.DoAppOnShowHint( var HintStr: String; | var CanShow: Boolean; | var HintInfo: THintInfo); |

Re: [Lazarus] Prevent visual updates

2014-03-30 Thread Graeme Geldenhuys
On 2014-03-30 14:29, Leonardo M. Ramé wrote: Did you try setting DoubleBuffererd := True; in the Form OnCreate event?. Why isn't DoubleBuffered enabled by default in LCL? I always thought that odd. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [Lazarus] Application.OnShowHint problem

2014-03-30 Thread Flávio Etrusco
On Sun, Mar 30, 2014 at 12:21 PM, Frank Poretzky poret...@nym.mixmin.net wrote: Hi Graeme, on Sun, 30 Mar 2014 10:09:31 +0100, you wrote: On 2014-03-30 04:45, Frank Poretzky wrote: | procedure TFormTest.DoAppOnShowHint( var HintStr: String; | var

Re: [Lazarus] Prevent visual updates

2014-03-30 Thread Marco van de Voort
On Sun, Mar 30, 2014 at 06:38:06PM +0100, Graeme Geldenhuys wrote: Did you try setting DoubleBuffererd := True; in the Form OnCreate event?. Why isn't DoubleBuffered enabled by default in LCL? I always thought that odd. I assume because the widgetset might already doublebuffer? --

Re: [Lazarus] Application.OnShowHint problem

2014-03-30 Thread Mattias Gaertner
On Sun, 30 Mar 2014 14:50:08 -0300 Flávio Etrusco flavio.etru...@gmail.com wrote: On Sun, Mar 30, 2014 at 12:21 PM, Frank Poretzky poret...@nym.mixmin.net wrote: Hi Graeme, on Sun, 30 Mar 2014 10:09:31 +0100, you wrote: On 2014-03-30 04:45, Frank Poretzky wrote: | procedure

Re: [Lazarus] Prevent visual updates

2014-03-30 Thread Mattias Gaertner
On Sun, 30 Mar 2014 23:11:41 +0300 Chris Crori cror...@yahoo.com wrote: Doublebuffered did not solve my problem i have a panel that i make visible depending on a flag. in a unique situation, this flag must change 2 times, so it's my bad, not the LCL's if i could disable the LCL messages in

Re: [Lazarus] Prevent visual updates

2014-03-30 Thread Chris Crori
Doublebuffered did not solve my problem i have a panel that i make visible depending on a flag. in a unique situation, this flag must change 2 times, so it's my bad, not the LCL's if i could disable the LCL messages in that unique situation, it would be very helpfull, but if i can't do that, i

[Lazarus] LCL and library

2014-03-30 Thread Joachim Paepke
Hello I'm using this: Debian 7.4 (wheezy)(32 bit), gtk 2.24.10 FPC 2.7.1 SVN 27327 LAZ 1.3 SVN 44546 Nearly all controls from the LCL work proper in a library. Only the TListView ends up with this: (x:4671): GLib-GObject-WARNING **: cannot register existing type `LCLListViewModel'

Re: [Lazarus] Application.OnShowHint problem

2014-03-30 Thread Frank Poretzky
Hi Flávio, on Sun, 30 Mar 2014 14:50:08 -0300, you wrote: There's a bug in application.inc, line 816. OnShowHint only executes if there are hint handlers registered: (...) i:=FApplicationHandlers[ahtShowHint].Count; if CanShow and (i0) then begin if Assigned(FOnShowHint) then

[Lazarus] TTimer woes (newbie)

2014-03-30 Thread Bob Axtell
can someone show a newbie how to use the two system timers? --Bob A -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus