Sub BuildAgendInput() As ABMModalSheet
Dim msg As ABMModalSheet
msg.Initialize(page, "agendinp", True, False, "")
msg.IsDismissible = False
msg.Content.AddRowsM(5, True, 0, 0, "").AddCells12(1, "")
msg.Content.AddRowsM(1, True, 20, 0 , "").AddCells12(1, "")
msg.Content.BuildGrid
' add paragraph
msg.Content.CellR(0,1).AddComponent(ABMShared.BuildParagraphBQWithZDepth(page,"par1xz","Modify Agenda Item") )
Dim asub As ABMLabel
asub.Initialize(page,"agendsub", "Subject",ABM.SIZE_H5,False,"")
msg.Content.CellR(1,1).AddComponent(asub)
editCommentLong.Initialize(page, "agenddesc", "agenddesc", False, "100px") ' HeightCSS)
Dim cont As ABMContainer
cont.Initialize(page,"edcont","")
cont.AddRow(1, False ,"","")
cont.BuildGrid
cont.Cell( 1,1).AddComponent( editCommentLong.ABMComp)
cont.Cell( 1,1).SetFixedHeight(200, True)
msg.Content.CellR(1,1).AddComponent(cont)
' msg.Content.Cell(3 ,1).SetFixedHeight( 200 , False)
' Dim adesc As ABMEditor
' adesc.Initialize(page,"agenddesc", ABM.INPUT_TEXT,"Description or Comments",True,"")
' adesc.Tag = 0
' adesc.FixedMinHeight = "400px"
' adesc.Initialize(page,"agenddesc", True, True,"")
' msg.Content.CellR(1,1).AddComponent(adesc)
Dim asubat As ABMLabel
asubat.Initialize(page,"asubat", "Attachments:",ABM.SIZE_H6,False,"")
msg.Content.CellR(1,1).AddComponent(asubat)
Dim albltask As ABMLabel
albltask.Initialize(page,"albltask", "Tasks Outstanding:",ABM.SIZE_H6,False,"")
msg.Content.Cell(6,1).AddComponent(albltask)
Dim aout As ABMLabel
aout.Initialize(page, "aout", "",ABM.SIZE_PARAGRAPH, True,"")
' aout.Enabled = False
msg.Content.Cell(6,1).AddComponent(aout)
msg.Footer.AddRowsM(1,True,0,0, "").AddCellsOS(4, 0 ,0,0,3,3,3,"") '.AddCellsOS(1,0 ,0,0,3,3,3, "")
msg.Footer.BuildGrid 'IMPORTANT once you loaded the complete grid AND before you start adding components
' create the buttons for the footer
Dim msgattachlnk As ABMButton
msgattachlnk.InitializeFlat(page, "agendattachlink", "", "", "Link Attach", "transparent")
msg.Footer.Cell(1,1).AddComponent(msgattachlnk)
Dim msgattach As ABMButton
msgattach.InitializeFlat(page, "agendattach", "", "", " File Attach", "transparent")
msg.Footer.Cell(1,2).AddComponent(msgattach)
Dim msgyes As ABMButton
msgyes.InitializeFlat(page, "agendsave", "", "", "Save", "transparent")
msg.Footer.Cell(1,3).AddComponent(msgyes)
Dim msgno As ABMButton
msgno.InitializeFlat(page, "agendcancel", "", "", "Cancel", "transparent")
msg.Footer.Cell(1,4).AddComponent(msgno)
Return msg
End Sub