public Sub ConnectPage()
CreateCard
page.Resume
' refresh the page
page.Refresh
' Tell the browser we finished loading
page.FinishedLoading
' restoring the navigation bar position
page.RestoreNavigationBarPosition
End Sub
'This sub creates the ABMCustomCard on a page
Sub CreateCard
Dim Card As ABMCustomCard
Card.Initialize(page,"CardLeadConv","whitetitle")
Dim RadioLdToWhat As ABMRadioGroup
RadioLdToWhat.Initialize(page,"RadioLdToWhat","radiodarklabel")
RadioLdToWhat.Title = "Convertion ratio"
RadioLdToWhat.AddRadioButtonNoLineBreak("Leads to Cat 1", True)
RadioLdToWhat.AddRadioButtonNoLineBreak("Leads to Cat 2", True)
RadioLdToWhat.AddRadioButtonNoLineBreak("Leads to Cat 3", True)
RadioLdToWhat.SetActive(0)
' Code to create a Table named TblLeadConv
...
...
Card.SetFrontTopComponent(TblLeadConv)
Card.SetFrontTitleComponent(RadioLdToWhat)
page.Cell(3,2).AddComponent(Card)
End Sub