| Index | Parent | HexEdit class |
HexEdit class is used to create a gadget to edit memory.
HexEdit class is a subclass of HexEdit.mcc, so you must have HexEdit.mcc in
MUI:Libs/MUI to use it.
HexEdit.mcc is copyright of Miloslaw Smyk.
A HexEdit object is very dangerous if you don't really know what you are doing!
| ATTRIBUTES | |||
|---|---|---|---|
| Name | Type | Class | Note |
| ActiveField | M G2N | ISGN | A number or one of:
|
| AddressChars | M G2N | ISGN | A number or Auto |
| BaseAddressOffset | N | IS | A boolean that indicates if the first address should be offset to 0. |
| BytesPerColumn | N | IG | |
| BytesPerLine | N | SGN | |
| ByteValue | B | SGN | |
| ColumnsPerLine | M G2N | IG | A number or Auto |
| CursorAddress | N | SGN | |
| CursorNibble | N | ISGN | |
| CursorVisible | B | ISGN | |
| EditMode | B | ISGN | |
| First | N | ISGN | |
| FirstLine | M | S | One of:
|
| FullRefresh | B | S | |
| HighBound | N IND | IG | A 4 bytes max long packet chars string (e.g. '7eeeeee'x) upper address of the mem to edit. Note that a wrong address may cause enforcer hits. |
| LowBound | N | IG | A 4 bytes max long packet chars string (e.g. '7eeee00'x) lower address of the mem to edit. Note that a wrong address may cause enforcer hits. |
| MoveCursor | M | S | One of:
|
| NibbleValue | N | SGN | |
| PropObject | S | IS | A Scrollbar object name. Note that at Init time the object have to exists. |
| SelectMode | M G2N | IG | A number or one of:
|
| VisibleLines | N | GN | |
| METHODS | ||
|---|---|---|
| Name | Parameters | Note |
| None defined | ||
Examples:
mem=GetSpace(1024)
if mem=Null() then exit
call Export(mem,Copies("RxMUI rulezzzz!!!",50))
...
he0.Class="HexEdit"
he0.Frame="Virtual"
he0.EditMode=1
he0.LowBound=mem
he0.HighBound=d2c(c2d(mem)+1023)
mem=GetSpace(1024)
if mem=Null() then exit
call Export(mem,Copies("RxMUI rulezzzz!!!",50))
...
sg1.Class="group"
sg1.Horiz=1
sg1.Spacing=0
sg1.0="he1"
he1.Class="hexedit"
he1.Frame="Virtual"
he1.EditMode=1
he1.LowBound=mem
he1.HighBound=d2c(c2d(mem)+1023)
he1.PropObject="Scroll1"
sg1.1=XNewObj("Scrollbar","Scroll1")
if mem=Null() then exit
...
win.UseRightBorderScroller=1
...
mem=GetSpace(1024)
if mem=Null() then exit
call Export(mem,Copies("RxMUI rulezzzz!!!",50))
...
sg2.Class="group"
sg2.Horiz=1
sg2.Spacing=0
sg2.0="he2"
he2.Class="hexedit"
he2.Frame="Virtual"
he2.EditMode=1
he2.LowBound=mem
he2.HighBound=d2c(c2d(mem)+1023)
he2.PropObject="Scroll2"
Scroll2.UseWinBorder="right"
sg2.1=XNewObj("scrollbar","Scroll2")