Sub ConnectPage()
'NEW
ABMShared.ConnectNavigationBar(page)
' add paragraph
page.Cell(1,1).AddComponent(ABMShared.BuildParagraph(page,"par1","ABMCanvas is a HTML5 Canvas with Dragging possibilities. All drawing is done with ABMVCanvasObjects and supports almost all methods described in {AL}http://www.w3schools.com/tags/ref_canvas.asp{AT}{C:#00B183}W3Schools{/C}{/AL}.") )
' create canvas
Dim canvas1 As ABMCanvas
canvas1.Initialize(page, "canvas1", ABM.COLOR_BLACK, ABM.INTENSITY_NORMAL,1024,569, True)
' create background
Dim bg As ABMCanvasObject
bg.InitializeAsRectangle(page, "bg",0,0,1024,569,False)
bg.drawImage("background", 0,0)
canvas1.AddObject(bg)
Dim pnlTemp As ABMCanvasObject
pnlTemp.InitializeAsRectangle(page, "pnlTemp",450,170,100,100,True)
pnlTemp.SetDragZone(450,170,0.001,0.001)
'DrawLabelWithRect(pnlTemp, "arial", 20, "#000000", "Button", 50, 50, "rgba(173, 255, 47, 0.2)", "rgba(173, 255, 47, 0.2)")
'DrawLabelWithRect(pnlTemp,"arial","5","rgba(173, 255, 47, 0.5)","",50,50,"rgba(173, 255, 47, 0.5)","rgba(173, 255, 47, 0.5)")
pnlTemp.fillStyleColor("rgba(173, 255, 47, 0.3)")
pnlTemp.fillRect(0,0,100,100)
RoundRect(pnlTemp, 0, 0, 50, 50, 5, True, False)
canvas1.AddObject(pnlTemp)
page.Cell(2,1).AddComponent(canvas1)
...