
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_button()
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
C_BUTTON()
DESCRIPTION
The C_BUTTON() function displays a given character string in a
button box at the specified coordinates. A button box is a small,
rectangle of color around a text string with a shadow on the bottom
and right side of the box. The box can be displayed in the current
color settings or optional colors can be specified for the box and
shadow.
SYNTAX
C_BUTTON(row, column, string [,color] [,shadow_color])
PARAMETERS
row (N) is the row to start the button box.
column (N) is the column to start the button box.
string (C) is the character string to display in the button box.
color (C) is the color to display for the character string. If
color is not specified, the current Clipper color is used.
shadow_color (C) is the color to display for the shadow. If
shadow_color is not specified, the current screen color located at
the specified starting row and column is used.
RETURNS
There is no return value.
EXAMPLES
&& Draws a button box in white on blue with a white shadow on a
&& a black background.
c_button(10,10,"Add Record","W/B","W/N")
...
...
...
&& Draws a button box in white on red with a black shadow on a
&& blue background.
setcolor("W/B")
clear
c_button(10,10,"Add Record","W/R","W/N")
See Also: C_POP() C_BOX() C_SHADOW() C_SHADOWIT() C_XSHADOW()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson