Class CheatComponent
The cheatcomponent class is the component used in Cheat Engine 5.x trainers.
Most people will probably want to design their own components but for those that don't know much coding and use the autogenerated trainer this will be used.
Inheritance
WinControl | CheatComponent 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object |
Properties
Activated | Toggles between the ActivationColor and the TextColor. |
Activationcolor | The textcolor to show when activated is true. |
Color | Background color. |
Description | Description part of the cheat line. |
Descriptionleft | The x position of the Description line. |
Editleft | The x position of the optional edit field. |
Editvalue | The string of the optional edit field. |
Editwidth | The width of the optional edit field. |
Font | The font to use to render the text. |
HasCheckbox | Decides if the checkbox should be shown. |
HasEditBox | Decides if the editbox should be shown. |
Hotkey | The hotkeypart of the cheat line. |
Hotkeyleft | The x position of the hotkey line. |
ShowHotkey | Decides if the hotkey label should be shown. |
Textcolor | Text color. |
Inheritance
- WinControl
- CheatComponent 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object
Properties
- Activated
-
Toggles between the ActivationColor and the TextColor.
Type:
boolean - Activationcolor
-
The textcolor to show when activated is true.
Type:
integer - Color
-
Background color.
Type:
integer - Description
-
Description part of the cheat line.
Type:
- Descriptionleft
-
The x position of the Description line.
Type:
integer - Editleft
-
The x position of the optional edit field.
Type:
integer - Editvalue
-
The string of the optional edit field.
Type:
- Editwidth
-
The width of the optional edit field.
Type:
integer - Font
-
The font to use to render the text.
Type:
- HasCheckbox
-
Decides if the checkbox should be shown.
Type:
boolean - HasEditBox
-
Decides if the editbox should be shown.
Type:
boolean - Hotkey
-
The hotkeypart of the cheat line.
Type:
string read - Hotkeyleft
-
The x position of the hotkey line.
Type:
integer - ShowHotkey
-
Decides if the hotkey label should be shown.
Type:
boolean - Textcolor
-
Text color.
Type:
integer