Did anyone yet succeed using Bootstrap Alerts with Web 2.0?

Alerts are quite a convenient way to show changes of status with Bootstrap. Has anyone already successfully implemented them? https://getbootstrap.com/docs/4.0/components/alerts/

should be easy to do with a webuicontrol… once they are stabilized !

1 Like

I hacked one with WebHTMLViewer like this:

Private Sub ClearAlert()
End Sub

Private Sub ShowAlert(tsMsg as String)
  WebHTMLViewer1.LoadHTML("<div class=""alert alert-danger"" style=""margin-bottom:0"" role=""alert"">" + tsMsg + "</div>")
End Sub