Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Can items in a ListBox be made non-selectable?


2 replies to this topic

rraskin

rraskin
  • Full Members
  • 3 posts

Posted 13 September 2011 - 21:21

I'm displaying a list at runtime of from zero to N items using an MSI ListBox. It works fine but some people have complained that the items in the list are selectable and can be highlighted.

Is there a way to prevent selection?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 September 2011 - 13:58

Have you tried setting the "disabled" flag of the control?
Or use a scrollable text box instead.

rraskin

rraskin
  • Full Members
  • 3 posts

Posted 19 September 2011 - 19:49

Thank you, sir.