Here is an instruction that I cannot convert to delphi:
printer.startPrint(false, new OnPrintListener() { //roll paper or not
@Override
public void onPrintResult(final int retCode) {
runOnUiThread(new Runnable() {
@Override
public void run() {
Toast.makeText(PrinterActivity.this, retCode + "", Toast.LENGTH_SHORT).show();
}
});
}
});
Need help converting java instruction to delphi
in Algorithms, Data Structures and Class Design
Posted
Here is an instruction that I cannot convert to delphi:
printer.startPrint(false, new OnPrintListener() { //roll paper or not
@Override
public void onPrintResult(final int retCode) {
runOnUiThread(new Runnable() {
@Override
public void run() {
Toast.makeText(PrinterActivity.this, retCode + "", Toast.LENGTH_SHORT).show();
}
});
}
});
Regard.