Sub loadusers
'clear participants
VBeautifulChat1.ClearParticipants
'add a support chat
VBeautifulChat1.AddBot("Support", "./assets/bvad31.png")
'add a bot menu
VBeautifulChat1.AddBotMenu("1", _
Array("Hi there, this is the BVAD3 ChatBox", "Please enter your choice below for us to begin."), _
Array("Form", "Grid", "MQTT", "Other Databases", "All above.", "Menu"))
'show the menu
VBeautifulChat1.BotShowMenu("1")
End Sub
Private Sub VBeautifulChat1_Sent (msg As Map)
'get the entered text
Dim cm As ChatMessage = VBeautifulChat1.ToChatMessage(msg)
Select Case cm.text
Case "1"
VBeautifulChat1.BotRespond("With forms, the best approach is to use the V-Form and V-Field components.")
Case "2"
VBeautifulChat1.BotRespond("A grid can have any number of rows. A row can have a number of columns, and the size of the columns should be equal to 12.")
Case "3"
VBeautifulChat1.BotRespond("MQTT is not yet implemented in BVAD3, we will inform you once its done.")
Case "4"
VBeautifulChat1.BotRespond("BVAD3 currently works with IndexedDB, MySQL, MSSQL, Firebase FireStore, SQLite and PouchDB, which DB Backend are you interested in?")
Case "5"
VBeautifulChat1.BotRespond("Enter the number corresponding to your area of interest.")
Case "6"
VBeautifulChat1.BotShowMenu("1")
Case Else
VBeautifulChat1.BotRespond("Please enter a number between 1 and 6!")
Return
End Select
End Sub
Private Sub dtProducts_ExcelDownload
vuetify.ShowSnackBarInfo("Excel Report downloaded!")
End Sub
Private Sub dtProducts_PdfDownload
vuetify.ShowSnackBarInfo("PDF Report downloaded!")
End Sub
Private Sub dtProducts_Excel_Click (e As BANanoEvent)
dtProducts.ToExcel
End Sub
Private Sub dtProducts_Pdf_Click (e As BANanoEvent)
dtProducts.ToPdf
End Sub
BANano.header.AddCssFile("noticia.css")
#if css
*{
font-family: noticia, helvetica; sans-serif !important;
}
#End If
BANano.Await(vuetify.StoragePersistWait)
vuetify.OnMounted("onmounted", Null)
vuetify.OnBeforeDestroy("onbeforedestrory", Null)
Sub onmounted
'read the state from local storage
vuetify.ReadSession
End Sub
Sub onbeforedestrory
'save the state to local storage
vuetify.SaveSession
End Sub
BANano does support MQTT over WebSockets (with BANanoMQTTClient). TCP is not possible in WebBrowsers as they do not support that protocol (for security reasons).2.Library can join MQTT
A1. Remember this was just a simple demonstration specifically for Chris. Using the data table to show content in different colors is already covered in the kitchen sink. This covers just using text and also background colors. I can do a refresher later on.Hi:Mashiane:
1.Could it be simpler, over 40 blue ,positive green ,negative red,Because it's too difficult to understand
2.Library can join MQTT? because many people are currently using ,Thank You.
Sorry i said MQTTClient like TheMashMQTTClientBANano does support MQTT over WebSockets (with BANanoMQTTClient). TCP is not possible in WebBrowsers as they do not support that protocol (for security reasons).
Alwaysbusy
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?