TTMSFNCTableView OnItemAccessoryClick Event

Hi,

In this event is it possible to get the boundaries of the item?

Thanks,

Ken

That's not possible. For which specific circumstances do you need the boundaries?

I want to display an fmx form immediately below, or above, the item depending on its position.

Can you try with this

procedure TForm1.TMSFNCTableView1ItemAccessoryClick(Sender: TObject;
  AItem: TTMSFNCTableViewItem);
var
  er: TRectF;
begin
  er := TMSFNCTableView1.TreeView.GetNodeForRow(AItem.Index).ExtraRects[0];
end;
1 Like

Thank you Pieter. That is perfect :grinning:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.