Populate an MSFlexGrid with Random Numbers

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility:

More information:
This snippet probably has little "real world" value. I sometimes use it to test how a flex grid will look in my application when it is populated with data before positioning and sizing it on the form. It is also good learning code for beginners, as it illustrates use of a number of properties of a FlexGrid.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: