Sub btnReviseTopic_Click
Dim frmModal As Form
frmModal.Initialize("",-1,-1)
frmModal.RootPane.LoadLayout("layReviseTopic")
HTMLEditor1.HtmlText = txtTopic.Text
'No good calling the toolbar hacks here
frmModal.ShowAndWait
'code here gets called after the modal form closes
End Sub
Sub HTMLEditor1_Resize (Width As Double, Height As Double)
'This event happens AFTER ShowAndWait
SetToolbar(HTMLEditor1,0,False) 'hides the top (0) toolbar
HideToolbarCombos(HTMLEditor1,1) 'hide Paragraph, Font etc on lower toolbar (1)
End Sub