点击旁边的”…”按钮,出现一个对话框,里面的编辑框旁边又有一个”…“按钮,点击它出现浏览文件夹框,在其中选中上面建的文件夹的路径,点确定,再点ok,回去new component;。
这时再点下面的ok就行啦,出现代码如下:
unit timecount;
interface
uses
messages, sysutils,classes,graphics,controls,extctrls;
type
ttimecount=class(tcustompanel)
private
published
public
published