Public Sub NormalPopUp
Public Notif As BMPopUp
Notif.Initialize(Activity, "Notif", Me)
Notif.Title = "Normal PopUp"
Notif.Message ="Test message!"
Notif.BackColor = Colors.ARGB(150,Rnd(0,255),Rnd(0,255),Rnd(0,255))
Notif.MessageColor = Colors.White
Notif.TitleColor = Colors.White
Notif.Icon = Chr(0xF209)
Notif.IconColor = Colors.White
Notif.Position = Rnd(0,3)
Notif.Duration = 5
Notif.Close = True
Notif.Style = Notif.STYLE_NORMAL
Notif.Tag = "Helow message!"
Notif.Show
End Sub
Public Sub PopUpAccept
Public Notif2 As BMPopUp
Notif2.Initialize(Activity, "Notif2", Me)
Notif2.Title = "Accept PopUp"
Notif2.Message ="Test message!"
Notif2.BackColor = Colors.ARGB(150,Rnd(0,255),Rnd(0,255),Rnd(0,255))
Notif2.MessageColor = Colors.White
Notif2.TitleColor = Colors.White
Notif2.Icon = Chr(0xF209)
Notif2.IconColor = Colors.White
Notif2.Position = Rnd(0,3)
Notif2.Duration = 5
Notif2.Close = True
Notif2.Style = Notif2.STYLE_ACCEPT
Notif2.Tag = "Accept Tag!"
Notif2.Show
End Sub
Public Sub PopUpAcceptCancel
Public Notif2 As BMPopUp
Notif2.Initialize(Activity, "Notif2", Me)
Notif2.Title = "AcceptCancel PopUp"
Notif2.Message ="Test message!"
Notif2.BackColor = Colors.ARGB(150,Rnd(0,255),Rnd(0,255),Rnd(0,255))
Notif2.MessageColor = Colors.White
Notif2.TitleColor = Colors.White
Notif2.Icon = Chr(0xF209)
Notif2.IconColor = Colors.White
Notif2.Position = Rnd(0,3)
Notif2.Duration = 5
Notif2.Close = True
Notif2.Style = Notif2.STYLE_ACCEPTCANCEL
Notif2.Tag = "AcceptCancel Tag!"
Notif2.Show
End Sub
Public Sub PopUpAcceptCancelNeutral
Public Notif2 As BMPopUp
Notif2.Initialize(Activity, "Notif2", Me)
Notif2.Title = "AcceptCancelNeutral PopUp"
Notif2.Message ="Test message!"
Notif2.BackColor = Colors.ARGB(150,Rnd(0,255),Rnd(0,255),Rnd(0,255))
Notif2.MessageColor = Colors.White
Notif2.TitleColor = Colors.White
Notif2.Icon = Chr(0xF209)
Notif2.IconColor = Colors.White
Notif2.Position = Rnd(0,3)
Notif2.Duration = 5
Notif2.Close = True
Notif2.Style = Notif2.STYLE_ACCEPTCANCELNEUTRAL
Notif2.Tag = "AcceptCancelNeutral Tag!"
Notif2.Show
End Sub