What should I do to make a TListview readonly ?
What should I do to make a TListview readonly ?
I can't find such property. Under Android user can swipe an item the left and touch the delete button.
Thanks
I can't find such property. Under Android user can swipe an item the left and touch the delete button.
Thanks
http://docwiki.embarcadero.com/Libraries/Berlin/en/FMX.ListView.TListViewBase.CanSwipeDelete
ReplyDeleteI've used the next solution with a TTreeView: Drop inside the TListView a Layout and align it to "Client". Programmatically you can set in this Layout HitTest to True if you want that the Mouse Keys don't go to the ListView.
ReplyDeleteI put here a little piece of my code:
procedure TConfigurationsController.AfterChangeMode(Value :TMode);
begin
FView.LayoutCurtain.HitTest := Value = TMode.fmEdit;
end;
Ooopps, didn't saw it. Thanks
ReplyDelete