[General Functions]
Description
Set MessageBox default width.
Syntax
void setMessageBoxWidth(MBOX_WIDTH width);
Parameters
[in] width
MessageBox width, MBOX_NORMAL, MBOX_LARGER, or MBOX_LARGEST.
Return
None.
Example
#include "myhmi.h"
void setup() {
Hmi.begin();
// put your setup code here, to run once:
Hmi.setMessageBoxWidth(MBOX_LARGER);
}
void loop() {
Hmi.showMessageBox("My Text", "OK", "No", "Yes");
// ...
}Please see the 86HMI Editor User Manual for more instructions on 86HMI widgets and API usage.