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

📄 readme.htm

📁 TPicShow是一套图形平滑特效控制组件
💻 HTM
📖 第 1 页 / 共 3 页
字号:
    </B>If set to true, the control use a separated thread for the transition 
    process.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>ThreadPriority: 
    TThreadPriority<BR>
    TThreadPriority = (tpIdle, tpLowest, tpLower, tpNormal, tpHigher, tpHighest, 
    tpTimeCritical)<BR>
    </B> Determines the thread's scheduling priority relative to other threads 
    in the process.</FONT></LI>
</UL>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B><A NAME="METHODS"></A></B></FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><A NAME="METHODS"></A><BR>
  <FONT SIZE="4">KEY METHODS</FONT></B></FONT></P>
<UL>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>procedure 
    Execute<BR>
    </B> Initials the transition and if <I>Manual</I> property is set false, starts 
    it. If <I>Manual</I> property is set to true, after calling this method you 
    can change the value of <I>Progress</I> property.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>procedure 
    Clear<BR>
    </B>Clears the client area of the control. Notice that calling this method 
    does not clear the image loaded into <I>Picture</I> property.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>procedure 
    Stop<BR>
    </B>Stops the running transition.</FONT></LI>
</UL>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><A NAME="EVENTS"></A><BR>
  <FONT SIZE="4">KEY EVENTS</FONT></B></FONT></P>
<UL>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnAfterNewFrame: 
    TCustomDrawEvent<BR>
    TCustomDrawEvent = procedure(Sender: TObject; Picture, Screen: TBitmap) of 
    object<BR>
    </FONT></B><FONT SIZE="2"> This event is triggered just after creating a new 
    frame of the transition and before drawing it on the control's client area. 
    The Picture parameter is the original image and the Screen parameter is the 
    content of the control's client area after the new transition frame.<BR>
    <FONT COLOR="#990000">When PicShow is running in Threaded mode, this event 
    occurs in control's thread.</FONT><BR>
    <BR>
    </FONT></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>OnBeforeNewFrame: 
    TCustomDrawEvent<BR>
    </B></FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">TCustomDrawEvent 
    = procedure(Sender: TObject; Picture, Screen: TBitmap) of object<BR>
    </FONT></B><FONT SIZE="2"> This event is triggered just before creating a 
    new frame of the transition. </FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">The 
    Picture parameter is the original image and the Screen parameter is the content 
    of the control's client area before the new transition frame.</FONT><FONT SIZE="2"><BR>
    </FONT><FONT SIZE="2" COLOR="#990000">When PicShow is running in Threaded 
    mode, this event occurs in control's thread.</FONT><FONT SIZE="2"> <BR>
    </FONT></FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnChange: 
    TNotifyEvent </FONT></B><FONT SIZE="2">(TPicShow only)</FONT><B><FONT SIZE="2"><BR>
    </FONT></B><FONT SIZE="2">Occurs when content of <I>Picture</I> property has 
    changed.</FONT><BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnStart: 
    </FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"> TCustomDrawEvent<BR>
    TCustomDrawEvent = procedure(Sender: TObject; Picture, Screen: TBitmap) of 
    object</FONT><FONT SIZE="2"><BR>
    </FONT></B><FONT SIZE="2"> Occurs before beginning of the transition. After 
    calling <I>Execute</I> Method, the control copies the loaded image into a 
    bitmap and use it for transition purpose. </FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">The 
    Picture parameter is the original image and the Screen parameter is the content 
    of the control's client area just before any transition.</FONT> <FONT SIZE="2">When 
    this event is triggered, you can load another image into the component for 
    the next transition.<BR>
    <BR>
    </FONT></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnStop: 
    TNotifyEvent<BR>
    </FONT></B><FONT SIZE="2"> Occurs when transition is completed or aborted.<BR>
    <BR>
    </FONT></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnComplete: 
    TNotifyEvent<BR>
    </FONT></B><FONT SIZE="2"> Occurs when the transition effect has compeleted 
    normally. If transition stops by calling <I>Stop</I> method, this event does 
    not occur.<BR>
    <BR>
    </FONT></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>OnProgress: 
    TNotifyEvent<BR>
    </B>Occurs just after drawing a frame of the transition on the client area 
    of the control.<BR>
    </FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#990000">When 
    PicShow is running in Threaded mode, this event occurs in control's thread.</FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"> 
    <BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnCustomDraw: 
    TCustomDrawEvent<BR>
    TCustomDrawEvent = procedure(Sender: TObject; Picture, Screen: TBitmap) of 
    object<BR>
    </FONT></B><FONT SIZE="2"> If <I>Style</I> property set to 0, this event is 
    triggered when the control needs to create a new frame of the transition. 
    </FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"> The Picture 
    parameter is the original image and the Screen parameter is the content of 
    the control's client area, which should be updated.</FONT><FONT SIZE="2"><BR>
    </FONT><FONT SIZE="2" COLOR="#990000">When PicShow is running in Threaded 
    mode, this event occurs in control's thread.</FONT><FONT SIZE="2"> <BR>
    <BR>
    </FONT></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnMouseEnter: 
    TNotifyEvent<BR>
    </FONT></B><FONT SIZE="2"> Occurs when the mouse pointer moves over the control.<BR>
    <BR>
    </FONT></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnMouseLeave: 
    TNotifyEvent<BR>
    </FONT></B><FONT SIZE="2">Occurs when the mouse pointer moves off from over 
    the control.<BR>
    <BR>
    </FONT></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnAfterLoadPicture: 
    TNotifyEvent </FONT></B><FONT SIZE="2">(TDBPicShow only)</FONT><B><FONT SIZE="2"><BR>
    </FONT></B><FONT SIZE="2">Occurs when a new picture is loaded into the control.</FONT><BR>
    <BR>
    </FONT></LI>
  <LI> <FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnBeforeLoadPicture: 
    TNotifyEvent </FONT></B><FONT SIZE="2">(TDBPicShow only)</FONT><B><FONT SIZE="2"><BR>
    </FONT></B><FONT SIZE="2">Occurs when a new picture is being load into the 
    control.<BR>
    <BR>
    </FONT></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><FONT SIZE="2">OnGetCraphicClass: 
    TGetGraphicClassEvent</FONT></B><FONT SIZE="2">(TDBPicShow only)</FONT><B><FONT SIZE="2"><BR>
    TGetGraphicClassEvent = procedure(Sender: TObject; var GraphicClass: TGraphicClass) 
    of object; <BR>
    </FONT></B><FONT SIZE="2">Occurs when a new picture is about to load into 
    the control. TDBPicShow can recognize JPEG images stored in blob fields, however 
    it treats all other graphic formats as bitmap. This event gives this opportunity 
    to the application to specify the graphic class type of the data in the blob 
    field.</FONT></FONT></LI>
