Re: [Lazarus] TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns)

2011-07-01 Thread Graeme Geldenhuys
On 06/30/2011 08:10 PM, Alexsander Rosa wrote: TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns). Can you explain more of what freeze pane does? Any links or screenshots of other grid components that support this feature? Regards, - Graeme - -- fpGUI Toolkit - a

Re: [Lazarus] barchart demo...

2011-07-01 Thread zeljko
On Thursday 30 of June 2011 17:06:55 waldo kitty wrote: win2k i386 Laz 0.9.31 SVN r31426 FPC 2.4.5 SVN runknown when i attempt to run laz/examples/barchart/chartdemo.lpi i'm told that it cannot find the chart unit specified in the uses clause... am i missing a required package installed to

Re: [Lazarus] barchart demo...

2011-07-01 Thread Felipe Monteiro de Carvalho
On Thu, Jun 30, 2011 at 5:08 PM, Alexander Klenin kle...@gmail.com wrote: TBarChart is deprecated, please use TAChart instead. (BTW, maybe it is time to remove the example, or at least mark it in some way?) I'm in favor of a complete removal of TBarChart. Or moving it to lazarus-ccr if anyone

Re: [Lazarus] Error while compiling latest SVN version

2011-07-01 Thread Bart
B.t.w. The new definition of TWindowState breaks compatibility with Delphi VCL. See: http://docwiki.embarcadero.com/VCL/en/Forms.TWindowState Does anyone mind? Bart On 6/30/11, Dirk dirk.l...@dirksweb.com wrote: From: zeljko [mailto:zel...@holobit.net] Sent: Thursday, June 30, 2011 2:56 PM To:

Re: [Lazarus] Codetools confused?

2011-07-01 Thread Bart
Done: http://bugs.freepascal.org/view.php?id=19663 Bart On 6/30/11, Mattias Gaertner nc-gaert...@netcologne.de wrote: Bart bartjun...@gmail.com hat am 30. Juni 2011 um 16:29 geschrieben: On 3/27/11, Bart bartjun...@gmail.com wrote: On 3/27/11, Mattias Gaertner

Re: [Lazarus] IDE flaws

2011-07-01 Thread Martin
On 01/07/2011 03:49, Hans-Peter Diettrich wrote: Currently I observe the following flaws (Win7): 1) An editor page in a secondary editor window *only* can be cloned into a new window. Why does the handling of secondary editor windows differ from the handling of the primary window??? It

Re: [Lazarus] IDE flaws

2011-07-01 Thread Martin
On 01/07/2011 12:47, Martin wrote: On 01/07/2011 03:49, Hans-Peter Diettrich wrote: Currently I observe the following flaws (Win7): 1) An editor page in a secondary editor window *only* can be cloned into a new window. Why does the handling of secondary editor windows differ from the

[Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Max Vlasov
Hi, I recently created report http://bugs.freepascal.org/view.php?id=19658 This was about panels that behave a little differently to panels in Lazarus Windows and Delphi. There were no comments or feedback request there so I decided to take a look After some investigation it appeared that the

Re: [Lazarus] TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns)

2011-07-01 Thread Alexsander Rosa
Freeze pane is an expression from Excel spreadsheet: you freeze a few columns (usually with identification data) and scroll the rest. In TStringGrid it's done with FixedCols: they remain fixed (frozen) and the rest of the columns can be scrolled. This part is fine, the freeze pane feature is

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread zeljko
On Friday 01 of July 2011 14:17:15 Max Vlasov wrote: Hi, I recently created report http://bugs.freepascal.org/view.php?id=19658 This was about panels that behave a little differently to panels in Lazarus Windows and Delphi. There were no comments or feedback request there so I decided to

[Lazarus] Ctrl + Space Window Source lazarus

2011-07-01 Thread Marcelo Silva (IG)
Guys, excuse my English, really do not speak English, I'm using Google:) First thanks for this list! I do not know the name of that little window that opens when you press Ctrl + Space lazarus. But I know I know what I mean. In Delphi Right clicking it gives you the option to sort by name or

Re: [Lazarus] Ctrl + Space Window Source lazarus

