Skip to content

tutor02.prg

FiveTech Software edited this page Mar 25, 2019 · 1 revision
#include "FiveLinux.ch"

function Main()

   local oWnd
   
   DEFINE WINDOW oWnd TITLE "Welcome to FiveLinux"

   ACTIVATE WINDOW oWnd CENTERED ;
      ON RIGHT CLICK MsgInfo( "Right click" ) ; 
      VALID MsgYesNo( "Do you want to exit ?" ) 

return nil

To build it:

cd fivelinux/samples
./build.sh tutor02