Form - ComponentVersion Property

Variant of the control being used

Member of Form (PRIM_FORM)

Data Type - Integer

Details

The ComponentVersion property dictates which version of the control is being used.
 
Occasionally, it is necessary for LANSA to make changes and improvements to controls that will not be backward compatible. ComponentVersion allows these changes to be coded in to the control without breaking existing behavior.
 
Whenever a control is dropped in the designer, the latest ComponentVersion will be applied to the newly created DEFINE_COM. This ensures that the latest version is being used, while DEFINE_COM commands in existing source remain unchanged.
 
It is recommended that you use the latest version of each control at all times.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020