You define a type constant in the component type with a value. It is important to notice, that you set the value for the type, that is to say, that you can't change outside of the type. In addition, it is not visible to instances of the type.
Type constants can have two forms:
1 - only accessible from within the defining type = TRUE - meaning that descendants can't use it in methods
2- only accessible from within the defining type = FALSE - meaning that descendants can use it in methods
See also: instance constant« Back to Glossary Index