1 / 8

Chapter 5 基本輸出入應用

Chapter 5 基本輸出入應用. InputBox 函式 ShowMessage 函式 MessageBox 函式 MessageBeep 函式. InputBox 函式. 語法 String = InputBox( 標題,提示訊息,預設值) 產生一個對話方塊,供給輸入資料. ShowMessage 函式. 提供一個簡單對話方塊的提示訊息 ShowMessage( “ 字串輸入 ” );. MessageBox 函式. 語法 Value = MessageBox( 訊息,標題,格式碼) 用來操作提示或警告訊息的對話方塊

chick
Download Presentation

Chapter 5 基本輸出入應用

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 5 基本輸出入應用 • InputBox 函式 • ShowMessage 函式 • MessageBox 函式 • MessageBeep函式 Windows Processing Design

  2. InputBox 函式 • 語法String = InputBox(標題,提示訊息,預設值) • 產生一個對話方塊,供給輸入資料 Windows Processing Design

  3. ShowMessage 函式 • 提供一個簡單對話方塊的提示訊息 • ShowMessage(“字串輸入”); Windows Processing Design

  4. MessageBox 函式 • 語法Value = MessageBox(訊息,標題,格式碼) • 用來操作提示或警告訊息的對話方塊 • Application->MessageBox(…);MessageBox(NULL,訊息,標題,格式碼); 訊息擁有者 Windows Processing Design

  5. MessageBox 函式cont. Windows Processing Design

  6. MessageBox 函式cont. Windows Processing Design

  7. MessageBox 函式cont. Windows Processing Design

  8. MessageBeep函式 • 撥放系統聲音來提示使用者 • Bool MessageBeep(Type); Windows Processing Design

More Related