B4J Question ..deselect Treeview/Listview..

Ecco

Member
..hi guys..i hope my first thread will not be as annoying as my question is for me..i would like to know, how can i manually deselect Treeview/Listview..when i click on an item inside either one, same item remain selected until i click on to other item inside...how to manually deselect one ?? Thank you in advance..
 

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
hi!

Like this:

B4X:
Dim jo AsJavaObject = yourListViewOrTreeView
jo.RunMethodJO("getSelectionModel", Null).RunMethod("clearSelection", Null)
 
Upvote 0

Similar Threads

Top