2
0
Mark Sibly 8 жил өмнө
parent
commit
27dee99c6e

+ 5 - 8
modules/mojox/tests/htmlview_test.monkey2

@@ -16,23 +16,20 @@ Class MyWindow Extends Window
 
 		Local htmlView:=New HtmlView
 		
-		htmlView.Go( "assets::about.html" )
+		htmlView.Go( "asset::about.html" )
 		
-		ContentView=htmlView
+		Print htmlView.HtmlSource
 		
-		App.Idle+=OnIdle
+		ContentView=htmlView
 	End
 	
-	Method OnIdle()
+	Method OnRender( canvas:Canvas ) Override
 	
-		App.RequestRender()
-		
-		App.Idle+=OnIdle
+		RequestRender()
 	End
 
 End
 
-
 Function Main()
 
 	New AppInstance