当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: type TForm1 = class(TForm) But
 

 

 ·delphi开发用doa运行存储过程    »显示摘要«
    摘要:陶占红   用delphi开发c/s结构的oracle数据库软件时,为提高效率,通常将大批量的数据处理交给后台存储过程来完成。由于delphi需通过bde才能操作和处理各种数据库文件,这样不仅效率低,而且存在一定局限性,所以考虑采用第三方工具doa来提高交互效率,方便前后台信息的传递。   doa(即direct oracle access的缩写)是荷兰allround automatio......
 ·dfm文件与标准文本文件转换    »显示摘要«
    摘要: 在delphi可视化设计环境中,允许程序员在代码编辑器中以文本的方式浏览和修改dfm文件内容。当用file/open命令直接打开dfm文件或者选择窗体设计窗口的弹出式菜单上的view as text命令时,就会在编辑器中出现文本形式的信息。在一些资料中将这种文本形式称之为窗体设计脚本。delphi提供的这种脚本编辑功能是对delphi可视化设计的一大补充。当然这个脚本编辑能力是有限制的,比方说不......


Delphi中设置默认打印机
type

  tform1 = class(tform) 【程序编程相关:Delphi中对象解除技巧

【推荐阅读:定制系统菜单

    button1: tbutton; 【扩展信息:delphi中的dll使用方法

    combobox1: tcombobox;

    procedure button1click(sender: tobject);

    procedure formcreate(sender: tobject);

  private

    { private declarations }   

  public

    { public declarations }

  end;

{...}

procedure tform1.formcreate(sender: tobject);

begin

  { tell printer to go to the default by setting

    the printerindex value to -1 }

  printer.printerindex := -1;

  { make our combobox non-editable }

  combobox1.style      := csdropdownlist;

  { set our combobox items to the printer printers }

  combobox1.items      := printer.printers;

  { set combobox to view the default printer

    according to printer printerindex as set above }


...   下一页
 ·delphi数学运算函数    »显示摘要«
    摘要:作者:lyboy99 e-mail:lyboy99@sina.com url: http://hnh.126.com 给大家提供几个常用函数,希望可以对你有帮助. 用下面的函数可以轻松,设计个强大的科学计算机器. function rnd(arg1:double):double; begin result := random * int(arg1); end; function arcs......
» 本期热门文章:

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