This library contains three simple and stylish Dialog classes. They are intended to provide an App styled user interface to the B4J window/form environment.
Currently Library v2.01
- A ToastMsg class to present a single or multi-line banner momentarily on top of the owner form.
- A MsgBox class to present more complex information to the user with an icon, title and multi-line message body then requesting the user to acknowledge by clicking on one of the three button choices. This is a NON-BLOCKING dialog box that presents centrally on top of the owner form.
- An InputBox class to firstly present the user with information but requesting user data entry (can use limited text types, lengths, multi-line, etc) then requesting the user to acknowledge by clicking on one of the three button choices. This is a NON-BLOCKING dialog box that presents centrally on top of the owner form.
Simple to use:
Dim MB as Starchild_B4J_MsgBox
Dim TM as Starchild_B4J_ToastMsg
MB.Initialize(MainForm,Me)
TM.Initialize(MainForm,Me)
MB.MsgBox(“Hello World”,“This is a MsgBox”)
Wait For (MB) Click
Select MB.Response
Case MB. RESPONSE_POSITIVE
TM.ToastMsg(“You Clicked the <OK> button”)
Wait For (TM) Finished
End Select
Log (“Done”)
Currently Library v2.01
Attachments
Last edited: