[Lazarus] Switch off curser in TListBox

2011-03-06 Thread Jürgen Hestermann
Is it possible to switch off the visible cursor in a TListBox? I didn't find an option for that. I wanted the TListBox to act as a log window that shows current (and recent) activity. But the selection color makes the cursor line quite unreadable and it also makes no sense to make one line

Re: [Lazarus] Switch off curser in TListBox

2011-03-06 Thread u-boot
whether you find an event that is thrown at the right time following procedure works: procedure ListboxSelectionRemove(AListBox: TListbox); var i: Integer; begin i:=0; while iAListBox.Count do begin AListBox.Selected[i]:=false; inc(i); end; end; Jürgen Hestermann schrieb:

Re: [Lazarus] Code completion: Error: ancestor has same name as class.

2011-03-06 Thread Marcos Douglas
On Sun, Mar 6, 2011 at 6:20 AM, Juha Manninen juha.mannine...@gmail.com wrote: Marcos Douglas kirjoitti sunnuntai 06 maaliskuu 2011 03:57:02: type TStringList = class(Classes.TStringList) public function Foo: string; end; In any case your class name is very confusing. I would

Re: [Lazarus] Code completion: Error: ancestor has same name as class.

2011-03-06 Thread leledumbo
Maybe for the programmer of the unit, but for the users, it's almost always a disadvantage. They will get unexpected behavior instead (especially if you put it along with other things in the unit where one might need some of them). Open LCL sources and see how its components are named. For your

Re: [Lazarus] Code completion: Error: ancestor has same name as class.

2011-03-06 Thread Marcos Douglas
On Sun, Mar 6, 2011 at 3:20 PM, leledumbo leledumbo_c...@yahoo.co.id wrote: Maybe for the programmer of the unit, but for the users, it's almost always a disadvantage. They will get unexpected behavior instead (especially if you put it along with other things in the unit where one might need

Re: [Lazarus] Refactor Menu

2011-03-06 Thread Marco van de Voort
On Sat, Mar 05, 2011 at 04:26:14PM +, Howard Page-Clark wrote: I'm not wanting to complain, rather to raise the question if now is not a good time to take stock of the erratic menu growth and changes over the past few years, and as Juha suggests, refactor it constructively. The trouble

Re: [Lazarus] Problems with r29727

2011-03-06 Thread Paul Ishenin
07.03.2011 1:11, Bart wrote: I think I solved it, see the patch I posted in Mantis: http://bugs.freepascal.org/view.php?id=18873 Thanks, that was my fault. Best regards, Paul Ishenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Refactor Menu

2011-03-06 Thread Graeme Geldenhuys
Op 2011-03-05 16:03, Martin het geskryf: procedure list imho is more a view, than a search think. No, it's a search. I use procedure list to find a specific procedure or method in the current unit. Alternatively, I could have used the standard find, but procedure list is faster... Bottom

Re: [Lazarus] Refactor Menu

2011-03-06 Thread Graeme Geldenhuys
Op 2011-03-05 18:26, Howard Page-Clark het geskryf: I often find myself searching for functionality I know is there somewhere ... and miss it several times in the long lists. I find this problem too, especially when new functionality is added to the IDE. I think the IDE needs a menu item

Re: [Lazarus] More to discuss about Main-Menu

2011-03-06 Thread Graeme Geldenhuys
Op 2011-03-05 15:02, Juha Manninen het geskryf: confusion. The same way the File menu always has Exit (or Quit) although it really has nothing to do with file operations. Some Windows Linux applications (and all MacOSX applications) have a application menu item - which is the first item in