1. my listview control work good except one moment, listview1.selected always = nil.
same code in win-delphi worked fine. i put this s:=listview1.selected.Caption; in OnSelectItem or OnClick it always nil.
2. in win-delphi this code determine current keyboard language
KK := GetKeyboardLayout(0);
KBid := KK shr $10;
if KBid = 1033 then s:='ENG' else s:='RUS'
how can i do this in lazarus-mac?
thanks.