Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7062 มุมมอง

How to add pop up message or message box with message every button clicked?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

One way is adding confirm attribute to xml button definition like:

<button string="TEST BUTTON" type="object" name="name_of_method" confirm="Are you sure ..." />

after module upgrade you will have confirm message popup asking: Are you sure...
 

hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to make pop ups after actions? แก้ไขแล้ว
2
ก.ค. 25
6759
0
พ.ย. 23
1369
1
ก.ย. 23
2330
1
ก.ค. 22
1125
How to display dialog box แก้ไขแล้ว
19
ส.ค. 20
49898