当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: (七)抓取窗体或控件图片窗体创建一个新的Form2,保存为Capture2.pas。
 

 

    摘要:相信大家会经常遇到需要在web页面上给用户生成excel报表的情况。我刚好在最近的工作中遇到了,下面是一个使用jxl包(一个开源的包)的实例。 //servlet中生成提供下载的excel文档的例程,这里用的是jxl包,当然也可以用apache的poi包试试。 public void dopost(httpservletrequest request,httpservletresponse res......
    摘要:要学习winform编程,关于软件自动升级的部分,今天一早就在csdn上找资料,终于有点概念了。 发现了一个不错的ftp站点,收藏了ftp://202.107.251.26 ......


Delphi图象截取编程示例(7)

(七)抓取窗体或控件图片窗体

创建一个新的form2,保存为capture2.pas.设置属性bordericons的四个属性为false. 【程序编程相关:把控件加到toolbar上

【推荐阅读:ASP 验证码的程序及原理

borderstyle设为bsnone,formstyle设为fsstayontop. 【扩展信息:如何获取MSSQLServer,Orac

两个公共变量:frect:trect,fbmp:tbitmap;

unit capture2;

interface

uses

  windows, messages, sysutils, variants, classes, graphics, controls, forms,

  dialogs;

type

  tform2 = class(tform)

    procedure formcreate(sender: tobject);

    procedure formactivate(sender: tobject);

    procedure formdestroy(sender: tobject);

    procedure formpaint(sender: tobject);

    procedure formmouseup(sender: tobject; button: tmousebutton;

      shift: tshiftstate; x, y: integer);


...   下一页
    摘要:大家都知道 splist对象有个属性 items ,在文档中是这样解释的 the items property of the splist class gets the collection of all items in the list. remarks返回当前 list中的所有的item对象集合 the items property returns all the files in a ......
» 本期热门文章:

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