Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfsaybut()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfSayBut()
Displays a pushbutton
------------------------------------------------------------------------------
Syntax:

     dfSayBut( <nRow>, <nCol>, <cStr>, [<nTyp>] ,;
               [<cColBut>], [<cColHot>], [<cColT>] ,;
               [<cColB>], [<cColSel>], [<cColUn>] ) --> NIL

Parameters:

     <nRow>, <nCol> Button coordinates.
     <cStr>     Button text.
     <nTyp>     Button type.
     #include "dfSet.ch"
     +------------------------------------------+
     |  Type                      | # |         |
     |----------------------------+---+---------|
     |  AC_BUT_SAYNORMAL          | 1 | DEFAULT |
     |  AC_BUT_SAYSELECTED        | 2 |         |
     |  AC_BUT_SAYUNSELECTABLE    | 3 |         |
     |  AC_BUT_SAYPRESSED         | 4 |         |
     +------------------------------------------+
     <cColBut>  Text color.
     <cColHot>  Hot character color.
     <cColT>    Top color.
     <cColB>    Bottom color.
     <cColSel>  Background color when selected.
     <cColUn>   Background color when deactivated.

Returns:

     NIL

Description:

     Displays a dBsee pushbutton on the screen. For <cColT> and <cColB>,
     only the foreground color needs to be specified. The background color
     will be the one of the object on which the button is displayed.

Example:

     dfSayBut( 10,10, "Ok" )

See also:

     dfSay(), dfSayBox()

See Also: dfSay() dfSayBox()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson