1 / 10

设计 『 屏幕保护程序 』

设计 『 屏幕保护程序 』. 廖义红 浮桥中学. 定时器循环 ( 复习 ). 定时 器. 定时器的两个属性 : 1、Enabled ( 为 True 时,定时器开始工作; 为 False 时,定时器停止工作) 2 、 Interval 决定了定时器产生 Timer 事件的时间间隔. 对象的部分属性. 对象的部分属性. 例 : 在 Label1 标签上显示 ” 欢迎您 ” Label1.caption= “ 欢迎您 ” 将按钮 Command1 上文字改为 ” 确定 ” Command1.Caption= “ 确定 ” 禁用按钮 Command1

berny
Download Presentation

设计 『 屏幕保护程序 』

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. 设计『屏幕保护程序』 廖义红 浮桥中学

  2. 定时器循环(复习) 定时器 定时器的两个属性: 1、Enabled (为True时,定时器开始工作; 为False时,定时器停止工作) 2、Interval 决定了定时器产生Timer事件的时间间隔

  3. 对象的部分属性

  4. 对象的部分属性 • 例:在Label1标签上显示”欢迎您” Label1.caption=“欢迎您” 将按钮Command1上文字改为”确定” Command1.Caption=“确定” 禁用按钮Command1 Command1.Enabled=False 将标签Label1移到窗口的左上角 Label1.Left=0 Label1.Top=0

  5. 屏幕保护程序 • 设置窗口外观 • 定时移动文字或图片 • 单击窗口或文字,结束程序

  6. 屏幕保护程序 • 演示

  7. 屏幕保护程序 • 设置窗口外观 • 1、将窗口边框设置为无

  8. 屏幕保护程序 • 2、将窗口最大化

  9. 屏幕保护程序 • 定时移动文字或图片 • 将文字垂直居中 • 将文字从屏幕右边向左移动一个距离 • 如果文字已全部移出屏幕,要将文字重新移到右边。

  10. 屏幕保护程序 • 单击窗口或文字,结束程序 • end

More Related