2011-07-01 Thread Marcelo Silva (IG)
Thank you, Martin Well, since there is no such option, keep this email as a suggestion to the developers of Lazarus. Marcelo Silva -- msn: marc...@ig.com.br SP – brasil From: Martin Sent: Friday, July 01, 2011 10:08 AM To: Marcelo Silva (IG) ;

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Max Vlasov
2011/7/1 zeljko zel...@holobit.net On Friday 01 of July 2011 14:17:15 Max Vlasov wrote: Hi, I recently created report http://bugs.freepascal.org/view.php?id=19658 This was about panels that behave a little differently to panels in Lazarus Windows and Delphi. There were no

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Henry Vermaak
On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the TGtk2WSCustomPanel.CreateHandle { Before } Frame := gtk_frame_new(nil); gtk_frame_set_shadow_type(PGtkFrame(Frame),

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Henry Vermaak
On 01/07/11 14:44, Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the TGtk2WSCustomPanel.CreateHandle { Before } Frame := gtk_frame_new(nil); gtk_frame_set_shadow_type(PGtkFrame(Frame),

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Henry Vermaak
On 01/07/11 15:09, Henry Vermaak wrote: On 01/07/11 14:44, Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the TGtk2WSCustomPanel.CreateHandle { Before } Frame := gtk_frame_new(nil);

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Max Vlasov
On Fri, Jul 1, 2011 at 6:17 PM, Henry Vermaak henry.verm...@gmail.com wrote: On 01/07/11 15:09, Henry Vermaak wrote: On 01/07/11 14:44, Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread zeljko
On Friday 01 of July 2011 15:44:13 Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the TGtk2WSCustomPanel.CreateHandle { Before } Frame := gtk_frame_new(nil);

Re: [Lazarus] IDE flaws

2011-07-01 Thread Hans-Peter Diettrich
Martin schrieb: On 01/07/2011 03:49, Hans-Peter Diettrich wrote: Currently I observe the following flaws (Win7): 1) An editor page in a secondary editor window *only* can be cloned into a new window. Why does the handling of secondary editor windows differ from the handling of the primary

Re: [Lazarus] IDE flaws

2011-07-01 Thread Hans-Peter Diettrich
Martin schrieb: Actually, I just checked on windows vista, and it works (2nd window allows cloning back to 1st window). I tested before, but tricked myself. Oops, *this* seems to be the reason! Please not when you test, that there is another restriction. Each unique file can only have one

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread zeljko
On Friday 01 of July 2011 16:29:33 Max Vlasov wrote: On Fri, Jul 1, 2011 at 6:17 PM, Henry Vermaak henry.verm...@gmail.com wrote: On 01/07/11 15:09, Henry Vermaak wrote: On 01/07/11 14:44, Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up

[Lazarus] gtk2 TCustomControl.Paint, InvalidateRect

2011-07-01 Thread Armin Diehl
I have a problem with InvalidateRect with gtk2 on linux, Canvas.ClipRect always returns the full area and not the rect that needs to be updated. Under windows, everything works fine. My problem is that within a terminal emulation program i have to draw a blinking cursor (250 ms) and blinking

Re: [Lazarus] IDE flaws

2011-07-01 Thread Martin
On 01/07/2011 15:28, Hans-Peter Diettrich wrote: You should still be able to drag/drop it back to the original window, holding CTRL for copy/clone No target responds to dragging, regardless of CTRL :-( BTW, CTRL is the wrong modifier, it's intended to *ignore* all possible targets. Is

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Max Vlasov
On Fri, Jul 1, 2011 at 6:17 PM, Henry Vermaak henry.verm...@gmail.com wrote: On 01/07/11 15:09, Henry Vermaak wrote: On 01/07/11 14:44, Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the

Re: [Lazarus] IDE flaws

2011-07-01 Thread Martin
On 01/07/2011 16:34, Hans-Peter Diettrich wrote: Martin schrieb: Actually, I just checked on windows vista, and it works (2nd window allows cloning back to 1st window). I tested before, but tricked myself. Oops, *this* seems to be the reason! Please not when you test, that there is another

Re: [Lazarus] IDE flaws

2011-07-01 Thread Martin
On 01/07/2011 16:34, Hans-Peter Diettrich wrote: Martin schrieb: So if you cloned unit1 from window-1 to window-2, then it is open in both windows. This means you can not clone (not move) it to window-1 as it is already open there. That's okay so far but, as you see, it can lead to

Re: [Lazarus] IDE flaws

2011-07-01 Thread Martin
On 01/07/2011 15:52, Martin wrote: On 01/07/2011 16:34, Hans-Peter Diettrich wrote: Martin schrieb: So if you cloned unit1 from window-1 to window-2, then it is open in both windows. This means you can not clone (not move) it to window-1 as it is already open there. That's okay so far but,

Re: [Lazarus] Ctrl + Space Window Source lazarus

2011-07-01 Thread Hans-Peter Diettrich
Marcelo Silva (IG) schrieb: I do not know the name of that little window that opens when you press Ctrl + Space lazarus. But I know I know what I mean. In Delphi Right clicking it gives you the option to sort by name or scope, this way is easier to find a particular property or function.

Re: [Lazarus] Ctrl + Space Window Source lazarus

2011-07-01 Thread silvioprog
2011/7/1 Hans-Peter Diettrich drdiettri...@aol.com: Marcelo Silva (IG) schrieb: I do not know the name of that little window that opens when you press Ctrl + Space lazarus. But I know I know what I mean. In Delphi Right clicking it gives you the option to sort by name or scope, this way is

Re: [Lazarus] IDE flaws

2011-07-01 Thread Hans-Peter Diettrich
Martin schrieb: BTW, CTRL is the wrong modifier, it's intended to *ignore* all possible targets. Is there an official definition for that somewhere? Is Delphi official enough? ;-) But you may be right, above applies to drag-dock, not to drag-drop. In notebook-docking the notebook tabs are

Re: [Lazarus] IDE flaws

2011-07-01 Thread Hans-Peter Diettrich
Martin schrieb: BTW, you are away of the page locking feature ? http://lazarus-dev.blogspot.com/2010/04/page-locking-or-multiply-editor-windows.html Wow, really great. It will become one of my favorite Lazarus features, now that I know about it :-) DoDi --

Re: [Lazarus] IDE flaws

2011-07-01 Thread Martin
On 01/07/2011 17:58, Hans-Peter Diettrich wrote: Martin schrieb: The display disabled menu entry, instead of display none makes sense. Hm, on further thought. displaying source-editors to which you can not move/clone as disabled menu entry, brings up a few questions. - Should the current

Re: [Lazarus] TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns)

2011-07-01 Thread Luiz Americo Pereira Camara
On 1/7/2011 09:44, Alexsander Rosa wrote: Freeze pane is an expression from Excel spreadsheet: you freeze a few columns (usually with identification data) and scroll the rest. In TStringGrid it's done with FixedCols: they remain fixed (frozen) and the rest of the columns can be scrolled. This

Re: [Lazarus] IDE flaws

2011-07-01 Thread Hans-Peter Diettrich
Martin schrieb: On 01/07/2011 17:58, Hans-Peter Diettrich wrote: Martin schrieb: The display disabled menu entry, instead of display none makes sense. Hm, on further thought. displaying source-editors to which you can not move/clone as disabled menu entry, brings up a few questions. -