addObjectDisplayAtShutdown
Keeps the current control set displayed on the pad after it is disconnected.
wizCtl.addObjectDisplayAtShutdown(id)
| Parameter | Description |
|---|---|
| id | String that identifies the object. (Optional) |
| Return values |
|---|
| The added object. Throws an exception if an error occurs. |
The following example shows the pad model name, keeps it on the display and disconnects the pad:
await wizCtl.reset(true);
wizCtl.addObjectText("txt1", "centre", "top", wizCtl.padModelName());
wizCtl.addObjectDisplayAtShutdown("txt");
await wizCtl.display(false);
await wizCtl.padDisconnect();