- Learning Google Apps Script
- Ramalingam Ganapathy
- 73字
- 2021-07-16 12:40:05
Creating a modeless dialog
Now we will create a modeless dialog and see the difference between modal and modeless dialogs. Update the showDialog
function as shown here:
function showDialog() { var html = HtmlService.createHtmlOutputFromFile('Index'); DocumentApp.getUi() .showModelessDialog(html, 'Greeting'); }
Note that the showModalDialog
method has been changed to showModelessDialog
.
Modeless dialogs do not prevent you from doing other things, such as editing the document, and you can drag the dialog around as shown here:

推薦閱讀
- Mastering ServiceStack
- JavaScript修煉之道
- Dynamics 365 Application Development
- 控糖控脂健康餐
- Mastering Concurrency in Go
- Visual Basic程序設計實驗指導(第4版)
- Android開發案例教程與項目實戰(在線實驗+在線自測)
- Java編程的邏輯
- 計算機應用基礎項目化教程
- App Inventor少兒趣味編程動手做
- Magento 2 Beginners Guide
- 寫給大家看的Midjourney設計書
- Mastering SciPy
- Mastering PowerCLI
- Android高級開發實戰:UI、NDK與安全