</UL>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><A NAME="KNOWN_BUGS"></A><BR>
  <FONT SIZE="4">KNOWN ISSUES</FONT></B></FONT></P>
<UL>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">The transition 
    of large images is slow.<BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">The control 
    does not support transparency.</FONT> </LI>
</UL>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B><A NAME="HISTORY"></A></B></FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><BR>
  <FONT SIZE="4">HISTORY</FONT></B></FONT></P>
<UL>
  <LI><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">3.08 (December 
    6, 2003)</FONT></B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><BR>
    - Native support for Windows Metafile (WMF) and Enhanced Metafile (EMF) image 
    formats added to TDPicShow.<BR>
    <BR>
    </FONT></LI>
  <LI><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">3.07 (November 
    17, 2003)</FONT></B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><BR>
    - The rotational effects (119..122) are optimized.<BR>
    </FONT><BR>
  </LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>3.06 (September 
    8, 2003)<BR>
    </B>- The bug in setting StyleName property fixed (Thanks to <A HREF="mailto:voyage_technologies@yahoo.com">Terry 
    Bogard</A>).<B><BR>
    <BR>
    </B></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>3.05 (July 
    26, 2003)<BR>
    </B>- The definition of the <I>OnStart</I> event changed. Now the event passes 
    the original image and its underlying screen as two bitmaps to the handler.<BR>
    - The new property <I>OverDraw</I> is added. When this property is True, the 
    control draws the new transition over the last one, otherwise before starting 
    a new transition it clears the screen to the background.<B><BR>
    <BR>
    </B></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B> 3.04 (July 
    12, 2003)</B><BR>
    - The bug on uninitialized off-screen bitmap fixed (Thanks to <A HREF="mailto:mgd@satelier.com.br">Miguel 
    Gastelumendi Dargent</A>).<BR>
    </FONT><BR>
  </LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>3.03 (July 
    6, 2003)<BR>
    </B>- The bug of corrupted image after loading it to TDBPicShow fixed.<B><BR>
    <BR>
    </B></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B> 3.02 (May 
    29, 2003)<BR>
    </B>- The bad result on rendering stretched images on Windows 2000 and XP 
    fixed.<B><BR>
    <BR>
    </B></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B> 3.01 (May 
    8, 2003)</B><BR>
    - The code related to thread's termination optimized (Thanks to <A HREF="mailto:vvv@spacenet.ru">Viatcheslav 
    V. Vassiliev</A>).<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>3.0 (February 
    16, 2003)</B><BR>
    - Transition effects moved to a separate unit.<BR>
    - The number effects increased to 150 effects.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>2.813 (January 
    11, 2003)</B><BR>
    - Known bugs of TDBPicShow fixed (Thanks to <A HREF="mailto:vsantamaria@enaco.es">Vicente 
    Santamar&iacute;a V&aacute;zquez</A>).<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>2.812 (October 
    25, 2002)</B><BR>
    - The components prevented Windows for being shutdown. This bug fixed.<BR>
    <BR>
    </FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>2.811 (September 
    28, 2002)<BR>
    </B>- Bug on proportional scaling of the image fixed.<BR>
    <B><BR>
    </B></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>2.81 (September 
    26, 2002)<BR>
    </B>- There was a memory leak on loading large images (more than 1MB) to the 
    control, which is fixed.<BR>
    - Race condition problem of the thread in TDBPicShow fixed.<BR>
    - New event OnGetGraphicClass added to TDBPicShow.<BR>
    - Algorithm of image rotation optimized.<BR>
    <B><BR>
    </B></FONT></LI>
  <LI><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B> 2.8 (September 
    10, 2002)<BR>
    </B>- Control's thread optimized. In threaded mode, control does not call 
    Delphi Synchronize function anymore to synchronize itself with the main VCL 
    thread. As the result, no more deadlock, faster thread termination, lower 
    CPU usage, and smoother transitions. However, because of this change, the 
    control cannot be compiled as non-windowed control anymore.<BR>
    - Now changing the value of <I>Manual</I>, <I>Progress</I>, and <I>Reverse</I> 

⌨️ 快捷键说明

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