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 iend; Jürgen Hestermann schrieb: Is it possible to switch off the visible cursor in a TListBox? I didn't find

Re: [Lazarus] focus vs. parent changing

2011-01-24 Thread u-boot
us is called end; if aEditor<>Editor then Editor := aEditor; //!! here SetEditor is called that contains changing Parent with impact on focus end; Mattias Gaertner schrieb: u-boot hat am 24. Januar 2011 um 17:49 geschrieben: &g

[Lazarus] focus vs. parent changing

2011-01-24 Thread u-boot
Same question here as in irc nobody answered it a few hours ago. I tried the following lines. It does not work with setfocus before parent changing. My question is, if it should work in this order or if this is correct behaviour. procedure TForm1.Button1Click(Sender: TObject); begin edit1.