[General Functions]
描述
Set MessageBox default width.
語法
void setMessageBoxWidth(MBOX_WIDTH width);
參數
[in] width
MessageBox width, MBOX_NORMAL, MBOX_LARGER, or MBOX_LARGEST.
Return
無
範例
#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使用手冊 for more instructions on 86HMI widgets and API usage.