OS: Debian 10 (buster) LXDE
fpc 3.3.1
lazaraus 2.1
does not work (without the use of a mouse) dropdown if Editable: = true;
(the advantage of desktop applications is that they can work without a mouse)
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, LCLTMSFNCToolBar;
type
{ TForm1 }
TForm1 = class(TForm)
TMSFNCToolBarItemPicker1: TTMSFNCToolBarItemPicker;
procedure FormCreate(Sender: TObject);
private
public
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.FormCreate(Sender: TObject);
begin
TMSFNCToolBarItemPicker1.Editable := true;
TMSFNCToolBarItemPicker1.Items.Clear;
TMSFNCToolBarItemPicker1.Items.Add('prvi');
TMSFNCToolBarItemPicker1.Items.Add('peti');
TMSFNCToolBarItemPicker1.Items.Add('drugi');
TMSFNCToolBarItemPicker1.Items.Add('petnaesti');
end;
end.