⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.htm

📁 免费控件PicShow的最新版本
💻 HTM
📖 第 1 页 / 共 3 页
字号:
<HTML>
<HEAD>
<TITLE>ReadMe</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#660000">
  <TR> 
    <TD> 
      <DIV ALIGN="CENTER"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="6" COLOR="#FFFFFF"><B>PicShow 
        Family Components v4.04</B></FONT></DIV>
    </TD>
  </TR>
</TABLE>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Copyright &copy; 
  <A HREF="mailto:kambiz@delphiarea.com">Kambiz R. Khojasteh</A>. All rights reserved.<BR>
  Get future component updates from <A HREF="http://www.delphiarea.com">http://www.delphiarea.com</A>.<BR>
</FONT></P>
<TABLE BORDER="1" CELLSPACING="2" CELLPADDING="5" BORDERCOLOR="#FFFFFF" ALIGN="LEFT">
  <TR BGCOLOR="#333333" ALIGN="CENTER" VALIGN="MIDDLE"> 
    <TD NOWRAP><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF"><B>Delphi 
      3</B></FONT></TD>
    <TD NOWRAP><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF"><B>Delphi 
      4</B></FONT></TD>
    <TD NOWRAP><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF"><B>Delphi 
      5</B></FONT></TD>
    <TD NOWRAP><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF"><B>Delphi 
      6</B></FONT></TD>
    <TD NOWRAP><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF"><B>Delphi 
      7</B></FONT></TD>
    <TD NOWRAP><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF"><B>Delphi 2005 </B></FONT></TD>
  </TR>
</TABLE>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><BR>
  <BR>
  </FONT></P>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="4"><B><A NAME="DESCRIPTION"></A><BR>
  DESCRIPTION</B></FONT></P>
<BLOCKQUOTE> 
  <P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">TPicShow is an 
    image slider control with 171 transitional effects in pure Delphi code. The 
    major characteristics of TPicShow are:</FONT></P>
  <UL>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Image transition 
      can be controlled programmatically</FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Image can 
      be stretched or centered in the client area of the control</FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Control can 
      show a background image as centered, stretched, or tiled</FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Transition 
      process can use a separated thread</FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">New transitional 
      effects can be easily implemented and added to the control<NOBR></NOBR></FONT></LI>
  </UL>
  <P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">TDBPicShow is 
    the data-aware version of TPicShow with ability to load bitmap, jpeg, and 
    metafile images (natively) from a blob field.</FONT></P>
  <P><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">IMPORTANT 
    NOTE FOR DELPHI 3.0 USERS</FONT></B><FONT SIZE="2">:<BR>
    </FONT></FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><FONT SIZE="2">Two procedures in 'Graphics.pas' 
      are missing a call to 'BitmapCanvasList.UnlockList'. <BR>
    This bug will cause VCL graphics functions, which have not been called from 
    the main thread, to hang. They cannot lock 'BitmapCanvasList' because the 
    main thread never unlocks it. Because of this bug, running PicShow in threaded 
    mode will lead your application to deadlock. For the bug's details and fix 
    please visit: <A HREF="http://www.dataweb.nl/~r.p.sterkenburg/generated/entry0016.htm">http://www.dataweb.nl/~r.p.sterkenburg/generated/entry0016.htm</A>.</FONT></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="4"><B><A NAME="INSTALLATION"></A><BR>
  HOW TO INSTALL</B></FONT></P>
<BLOCKQUOTE> 
  <P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Add the following 
    component's units into a new or existing package:</FONT> </P>
  <UL>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">PicShow.pas</FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">PSEffect.pas</FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">PSReg.pas 
      <FONT SIZE="1">(for design-time package only)</FONT></FONT></LI>
  </UL>
  <P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">The following 
    packages must be added to the <B>requires</B> clause of your package:</FONT></P>
  <UL>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">VCL</FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">VCLDB</FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">VCLJPG</FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">RTL <FONT SIZE="1">(for 
      Delphi 6 or higher only)</FONT></FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">DBRTL <FONT SIZE="1">(for 
      Delphi 6 or higher only)</FONT></FONT></LI>
    <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">DesignIDE 
      <FONT SIZE="1">(for design-time package of Delphi 6 or higher only)</FONT></FONT></LI>
  </UL>
</BLOCKQUOTE>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><A NAME="PROPERTIES"></A><BR>
  <FONT SIZE="4">KEY PROPERTIES</FONT></B></FONT></P>
