Version Property (VSFlexGrid)

Returns the version of the control currently loaded in memory.

Syntax

val% = [form!]VSFlexGrid.Version

Remarks

You may want to check this value at the Form_Load event, to make sure the version that is executing is at least as current as the version used to develop your application.

The version number is a three-digit integer where the first digit represents the major version number and the last two represent the minor version number. For example, version 7.00 returns 700.

The example below displays the version number of the control:

Private Sub Command1_Click()

     MsgBox "VSFlexGrid Version " & fg.Version, vbOKOnly

   

End Sub

Note

If you want your application to run correctly with older builds of VSFlex8, check the Version property before using these new features. For example:

if fg.Version >= 801 then fg.Copy

Data Type

Integer

See Also

VSFlexGrid Control