AutoSize a ListBox Based on its Height
Category:
Forms and ControlsType:
SnippetsDifficulty:
IntermediateAuthor:
Intelligent Solutions Inc.Version Compatibility:
More information:
This snippet will adjust the height of a list box so that all its contents appear without a vertical scroll bar.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: