weird loopy jamming my app

BlitzPlus Forums/BlitzPlus Beginners Area/weird loopy jamming my app

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok, so far everything looks good, clean code and I like it. Alot of comments in it, but thats the way I like it. However I ran in a little problem, I tryed to draw 2 canvas and only 1 is drawn.

; -----------------------------------------------------------------------------
; Practice Exercise (PE)
; -----------------------------------------------------------------------------
AppTitle "Project PE"
window=CreateWindow("Practice Exercise",50,50,640,480)

; -----------------------------------------------------------------------------
; Menu Creation
; -----------------------------------------------------------------------------
menu=WindowMenu(window) 

file=CreateMenu("File",0,menu)
CreateMenu "Open",1,file
CreateMenu "",0,file
CreateMenu "Quit",3,file

; -----------------------------------------------------------------------------
; Draw the Canvas
; -----------------------------------------------------------------------------
canny1=CreateCanvas(10,10,512,256,window)
canny2=CreateCanvas(10,520,256,128,window)

; -----------------------------------------------------------------------------
; Update the Window with the gadgets and stuff?
; -----------------------------------------------------------------------------
UpdateWindowMenu window

; -----------------------------------------------------------------------------
; Main Loop
; -----------------------------------------------------------------------------

Repeat
	Delay 2
	WaitEvent()
	If EventID()=$803 quit=True
	
	;
	;
	; event-checks of the rest of the app
	;
	;
	
Until quit

;
; clean-up things like images, banks etc. *HERE*
;

SetBuffer DesktopBuffer()
End



EDITED,
errr I feel stupid. Canvas is drawn outside the window.. since 640x480... so I have two canvas that are way to big to both fit in the window :o