Recent

Author Topic: (lazarus mac os) TlistView bug & 1 more question  (Read 2446 times)

tierline

  • Newbie
  • Posts: 1
(lazarus mac os) TlistView bug & 1 more question
« on: October 18, 2011, 10:55:08 pm »
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.
« Last Edit: October 18, 2011, 10:58:58 pm by tierline »

 

TinyPortal © 2005-2018