当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: {-------------------------------
 

 

 ·创建不规则窗口     »显示摘要«
    摘要:// 方法一 :利用不规则图片 (1)procedure tform1.formcreate(sender: tobject);begin self.clientwidth := hotimage1.width ; self.clientheight := hotimage1.height ; brush.style:=bsclear;end; (2)把form1 的 borderstyle ......
 ·delphicommand-linecompiler     »显示摘要«
    摘要:defproj.cfg__ default configuration which compiled by all projects defproj.dof__default configuration of all projects. delphi command-line compiler the command-line compiler lets you invoke all the......


注册文件类型,设置文件图标

{-------------------------------------------------------------------------------

  @过程名:    slpert -> tfm_main.setassociatedexec 【程序编程相关:创建智能的、灵活的解决方案 第 2 部分

【推荐阅读:创建智能的、灵活的解决方案: 第 3 部

  @作者:      gavin 【扩展信息:创建智能的、灵活的解决方案

  @日期:      2004.09.08

  @功能描述:

  @参数:      fileext, filetype, filedescription, mimetype, execname: string

  @返回值:    boolean

-------------------------------------------------------------------------------}

function tfm_main.setassociatedexec(fileext, filetype, filedescription,

  mimetype, execname: string): boolean; {修改成功,返回true,否则false}

var

  reg: tregistry;

  shfileinfo: tshfileinfo;

  iconindex: integer;

begin

  result := false; {}


...   下一页
 ·组件制作之一(概念)     »显示摘要«
    摘要:作为组件制作的开始,应该了解一些概念,我以为这些概念是非常重要的,将可以作为以后实践的理论基础。?一,?组件的简要层次结构。一般情况下,vcl的组件可以从tcomponent为开始。其最明显的特征就是它的属性可以在设计时通过对象察看器来操纵,另外,他还能拥有其他组件。从tcomponent下,分出非可视组件和可视组件。非可视组件如topendialog,ttimer,ttable等,这些组件因为继......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE