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 - // fivewin - vbx visual basic controls management tutorial http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
// FiveWin - VBX Visual Basic controls management tutorial

#include "FiveWin.ch"

static oWnd

//----------------------------------------------------------------------------//

function Main()

   local oVbx

   DEFINE WINDOW oWnd TITLE "Using VBXs with FiveWin"

   @ 3, 10 VBX oVbx SIZE 100, 100 ;
      FILENAME "Switch.vbx" CLASS "BiSwitch" ;
      ON ON  MsgInfo( "Turn ON the light!" ) ;
      ON OFF MsgInfo( "Turn OFF the light!" )

   ACTIVATE WINDOW oWnd

return nil

//----------------------------------------------------------------------------//

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