If you need to remove a detail line:
The line will be deleted. Note that lines without account codes are automatically removed when the transaction is accepted (if the line has a value, this will cause the transaction to go out of balance, and MoneyWorks will decline to accept it).
Alternatively, you can Right-click (option click if you must use a one button Mac mouse) on the detail line and choose Delete Detail Line from the contextual menu that appears