scrollview_test.monkey2 523 B

123456789101112131415161718192021222324252627282930313233343536
  1. #import "<std>"
  2. #import "<mojo>"
  3. #import "<mojox>"
  4. Using std..
  5. Using mojo..
  6. Using mojox..
  7. Class MyWindow Extends Window
  8. Method New()
  9. Super.New( "Button Demo",640,480,WindowFlags.Resizable )
  10. Local textView:=New TextView
  11. textView.AddView( New Label( "CRAZY STUFF!" ),"top" )
  12. textView.AddView( New Label( "SERIOUSLY" ),"left",100,True )
  13. textView.AddView( New Label( "SERIOUSLY" ),"right",100,True )
  14. ContentView=textView
  15. End
  16. End
  17. Function Main()
  18. New AppInstance
  19. New MyWindow
  20. App.Run()
  21. End