在delphi中如何把版权申明做成模板啊?(100分)

  • 主题发起人 主题发起人 scy_fjqz
  • 开始时间 开始时间
S

scy_fjqz

Unregistered / Unconfirmed
GUEST, unregistred user!
每次编程,都要申明是yina编的,但是每次都是做重复的工作,请教一招,
如何做成像delphi中自带的about box一样,做一个yina about box,
这样每次申明,就简单多啦!
 
在delphi/objrepos目录下找到about.pas,打开,修改一下存盘就可以了。
 
You use the Add To Repository dialog box to add new forms to the
Object Repository.
Add To Repository dialog box
Forms
Displays the names of the forms in the current project.
Title
Use this box to specify the name of the form to be added to the Repository.
Description
Use this box to type a description of the form. The description is dislayed
when you select the View Details option from the SpeedMenu in the New Items
dilaog box.
Page
Displays a list of the current pages in the Object Repository. Use this option
to select the Repository page to which you want to add your form.
Author
Use this box to type the name of the creator of the form you want to
add to the Repository.
Browse button
Use the Browse button to change the icon for the form you want to add to the
Repistory. The icon represents the bitmap that will appear in the New Items
and Repository Options dialog box. To change the bitmap, click the Browse
button to open the Select Bitmap dialog box.
You can use a bitmap of any size, but it will be cropped to 60 x 40 pixels.
 
比较愚蠢的办法:
在dpr的uses中,加入:
about in '/delphi工程/myabout/about.pas'
再调用。
 
scy_fjqz:不知你是否看清楚?
在你的申明窗口中单击鼠标右键,
弹出菜单中有一项Add To Repository,
选择它,输入一些相关信息即可。
下次在你的项目中,New一个就行了:)
 
呵呵!这么简单的问题,来迟了,最好的方法就是roboot的办法!
 
谢谢,我还有问题,请大家继续帮忙啊!并行进程的问题
 
后退
顶部