Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Clearing List Boxes  RSS feed

 
Mrigasira Srinivas
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone tell me how can I clear multiple selection list box?
Regards
Yamini
 
xavier romea
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you want to remove all options of selection list box, just set each of its elements to NULL.
Or if you want to unselect every options of a selection list box, set to FALSE the property "selected" of all Options of the selection list box.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!