OgReg

TurboPack OnGuard FMX

OgReg Unit

The OgReg unit contains the TOgCodeGenEditor class which is used as a Property Editor in the IDE.

This unit also exposes the Register procedure used to register the components in Delphi.

 

The register procedure adds a component editor to TOgCodeBase with two actions: Generate Code and Generate Key.

 

TOgCodeBase is also given property editors:

·Code = TOgCodeProperty

·Modifier = TOgModifierProperty

·About = TOgAboutProperty

 

TOgProtectExe, TOgMakeCodes, and TOgMakeKeys are given the TOgAboutProperty property editor.

 

TOgMakeCodes and TOgMakeKeys are given the TOgFileNameProperty property editor on the KeyFileName property.