Class Addresslist
Inheritance
Panel | Addresslist 🡄 Panel 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object |
Properties
CheckboxActiveColor | |
CheckboxActiveSelectedColor | |
CheckboxColor | |
CheckboxSelectedColor | |
Count | The number of records in the table. |
DecreaseArrowColor | |
ExpandSignColor | |
FIXME [] | Default accessor. |
IncreaseArrowColor | |
MemoryRecord [] | Array to access the individial memory records. |
OnAddressChange | Called when the user initiates an address column change on a record. |
OnDescriptionChange | Called when the user initiates a description column change on a record. |
OnTypeChange | Called when the user initiates a type column change on a record. |
OnValueChange | Called when the user initiates a value column change on a record. |
SelCount | The number of records that are selected. |
SelectedBackgroundColor | |
SelectedRecord | The main selected record. |
SelectedSecondaryBackgroundColor |
Methods
createMemoryRecord () | Creates an generic cheat table entry and add it to the list. |
disableAllWithoutExecute () | Disables all memory records without executing their [Disable] section. |
doAddressChange () | Will show the GUI window to change the address of the selected entry. |
doDescriptionChange () | Will show the GUI window to change the description of the selected entry. |
doTypeChange () | Will show the GUI window to change the type of the selected entries. |
doValueChange () | Will show the GUI window to change the value of the selected entries. |
getCount () | |
getMemoryRecord ( index ) | |
getMemoryRecordByDescription ( description ) | Returns a MemoryRecord object. |
getMemoryRecordByID ( ID ) | |
getSelectedRecord () | Gets the main selected memoryrecord. |
getSelectedRecords () | Returns a table containing all the selected records. |
setSelectedRecord ( memrec ) | Sets the currently selected memoryrecord. |
Inheritance
- Panel
- Addresslist 🡄 Panel 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object
Properties
- CheckboxActiveColor
-
Type:
color - CheckboxActiveSelectedColor
-
Type:
color color - CheckboxColor
-
Type:
color - CheckboxSelectedColor
-
Type:
color - Count
-
The number of records in the table.
Type:
integer - DecreaseArrowColor
-
Type:
color - ExpandSignColor
-
Type:
color - FIXME []
-
Default accessor.
Same as MemoryRecord []
Type:
array - IncreaseArrowColor
-
Type:
color - MemoryRecord []
-
Array to access the individial memory records.
Type:
array - OnAddressChange
-
Called when the user initiates an address column change on a record.
Return true if you handle it, false for normal behaviour.
Type:
functionUsage:
Addresslist.OnAddressChange = function(addresslist ,memrec)
- OnDescriptionChange
-
Called when the user initiates a description column change on a record.
Return true if you handle it, false for normal behaviour.
Type:
functionUsage:
Addresslist.OnDescriptionChange = function(addresslist, memrec)
- OnTypeChange
-
Called when the user initiates a type column change on a record.
Return true if you handle it, false for normal behaviour.
Type:
functionUsage:
Addresslist.OnTypeChange = function(addresslist ,memrec)
- OnValueChange
-
Called when the user initiates a value column change on a record.
Return true if you handle it, false for normal behaviour.
Type:
functionUsage:
Addresslist.OnValueChange = function(addresslist, memrec)
- SelCount
-
The number of records that are selected.
Type:
integer - SelectedBackgroundColor
-
Type:
color - SelectedRecord
-
The main selected record.
Type:
- SelectedSecondaryBackgroundColor
-
Type:
color
Methods
- createMemoryRecord ()
- Creates an generic cheat table entry and add it to the list.
- disableAllWithoutExecute ()
- Disables all memory records without executing their [Disable] section.
- doAddressChange ()
- Will show the GUI window to change the address of the selected entry.
- doDescriptionChange ()
- Will show the GUI window to change the description of the selected entry.
- doTypeChange ()
- Will show the GUI window to change the type of the selected entries.
- doValueChange ()
- Will show the GUI window to change the value of the selected entries.
- getCount ()
-
Returns:
-
integer
- getMemoryRecord ( index )
-
Parameters:
- index integer
Returns:
- getMemoryRecordByDescription ( description )
-
Returns a MemoryRecord object.
Parameters:
- description string
Returns:
- getMemoryRecordByID ( ID )
-
Parameters:
- ID integer
Returns:
- getSelectedRecord ()
-
Gets the main selected memoryrecord.
Returns:
- getSelectedRecords ()
-
Returns a table containing all the selected records.
Returns:
- setSelectedRecord ( memrec )
-
Sets the currently selected memoryrecord.
This will unselect all other entries.
Parameters:
- memrec MemoryRecord