B4J Library [ABMaterial] : MashClock - a custom clock component

So it seems I need something like this for my project...

Clock.gif


Add this to the BuildPage method..

Code:
page.AddExtraJavaScriptFile("custom/clock.js")
    page.AddExtraCSSFile("custom/clock.css")

Add this to Class Globals of your page..

Code:
Public clock As MashClock

In ConnectPage, create the component..

Code:
clock.Initialize(page,"userClock")
    page.Cell(2,2).AddComponent(clock.ABMComp)

Wala!!!
 

Attachments

Back
Top