Hi,
How can I get the text from a selected row, I only have one column, and I want to save the selected text to a variable when the user select the row and I can find a way to do this.
Hi,
How can I get the text from a selected row, I only have one column, and I want to save the selected text to a variable when the user select the row and I can find a way to do this.
I use the OnItemSelect event to get the text from the selected row. ItemNo is a string variable and SearchTableView is the name of the TMSFMXTableView
procedure TFormSearch.SearchTableViewItemSelect(Sender: TObject; ASection, ARow: Integer);
begin
ItemNo := SearchTableView.Sections[0].Items[Arow].Text;
end;
So far is working for me