OS: Debian 10 (buster) LXDE
fpc 3.3.1
lazaraus 2.1
TMS FNC UI Pack release 3.0.1.3
begin
ShowMessage(IntToStr(TMSFNCKanbanBoard1.SelectedItem.Index));
begin
ShowMessage(IntToStr(TMSFNCKanbanBoard1.SelectedItem.Index));
end;
OS: Debian 10 (buster) LXDE
fpc 3.3.1
lazaraus 2.1
TMS FNC UI Pack release 3.0.1.3
We have tested the focus changing here and could not reproduce this. The ShowMessage that you are using might potentially interfere with the focus setting process. Please try to use a log instead to show which item is selected.
It's really unclear from the video what exactly is going wrong. Please explain in detail, with step by step instructions what exactly is going wrong?
If you want to know when a selected item changes, please use OnSelectItem instead.
Please use this code to assign an event handler to the OnItemDblClick:
procedure TForm24.DoItemDblClick(Sender: TObject; AItem: TTMSFNCTableViewItem);
var
tbl: TTMSFNCKanbanBoardTableView;
I: Integer;
begin
tbl := TTMSFNCKanbanBoardTableView(Sender);
for I := 0 to TMSFNCKanbanBoard1.Columns.Count - 1 do
begin
if TMSFNCKanbanBoard1.Columns.TableView = tbl then
FMX.Types.Log.D('Column ' + I.ToString + ' ' + TMSFNCKanbanBoard1.Columns.Items[AItem.Index].Text + ' dbl clicked !');
end;
end;
procedure TForm24.FormCreate(Sender: TObject);
var
I: Integer;
begin
for I := 0 to TMSFNCKanbanBoard1.Columns.Count - 1 do
TMSFNCKanbanBoard1.Columns.TableView.OnItemDblClick := DoItemDblClick;
end;
Did you USE the code snippet??
Again,
Please download and use the latest version
Today i installed the latest version and the same problem is still present.
TMSFNCUIPack v3200 - 22.09.2020
Hi,
We have further investigated and retested this here and applied a fix, the next version will address this. The fix was also related to the TTMSFNCListBox, due to the underlying TTMSFNCTreeview
thank you
This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.