Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Maxim Ganetsky
30.04.2013 15:20, Bart пишет: On 4/30/13, Maxim Ganetsky wrote: there is 'svn relocate' command. For commiters, what is the correct command to type in? For example: svn relocate "svn+ssh://usern...@svn.code.sf.net/p/lazarus-ccr/svn/" -- Best regards, Maxim Ganetsky mail

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Graeme Geldenhuys
On 2013-04-30 17:47, Jürgen Hestermann wrote: > embraced with these commands. That's realy tricky because (again) you > need to know about the internals to do the right thing. Of course, if > you do many changes to TMemo and each would raise Begin/EndUpdate > pairs internally it would slow down eve

Re: [Lazarus] [newbie question] how to make resizable tmemo?

2013-04-30 Thread Sven Barth
On 30.04.2013 19:50, waldo kitty wrote: in the recent playing around with the code in the "flicker" thread, i wanted to make the tmemo automatically resize to fit the form when it is resized and to keep the button where i placed it and visible... the align and alignment options confuse this old

Re: [Lazarus] [newbie question] how to make resizable tmemo?

2013-04-30 Thread Edilson Vieira
Hi waldo, Memo1.Align:=alClient; This will make the Memo sized to form size. Memo1.Alignment:=taRightJustify; This will make the text inside the Memo be right justified. To mantain a visible button, put it inside a panel and set the Align property of the panel to alTop; It runs ok for me.

[Lazarus] [newbie question] how to make resizable tmemo?

2013-04-30 Thread waldo kitty
in the recent playing around with the code in the "flicker" thread, i wanted to make the tmemo automatically resize to fit the form when it is resized and to keep the button where i placed it and visible... the align and alignment options confuse this old boy as does much of the GUI world of c

[Lazarus] Width property not updated

