2010-08-04

"ListBoxEnhanced" class adds row coloring & ColumnTag

I am sharing a REALbasic class I wrote, "ListBoxEnhanced", that adds  2 features to ListBox:

  • Alternate row coloring
  • ColumnTag
The row coloring works automatically. Just drag "ListBoxEnhanced" to your Window rather than ListBox. For existing ListBoxes on your forms, just change their "Super" property popup from "ListBox" to "ListBoxEnhanced".

To attach an object or value to a column, call the ColumnTag getter/setter methods.

For more info and downloads, see the "ListBoxEnhanced" section of this page.

Note that REAL Software has implemented ColumnTag for a future release, after REAL Studio 2010 Release 3.

No comments:

Post a Comment