Application.Initialize//用初始化一个应用程序
Application.CreateForm//用来在创建下个窗体
Application.Run //用来执行程序呀
呵呵,故名思义嘛。不过一般都要写在工程文件中。
Application.CreateForm//用来在创建下个窗体
Application.Run //用来执行程序呀
呵呵,故名思义嘛。不过一般都要写在工程文件中。
解决方案 »
- qq600415接分
- 主窗体打开子窗,主窗体这个时候便失效了`希望主窗和子窗体同时有效怎么做~
- 怎么样才能操作dat文件?
- 如何 用selec语句 将n(n > 2) 个结构相同的表 有条件地查询出来 ?[access2000库]
- 在access数据库中只要有“マイ フレンド”,如果在查询语句中使用了"name like '%王%'",那么就会出现内存溢出的问题,怎么解决啊?
- 请问有什么画饼图控件?
- 有关报表问题,100分等你拿
- ============================高智商朋友请帮忙,一首难题。================================
- 各位大虾请帮帮小弟。—》怎样打印stringgrid的内容,如何改变打印的分辨率(stringgrid)?
- 问个题外的问题game
- 求多条件查询算法
- 有关于NT应用服务程序编制的问题
Create a custom initialization procedure that assigns a value to the InitProc pointer, and add a call to this procedure to the project source prior to the call to Initialize (that is, add it to the initialization section of the unit in which it is declared).Warning: Only one instance of InitProc can be defined in an application. If more than one unit assigns a value to InitProc, only the last assignment will work. You can, however, call the previous value of InitProc from an initialization procedure, so that all initialization procedures are executed.For projects that do not assign a value to InitProc, the call to Initialize can be safely deleted from the project source.Note: Although Initialize is the first method called in the main project source code, it is not the first code that is executed in an application. The application first executes the initialization?section of all the units used by the application.2:Application.CreateForm请参考
http://www.csdn.net/expert/topic/966/966004.xml?temp=.53321473:application.runDo not call Run. When creating a new project, The IDE automatically creates a main program block in the project file that calls the Run method. When the application is executed, the application抯 Run method is called.Run contains the application抯 main message loop. The call to Run does not return until the application抯 message loop terminates.
Application.CreateForm//用来在创建下个窗体 and 运行
Application.Run //用来执行程序呀 and 关闭
呵呵,故名思义嘛。不过一般都要写在工程文件中。