Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b> messagebar xbase commands</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MessageBar xBase commands
--------------------------------------------------------------------------------

  Creating a MsgBar from         SET MESSAGE OF <oWnd> ;
  source code                       TO <cPrompt> ;
  (traditional dBase way)           [ CENTERED ] ;
                                    [ FONT <oFont> ] ;
                                    [ CLOCK | TIME ] ;
                                    [ DATE ] ;
                                    [ KEYBOARD ] ;
                                    [ COLOR | COLORS <nClrFore>;
                                    [,<nClrBack>] ] ;
                                    [ NOINSET ]


  An alternative way             DEFINE MESSAGE OF <oWnd> ;
  (Objects creation way)            TO <cPrompt> ;
                                    [ PROMPT <cMsg> ]
                                    [ CENTERED ] ;
                                    [ FONT <oFont> ] ;
                                    [ CLOCK | TIME> ] ;
                                    [ DATE ] ;
                                    [ KEYBOARD ] ;
                                    [ COLOR | COLORS <nClrFore>;
                                    [,<nClrBack>] ] ;
                                    [ NOINSET ]

 Defining yours onw              DEFINE MSGITEM [ <oMsgItem> ] ;
 MsgItems.                          [ OF <oMsgBar> ] ;
                                    [ PROMPT <cPrompt> ] ;
                                    [ SIZE <nSize> ] ;
                                    [ FONT <oFont> ] ;
                                    [ COLOR | COLORS <nClrFore>;
                                    [, <nClrBack>] ] ;
                                    [ ACTION <uAction> ] ;

 <oWnd>          A reference to its container window

 <cPrompt>       The default msg to show

 <oFont>         An optional reference to a font object to use to
                     display the msg.

 <nClrFore>      Foreground color as a RGB number, or as a xBase string

 <nClrBack>      Background color as a RGB number

 <oMsgItem>      A reference of the MsgItem objet.

 <oMsgBar>       A reference of its container MsgBar.

 <nSize>         Size of the MsgItem.

 <uAction>


  CLAUSES

  CENTERED        If the text should show centered

  CLOCK | TIME    Time in the MsgBar.

  DATE            Date in the MsgBar.

  KEYBOARD        Keyboard status in the MsgBar.

  NOINSET         For a non-inset MsgBar appearance


See Also: Class TMsgBar

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