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 instal

Re: [Lazarus] barchart demo...

2011-07-01 Thread Felipe Monteiro de Carvalho
On Thu, Jun 30, 2011 at 5:08 PM, Alexander Klenin 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 still uses it

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 wrote: >>From: zeljko [mailto:zel...@holobit.net] >>Sent: Thursday, June 30, 2011 2:56 PM >>To: Lazarus mailing l

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 wrote: > > > > Bart hat am 30. Juni 2011 um 16:29 geschrieben: > > > On 3/27/11, Bart wrote: > > > On 3/27/11, Mattias Gaertner wrote: > > >>> ATM I cannot reproduce the popup after a dot in a text consta

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 should

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 handling

[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 pr

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 > decid

[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 sco

Re: [Lazarus] Ctrl + Space Window Source lazarus

2011-07-01 Thread Martin
"code completion window/popup" No there is no option yet, to sort it. I don't know if/what plans there are. On 01/07/2011 14:05, Marcelo Silva (IG) wrote: 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 littl

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) ; Lazar

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

2011-07-01 Thread Max Vlasov
2011/7/1 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 comm

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), BorderStyleShadowMap[TCustomControl(AWinCont

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), BorderStyleSha

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); gtk_frame_set_sha

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 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 TGtk2WSCustomPanel.

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); > >gtk_frame

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 win

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 ta

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 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 f

[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 cha

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 th

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 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 TGtk2WSCustomPanel.

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 r

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 confusio

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. This

Re: [Lazarus] Ctrl + Space Window Source lazarus

2011-07-01 Thread silvioprog
2011/7/1 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

Re: [Lazarus] IDE flaws

2011-07-01 Thread Hans-Peter Diettrich
Martin schrieb: Your case *sounds* as if (I have not tested it) the file is opened a 2nd time, and the IDE treats it as 2 different files. Right, I noticed that only after your hint. My bad :-( The display disabled menu entry, instead of display none makes sense. Jumping to the same source

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 ar

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] Compile and Build menu entries, Run- or Project-menu?

2011-07-01 Thread Bart
Hi Graeme, [About Ctrl-F9 as a shortcut for KDE WM] > Follow these steps: > 1. Click Start button (Chameleon button) > 2. Select "Personal Settings", or search for "settings" in kicker, and > then select "Personal Settings" from the search results. > 3. Now you should have a control panel l

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 curren

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. Th

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. -