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 - Norton Guide http://www.X-Hacker.org [^^Up^^] [Menu] [About The Guide]
 8.6 Event-Driven programming
--------------------------------------------------------------------------------
 What are event-driven applications ?                                        .
 How may I control events ?                                                  .
 Do I need to care about events ?                                            .

 Events management xBase commands
--------------------------------------------------------------------------------
 ... ON <EventName> <uAction> ...                                            .

 Events management Object Oriented management
--------------------------------------------------------------------------------
 Following are some of the most used events related codeblocks.
 You may review a certain class documentation to find the
 related event codeblock you are looking for.

 TWindow Class
 bInit           Code Block to execute on initialization
 bMoved          Code Block to execute after moving the window
 bLClicked       Code Block to execute when left clicking the mouse
 bKeyDown        Code Block to execute when pressing a key
 bPainted        Code Block to execute when painting the Window
 bRClicked       Code Block to execute when right clicking the mouse
 bResized        Code Block to execute after resizing a Window
 bLDblClick      Code Block to execute when left double clicking the mouse
 bWhen           Code Block for WHEN clause
 bValid          Code Block for VALID clause
 bKeyChar        Code Block to execute when pressing a no-control key
 bMMoved         Code Block to execute when moving the mouse
 bGotFocus       Code Block to execute when receiving the focus
 bLostFocus      Code Block to execute when losing the focus

 TWBrowse Class
 bSkip           Like Clipper TBrowse:skipBlock. We provide a default fast
                 DataBase skipper.
 bGoTop          Like Clipper TBrowse:goTopBlock. We provide a default
                 DataBase bGoTop.
 bGoBottom       Like Clipper TBrowse:goBottomBlock. We provide a default
                 DataBase bGoBottom.
 bChange         CodeBlock to perform when moving from row to row

 TReport Class
 bInit           A codeblock which holds the ON INIT clause.
 bEnd            A codeblock which holds the ON END clause.
 bStartLine      A codeblock which holds the ON NEWLINE clause.
 bEndLine        A codeblock which holds the ON ENDLINE clause.
 bStartPage      A codeblock which holds the ON NEWPAGE clause.
 bEndPage        A codeblock which holds the ON ENDPAGE clause.
 bStartGroup     A codeblock which holds the ON NEWGROUP clause.
 bEndGroup       A codeblock which holds the ON ENDGROUP clause.
 bSkip           A codeblock which holds how to skip to the next report line.
 bChange         A codeblock which holds the ON CHANGE clause

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