- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
ww王晓红《Delphi》实验指导书
《Delphi》双语
实 验 指 导 书
王晓红 主编
河北科技大学
信息科学与工程学院
2007.5
目 录
实验(1) Getting Started with Delphi
实验(2) More on Pascal
实验(3) The Delphi IDE Explored
实验(4) The Visual Component Model
实验(5) Working with the Form Designer and the Menu Designer
实验(6) VCL Components
实验(7) Creating Applications;Projects, the Code Editor and
the Code Explorer
实验(8) Debugging Your Applications;Delphi Tools and Options
实验(9) Building Database Forms;Building Database Applications
实验Getting Started with Delphi
实验目的:
通过个Delphi Application来熟悉Delphi环境。
实验内容:
通过个简单的Dephi程序来熟悉Delphi IDE环境。
实验环境:
操作系统:Windows 2000
开发环境:Delphi 7.0
实验Write a Windows program that displays the words Welcome to Delphi! on the window when the program runs.
Rewrite the program you wrote in step 1 and change the displayed text to Hello There! (Hint: You have to change only the Caption property of the Label component.)
Write a program that declares two variables and assign values to those variables. Multiply the two numbers together and display the result on the screen.
Write a program that assigns the string, There are eggs in a dozen. to a variable and then inserts the string 12 at the appropriate place in the string. Show the result in a label.
Write a program that creates the final result string in exercise 4, but formatted with the Format function.
实验报告
实验目的 实验内容 实验方法将实验要求用Delphi语言编写并调试运行。
查看运行结果,如果结果不正确,进行修改,直到正确为止。实验总结
编译、连接、运行不成功的操作情况,分析原因,改正的过程。 实验中的问题和提高。
收获与体会。
实验
实验目的:
通过设计几个程序来掌握基本的语法。
实验内容:
Test1、Test2之间的互调熟悉Pascal中的procedure。
实验环境:
操作系统:Windows 2000
开发环境:Delphi 7.0
实验Write a procedure called Test2 that changes the caption of a Label component. Put a button on a form and have the buttons OnClick handler call the Test2 procedure.
Take the program from exercise 1 and create another procedure called Test1 that, in turn, calls the Test2 procedure. Change the event handler of the button so that it calls Test1 rather than Test2.
Create a program that displays I will never talk back to my m
原创力文档


文档评论(0)