Lua:Class:Panel
(Redirected from Panel)
Jump to navigation
Jump to search
Panel Class: (Inheritance: WinControl->Control->Component->Object)
Represents a Panel control that can be used as a container for other controls in Cheat Engine forms.
Contents
Creation[edit]
createPanel(owner)
Creates a Panel object which belongs to the given owner. Owner can be any object inherited from WinControl.
Properties[edit]
Property | Type | Description |
---|---|---|
Alignment | alignment | Specifies the alignment of the panel within its parent. |
BevelInner | panelBevel | Specifies the inner bevel style of the panel. |
BevelOuter | panelBevel | Specifies the outer bevel style of the panel. |
BevelWidth | Integer | Width of the bevel. |
FullRepaint | Boolean | If true, the panel is fully repainted when updated. |
Methods[edit]
Method | Parameters | Returns | Description |
---|---|---|---|
getAlignment | None | alignment | Gets the alignment property. |
setAlignment | alignment | None | Sets the alignment property. |
getBevelInner | None | panelBevel | Gets the inner bevel style. |
setBevelInner | panelBevel | None | Sets the inner bevel style. |
getBevelOuter | None | panelBevel | Gets the outer bevel style. |
setBevelOuter | panelBevel | None | Sets the outer bevel style. |
getBevelWidth | None | Integer | Gets the bevel width. |
setBevelWidth | Integer | None | Sets the bevel width. |
getFullRepaint | None | Boolean | Gets the FullRepaint property. |
setFullRepaint | Boolean | None | Sets the FullRepaint property. |
Examples[edit]
-- Create a panel and set some properties local form = createForm() local panel = createPanel(form) panel.Align = "alTop" panel.BevelInner = "bvRaised" panel.BevelOuter = "bvLowered" panel.BevelWidth = 2 panel.FullRepaint = true