MIAMEX 126: Sink / Unsink field

xcall MIAMEX, MX_SINK, opcode, srow, scol, erow, ecol, bgc

Causes the specified box to be "sunk" or "unsunk", based on opcode (1 to sink, 0 to unsink). This is the same routine used by INFLD to give the field being editing the appearance of being slightly sunken. You can also get this effect by using the MBF'SUNKEN flag with MIAMEX 119 to create a static text control with that style, but in that case, you cannot freely write on top of the control. With MIAMEX 126, the effect does not conflict with character-level I/O to that screen area (which is why it works with INFLD).

History

2004 February, A-Shell 4.9.866:  Function added to A-Shell.