[Lazarus] Switch off curser in TListBox

Jürgen Hestermann juergen.hestermann at gmx.de
Mon Mar 7 17:53:05 CET 2011



u-boot schrieb:
> 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 i<AListBox.Count do begin
>      AListBox.Selected[i]:=false;
>      inc(i);
>  end;
> end;     
Thanks for this example. I was hoping for some configuration switch to 
simply switch off the cursor.
It seems I have to "reprogram" many of the LCL routines when doing only 
slighty special things.
I thought the LCL existed just to to avoid digging into such details.
But okay, it seems noone ever thought about switching off cursors in 
tables or coloring cells.




More information about the Lazarus mailing list