2013-04-30 Thread Giuliano Colla
Hello Lazarus developers. In the last stable version of Lazarus (i.e. 1.0.8) the width property of some widgets (such as TLabel and TButton) is not updated when AutoSize is True, and the caption is changed. This has been verified under Linux, both with GTK2 and Qt widgetset. However this iss

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Jürgen Hestermann
Am 2013-04-30 14:38, schrieb Graeme Geldenhuys: On 2013-04-30 10:52, Michael Van Canneyt wrote: What I can say is that, given the purpose of beginupdate/endupdate, in the above code, using beginupdate/endupdate is totally pointless. Indeed. BeginUpdate/EndUpdate should be outside the loop.

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Jürgen Hestermann
Am 2013-04-30 16:47, schrieb Flávio Etrusco: > José is indeed right. BeginUpdate fixes the back-and-forth scrolling > in Windows. Yes, I now see this too. In my first quick test in a hurry I surrounded the wrong code line with Begin/EndUpdaste. ;-( I must admit that I did not pay very much atten

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Flávio Etrusco
On Tue, Apr 30, 2013 at 6:52 AM, Michael Van Canneyt wrote: > > > On Tue, 30 Apr 2013, José Mejuto wrote: > >> El 30/04/2013 10:31, Michael Van Canneyt escribió: >> Your solution of course is mutch faster but I thought seeing the progress is important for Jürgen. >>> >>> In that case the

Re: [Lazarus] TArrow, help for graph primitives needed

2013-04-30 Thread Juha Manninen
On 4/30/13, t.wieckow...@gmail.com wrote: > arrowSize1 := min(w,h) - 2; etc. > > I did this because must keep proportion/space for width and heigh. You > should instreas both trackbar's for large size Ah, right. It was intentional. Juha -- ___ Lazarus

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Graeme Geldenhuys
On 2013-04-30 10:52, Michael Van Canneyt wrote: > > What I can say is that, given the purpose of beginupdate/endupdate, > in the above code, using beginupdate/endupdate is totally pointless. Indeed. BeginUpdate/EndUpdate should be outside the loop. Regards, - Graeme - -- fpGUI Toolkit - a

Re: [Lazarus] TArrow, help for graph primitives needed

2013-04-30 Thread zeljko
On 04/30/2013 01:45 PM, zeljko wrote: On 04/30/2013 12:11 PM, Juha Manninen wrote: Unfortunately it only works on Windows. FillRgn does not work with GTK2 and it crashes with QT. Apparently it is not properly implemented. Could somebody graphics oriented please look at TWSArrow and maybe fix it

Re: [Lazarus] TArrow, help for graph primitives needed

2013-04-30 Thread zeljko
On 04/30/2013 12:11 PM, Juha Manninen wrote: Unfortunately it only works on Windows. FillRgn does not work with GTK2 and it crashes with QT. Apparently it is not properly implemented. Could somebody graphics oriented please look at TWSArrow and maybe fix it. Ok, I've fixed Qt so it does not cr

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Bart
On 4/30/13, Maxim Ganetsky wrote: > there is 'svn relocate' command. For commiters, what is the correct command to type in? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/laz

Re: [Lazarus] TArrow, help for graph primitives needed

2013-04-30 Thread zeljko
On 04/30/2013 12:11 PM, Juha Manninen wrote: Unfortunately it only works on Windows. FillRgn does not work with GTK2 and it crashes with QT. Apparently it is not properly implemented. Is there any test unit or something similar to check implementation of FillRgn ? Could somebody graphics

Re: [Lazarus] TArrow, help for graph primitives needed

2013-04-30 Thread t . wieckowski
2013/4/30 Juha Manninen : > The arrow size grows from 0 to 50% of the TrackBar's scale but then > stops growing. Why? arrowSize1 := min(w,h) - 2; etc. I did this because must keep proportion/space for width and heigh. You should instreas both trackbar's for large size Unfortunately, I can not hel

Re: [Lazarus] TArrow, help for graph primitives needed

2013-04-30 Thread Juha Manninen
Also the windows implementation has a strange detail, seen in the demo application: The arrow size grows from 0 to 50% of the TrackBar's scale but then stops growing. Why? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://list

[Lazarus] TArrow, help for graph primitives needed

2013-04-30 Thread Juha Manninen
Regarding issue: 21117: Can not change background Color of TArrow http://bugs.freepascal.org/view.php?id=21117 I tested the patch from Tomasz Wieckowski and it works. The improvement affected only Windows and I wanted to turn it into a cross-platform solution. It seemed easy because the used gra

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Michael Van Canneyt
On Tue, 30 Apr 2013, José Mejuto wrote: El 30/04/2013 10:31, Michael Van Canneyt escribió: Your solution of course is mutch faster but I thought seeing the progress is important for Jürgen. In that case the beginupdate/endupdate is a total waste of CPU. Hello, The problem is that the be

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Graeme Geldenhuys
On 2013-04-30 08:44, Vincent Snijders wrote: > > Thanks for notifying possible users. My pleasure. I didn’t see any notices here before, so I thought I would post it. It was my attempt to save you guys some support emails. I recently got support emails from tiOPF users that they couldn’t see recen

Re: [Lazarus] TMemo flicker

2013-04-30 Thread José Mejuto
El 30/04/2013 10:31, Michael Van Canneyt escribió: Your solution of course is mutch faster but I thought seeing the progress is important for Jürgen. In that case the beginupdate/endupdate is a total waste of CPU. Hello, The problem is that the behavior changes with the use of begin/end up

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Graeme Geldenhuys
On 2013-04-30 01:05, Maxim Ganetsky wrote: > > Please stop this FUD. Of course this is not needed, there is 'svn > relocate' command. No need to be so jumpy. I did say “I believe…” that doesn't mean I was 100% certain. I haven't used SVN in years. Thanks for pointing that out though. Regards

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Michael Van Canneyt
On Tue, 30 Apr 2013, shoKwave wrote: Am 30.04.2013 10:06, schrieb Michael Van Canneyt: It should be memo1.Lines.BeginUpdate; for i := 1 to 1000 do Memo1.Lines.Add(' LAST LINE ---'+IntToStr(i)+'---'); memo1.Lines.EndUpdat

Re: [Lazarus] TMemo flicker

2013-04-30 Thread shoKwave
Am 30.04.2013 10:06, schrieb Michael Van Canneyt: It should be memo1.Lines.BeginUpdate; for i := 1 to 1000 do Memo1.Lines.Add(' LAST LINE ---'+IntToStr(i)+'---'); memo1.Lines.EndUpdate; Application.Processmessages; What y

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Julio Jiménez
Yes, in my last message I said 'now it shows my changes' so all is fine now, but not earlier. I wonder why the delay. 2013/4/30 Vincent Snijders > > > > 2013/4/30 Julio Jiménez > >> Now it shows my changes... weird... :( >> >> > See: https://sourceforge.net/p/lazarus-ccr/svn/2734/ > > Vincent

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Vincent Snijders
2013/4/30 Julio Jiménez > Now it shows my changes... weird... :( > > See: https://sourceforge.net/p/lazarus-ccr/svn/2734/ Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/laza

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Julio Jiménez
Now it shows my changes... weird... :( 2013/4/30 Julio Jiménez > Weird.. commit with no errors.. svn info doesn't show my changes and svn > diff is ok...(doesn't show difference with my local changes) > > > > 2013/4/30 Julio Jiménez > >> Hi Vincent. >> >> svn relocate this time worked for me.

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Michael Van Canneyt
On Tue, 30 Apr 2013, shoKwave wrote: Am 30.04.2013 07:25, schrieb Jürgen Hestermann: Maybe someone can just try my example program. OK, now I've tested a bit and BeginUpdate/EndUpdate works for me (Win7 x64, FPC and Laz Trunk): procedure TForm1.Button1Click(Sender: TObject); var i:Integer;

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Julio Jiménez
Weird.. commit with no errors.. svn info doesn't show my changes and svn diff is ok...(doesn't show difference with my local changes) 2013/4/30 Julio Jiménez > Hi Vincent. > > svn relocate this time worked for me. > svn commit is working too. > > Thank you. > > > 2013/4/30 Vincent Snijders >

Re: [Lazarus] TMemo flicker

2013-04-30 Thread shoKwave
Am 30.04.2013 07:25, schrieb Jürgen Hestermann: Maybe someone can just try my example program. OK, now I've tested a bit and BeginUpdate/EndUpdate works for me (Win7 x64, FPC and Laz Trunk): procedure TForm1.Button1Click(Sender: TObject); var i:Integer; begin Memo1.Clear; for i := 1 to 40

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Julio Jiménez
Hi Vincent. svn relocate this time worked for me. svn commit is working too. Thank you. 2013/4/30 Vincent Snijders > > > > 2013/4/30 Graeme Geldenhuys > >> Hi, >> >> SourcForge has upgraded its whole web and management system, and due to >> that all projects had to upgrade to the new system.

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Vincent Snijders
2013/4/30 Graeme Geldenhuys > Hi, > > SourcForge has upgraded its whole web and management system, and due to > that all projects had to upgrade to the new system. > > I just got notified that Lazarus CCR has been upgraded. So please go to > the SourceForge page to see the new source code reposit

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-30 Thread Vincent Snijders
2013/4/30 Graeme Geldenhuys > Hi, > > SourcForge has upgraded its whole web and management system, and due to > that all projects had to upgrade to the new system. > > Nobody seems to have upgraded Lazarus-CCR since this was announced, so > SourceForge deadline was reached, and they started force

Re: [Lazarus] TMemo flicker

2013-04-30 Thread waldo kitty
On 4/30/2013 01:25, Jürgen Hestermann wrote: Maybe someone can just try my example program. what sample program? i've only seen a portion of a routine (onclick??) you've posted... but no sample program... -- NOTE: No off-list assistance is given without prior approval. Please keep mail

Re: [Lazarus] TMemo flicker

2013-04-30 Thread zeljko
On 04/30/2013 08:52 AM, Flávio Etrusco wrote: On Mon, Apr 29, 2013 at 1:38 PM, K. P. wrote: Have you tried wrapping your writes in memo1.Lines.BeginUpdate and memo1.Lines.BeginUpdate? On the contrary. I would expect Begin/EndUpdate to increase flickering, because they'll usually trigger a f