Download presentation
Presentation is loading. Please wait.
1
Hung-Hsiang WuWindows Processing Design1 Chapter 7 其他基礎控制 ScrollBar 應用 MainMenu 應用 PopupMenu 應用 Timer 應用 Image 應用 BitBtn 及 SpeedButton 應用
2
Hung-Hsiang WuWindows Processing Design2 ScrollBar 應用 利用 ScrollBar 來變更資料 ScrollBar 屬性: Kind:sbHorizontal and sbVertical LargeChange (Default = 1) Max (Default = 100) Min (Default = 0) SmallChange (Default = 1) Position
3
Hung-Hsiang WuWindows Processing Design3 ScrollBar 應用 cont. Min Max Position 1.OnScroll Event 2.Change Event
4
Hung-Hsiang WuWindows Processing Design4 MainMenu 提供整個操作環境的功能分類 MainMenu 屬性 Items Short Cut Bitmap Enabled 分隔符號 MainMenu 應用
5
Hung-Hsiang WuWindows Processing Design5 PopupMenu 應用 PopupMenu 的目的是使用常用的指令 PopupMenu 屬性 把 Form 的 PopupMenu 屬性指向元件上
6
Hung-Hsiang WuWindows Processing Design6 Timer 應用 Timer 可用來執行某些週期性的工作 Timer 屬性 Interval ( Default = 1000ms, 0 : not Call ) Timer 事件 利用 Time() 顯示時間
7
Hung-Hsiang WuWindows Processing Design7 Image 應用 Image 可用來展示多種影像格式 Image 屬性 Picture :顯示圖片名稱 AutoSize :與讀取的影像同等大小 (Bool) Stretch :控制項的大小配合影像大小 (Bool)
8
Hung-Hsiang WuWindows Processing Design8 BitBtn 及 SpeedButton 應用 BitBtn 比 Button 多了圖示的顯示 SpeedButton 與 Button 功能相近 多了 GroupIndex 屬性,將 Button 分門別類
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.