[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FUNCTION SBSHADOW()
Short:
------
SBSHADOW() Draw a shadow around a box
Returns:
--------
<aSaved> => an array containing the two saved screen
sections
Syntax:
-------
SBSHADOW(nTop,nLeft,nBottom,nRight,nShadowPos,nShadowAtt)
Description:
------------
Draws a shadow for box described in coordinates
<nTop,nLeft,nBotton,nRight>
The shadow is of color <nShadowAtt> and is at
position <nShadowPos>, which is one of the following:
LOWER LEFT 1
LOWER RIGHT 3
UPPER LEFT 7
UPPER RIGHT 9
Returns an array with the saved screens for each side
of the shadow.
This array can be passed to SBUNSHADOW() for
restoring the previous screen.
Examples:
---------
Dispbox(10,10,20,20)
aSaved := sbshadow(10,10,20,20,3,8)
// draws a shadow in the lower right
// of color gray on black
sbunshadow(aSaved) // restore old screen
otes
Source:
-------
S_BOXES.PRG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson