<html><body bgcolor="#FFFFFF"><div>Can't remember the component name but there Is a free one out there, maybe Jedi that mimics that fully including stacking and decent event driven clicking. It works well<br><br>Regards,<div>Kyley</div><div>021-671821</div></div><div><br>On Nov 9, 2007, at 2:37 PM, "John Bird" <<a href="mailto:johnkbird@paradise.net.nz">johnkbird@paradise.net.nz</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
<div><font face="Arial" color="#0000ff" size="2"><span class="154222201-09112007">Anyone
looked at the little popup windows from Outlook/Skype messaging/Antivirus
programs/Google news alerts/, you know the little windows that slide into a
corner of the screen and/or fade in and out and thought "I would like to be able
to do that"?</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span class="154222201-09112007"></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span class="154222201-09112007">I
wrote a simple function in a standalone unit that can be called to
provide several such simple form effects - can be called for any form
instead of calling the show or hide methods. I thought I would do it as a
free giveaway, and for anyone to suggest any possible
improvements.</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span class="154222201-09112007"></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span class="154222201-09112007">It
does not do sounds on show/hide yet, but I may add that
later.</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span class="154222201-09112007"></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span class="154222201-09112007">Anyone
interested? either email me or I can post it here in email, its not very
long. And it looks pretty cool.</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span class="154222201-09112007">(I
have a full test program for it as well.)</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">here
is the description of the parameters</font></span></div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">(*<br>Form Effects</font></span></div>
<div> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">Freeware from JBCL - John Bird<br>A function unit - code only (no form
attached) that can be called<br>to provide some pretty form
effects.</font></span></div>
<div> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">Call
by function<br>jFormEffect(</font></span></div>
<div> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">
aForm TForm or descendent</font></span></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">
aShowfl one of jfeShow jfeShowModal jfeHide
jfeClose</font></span></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">
//from here to simplify parameters are in alphabetic order<br> Note you
can call using numbers, or if you prefer using the<br> constant values
defined below, as they are in scope -<br> eg for aShowfl can be 1 (show)
or you can use
jfeShow<br>
Hide form can be 3 or jfeHide</font></span></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">
aBorderfl Borderstyle of
form<br> 0=no
change<br>
jfeStd
(bsSizeable)<br>
jfeToolwin
(bsToolWin)<br>
jfeNone<br>
NOTE! only change this when form is not visible</font></span></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">
acolorfl 0=no set color of
form<br> 1=set to
aColorval folowing<br> aColorval if set sets color of
form.</font></span></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">
aFadefl
0=None<br> 1=Fade
in/out<br> Form becomes
gradually less transparent as
shows,<br> and more
transparent as hidden, (fades out gradually).</font></span></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">
aPosfl 0=No Move - use form
position<br> 1=Position at
point on screen, no
movement<br>
2=Moveout/Hide into border</font></span></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">
aPosVal 0=none (ie as
defined)<br>
rest correspond to clock hour
positions<br>
eg 1= 1 O'Clock is top border, on right
side<br>
2=right border, at top up to 12=middle top
border<br>
13=Centre<br>
for Show, this is where form ends
up<br>
for Hide, this is where form will disappear
to<br>
eg aPosFl=2 and aPosVal=1 means Form slides down when
shown<br>
or slides up into on Hide to or from 1 O'Clock position on
screen<br>
in the case of 1 O'Clock slides down from top right
hand<br>
corner of screen to occupy top right hand corner of
screen.<br>
and so on for the other 12 clock
positions<br>
eg 2 O'Clock is same position, but slides in
from<br>
the right screen border on
show,<br>
and off to the right on hide.</font></span></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">
aRollfl
0=None<br> 1=Roll
down/Roll up<br>
that is the form drops down from the title bar as shown,
and<br> rolls up
into the title bar as
hidden.<br> Can be
used along with the position function as well.</font></span></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div><span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2">
<div><br> aSmoothfl one of jfeLow jfeMed jfeHigh how
many iterations done</div>
<div> </div>
<div> aTimeval time in Milliseconds to take -
default 1000</div>
<div> </div>
<div><br>Note form show ends at transparency,pos and height of form as set when
called.<br>after disappears, set to original values so that show and hide do
valid things...</div>
<div> </div>
</font><div><font face="Arial" color="#0000ff" size="2">Note - to avoid windows UI bugs, do not change forms border type while
the<br>form is visible, only when not visible (does not repaint
correctly).<br>*)<br></font></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div>
<div class="Section1">
<p class="MsoAutoSig" align="left">John<span class="154222201-09112007"><font face="Arial" color="#0000ff" size="2"> </font></span></p>
<p class="MsoAutoSig" align="left"><span class="154222201-09112007"> </span></p></div>
</span></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>NZ Borland Developers Group - Delphi mailing list</span><br><span>Post: <a href="mailto:delphi@delphi.org.nz"><a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a></a></span><br><span>Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi"><a href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a></a></span><br><span>Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe</span></div></blockquote></body></html>