From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
The selection of rows has changed.
SelectionChanged is called in the following situations:
- When the WebListbox is clicked to give it the focus
- When a cell is clicked even if it already is selected
- When a row is clicked to change the selection
Clicking on a header does not call the SelectionChanged event.
Display data from the selected row in a TextField so it can be edited:
Var lastName As String
lastName = Me.SelectedRowValue // Gets the first column
LastNameField.Value = lastName
ListBox desktop control.