<UL>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>AutoDisplay: 
    Boolean </B>(TDBPicShow only)<B><BR>
    </B> Determines whether the control automatically displays the contents of 
    a graphic BLOB in the database control.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>AutoSize: 
    Boolean<BR>
    </B>If set to true, Automatically sizes the control to the size of the loaded 
    image if any is loaded.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>BgMode: TBackgroundMode<BR>
    TBackgroundMode = (bmNone, bmTiled, bmStretched, bmCentered)<BR>
    </B> Determines how the control displays the background image on its client 
    area.<BR>
    <BR>
    </FONT> 
    <TABLE WIDTH="90%" BORDER="0" CELLSPACING="5" CELLPADDING="0" ALIGN="CENTER">
      <TR> 
        <TD WIDTH="15%" VALIGN="TOP"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>bmNone</B></FONT></TD>
        <TD WIDTH="20">&nbsp;</TD>
        <TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Ignores 
          the background image.</FONT></TD>
      </TR>
      <TR> 
        <TD WIDTH="15%" VALIGN="TOP"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>bmTiled</B></FONT></TD>
        <TD WIDTH="20">&nbsp;</TD>
        <TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Fills 
          the client area of the control by the background image as tiled.</FONT></TD>
      </TR>
      <TR> 
        <TD WIDTH="15%" VALIGN="TOP"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>bmStretched</B></FONT></TD>
        <TD WIDTH="20">&nbsp;</TD>
        <TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"> Fills 
          the client area of the control by stretching (or shrinking) the background 
          image.</FONT></TD>
      </TR>
      <TR> 
        <TD WIDTH="15%" VALIGN="TOP"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>bmCentered</B></FONT></TD>
        <TD WIDTH="20">&nbsp;</TD>
        <TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Draws 
          the background image on the center of the control's client area.</FONT></TD>
      </TR>
    </TABLE>
    <FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>BgPicture: 
    TPicture<BR>
    </B>Contains the background image of the control.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Busy: Boolean 
    </B>(Read-only)<B><BR>
    </B> Determines whether the control is performing an image transition.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Center: Boolean<BR>
    </B>If set to true and control's client area is larger than the loaded image, 
    the image will be centered within the control's boundaries.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Color: TColor<BR>
    </B> Determines the background color of the control.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>DataField: 
    String </B>(TDBPicShow only)<B><BR>
    </B> Specifies the field of dataset, which contains the image data.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>DataSource: 
    TDataSource </B>(TDBPicShow only)<B><BR>
    </B>Links the control to a dataset.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Delay: Word<BR>
    </B>Determines the amount of delay in milliseconds before showing the next 
    frame of the transition.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Empty : Boolean 
    </B>(Read-only)<B><BR>
    </B> Determines whether any image is loaded into the control.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>ExactTiming 
    : Boolean<BR>
    </B> When set to True, the transition of the image will take almost (0.01 * Step * Delay) milliseconds to complete. Otherwise, it may take more time for large images or slow machines.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>FrameColor : Color <BR>
  </B> Determines the color of the image's border.<BR>
  <BR>
  </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>FrameWidth : TBorderWidth <BR>
      </B> Determines the width of the image's border.<BR>
    <BR>
    </FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">  </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Manual: Boolean</B><BR>
    Determines whether the transition will be advanced manually. When this property 
    is true, the control does not advance the transition automatically and setting 
    the value of the <I>Progress</I> property will define the current frame of 
      the transition. When this property is false, the control automatically advances 
      the transition.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>OverDraw: 
    Boolean</B><BR>
    Determines whether the control draws a new transition on the last ones. When 
    this property is True, and current image and previous image has same dimensions, the control draws the new transition over the last 
    one. Otherwise before starting a new transition, the control clears its screen to background. <BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Picture: 
    TPicture </B>(Published in TPicShow only)<B><BR>
    </B>Contains the image that the next call to <I>Execute</I> will show it.<BR>
    <B><BR>
    </B></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Progress: 
    TPercent<BR>
    TPercent = 0..100<BR>
    </B> Determines the current state of the running transition. When <I>Busy</I> 
    property is false, changing this property has no effect.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Proportional: Boolean<BR>
  </B> Indicates whether the image should be changed, without distortion, so that it fits the bounds of the control. When Proportional is True, images that are too large to fit in the control are scaled down (while maintaining the same aspect ratio) until they fit in the control. Images that are too small are displayed normally. <BR>
  <BR>
  </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Reverse: 
      Boolean<BR>
    </B>If set to true, automatic transitions plays in reverse.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Step: Word<BR>
    </B>Determines the amount of change in <I>Progress</I> in automatic transition.<BR>
    <BR>
  </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Stretch: 
    Boolean<BR>
    </B> If set to true, when the control's client area is larger than the loaded 
    image, the image it will be stretched (or shrinked) to fit within the control's 
    boundaries.<BR>
    <BR>
  </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Style: TShowStyle<BR>
    TShowStyle = 0..171<BR>
    </B> Specifies the index of the transition effect that will be used. By setting 
    this property to zero, an <I>OnCustomDraw</I> event will be fired just before 
    showing a new frame.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>StyleName: 
    String<BR>
    </B>Specifies the name of the transition effect that will be used.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Threaded: 
    Boolean<BR>
    </B>If set to true, the control use a separated thread for the transition 
    process.<BR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -