B4J Programming Press on the image to return to the main documentation page.

jBetterDialog

Written by Giuseppe Salvi

List of types:

jBetterDialogs

jBetterDialogs

Just some simple tests. I didn't want to use a testing framework for this.

Events:

None

Members:


  Initialize (EventName As String)

  SetOwner As Form [write only]

  ShowConfirm (message As String, info As String, title As String) As Int

  ShowConfirmWithOptions (message As String, info As String, title As String) As Int

  ShowError (message As String, info As String, title As String)

  ShowError2 (message As String, title As String)

  ShowErrorWithException (message As String, info As String, title As String, ex As String)

  ShowErrorWithException2 (message As String, title As String, ex As String)

  ShowInformation (message As String, info As String, title As String)

  ShowInformation2 (message As String, title As String, buttonLabel As String)

  ShowInput (message As String, info As String, title As String) As String

  ShowInputWithChoices (message As String, info As String, title As String, obj() As Object) As Object

  showLogin As String

  ShowWarning (message As String, info As String, title As String)

  ShowWarning2 (message As String, title As String, buttonLabel As String)

  Version As String [read only]

Members description:

Initialize (EventName As String)
Initialize Object
SetOwner As Form [write only]
Anchor the Dialogs in the MainForm
ShowConfirm (message As String, info As String, title As String) As Int
Show Confirm Dialog

Yes = -1

No = -2

Cancel = -3

Close Dialog = 0
ShowConfirmWithOptions (message As String, info As String, title As String) As Int
Show Confirm Dialog With Options

Ok = -1

No = -2

Close Dialog = 0
ShowError (message As String, info As String, title As String)
Show Error Dialog
ShowError2 (message As String, title As String)
Show Error Dialog
ShowErrorWithException (message As String, info As String, title As String, ex As String)
Show Error Dialog With Exception
ShowErrorWithException2 (message As String, title As String, ex As String)
Show Error Dialog With Exception
ShowInformation (message As String, info As String, title As String)
Show information dialog
ShowInformation2 (message As String, title As String, buttonLabel As String)
Show Information Dialog
ShowInput (message As String, info As String, title As String) As String
Show Input dialog
ShowInputWithChoices (message As String, info As String, title As String, obj() As Object) As Object
Show Input Dialog With Choices
showLogin As String
Show Login dialog
ShowWarning (message As String, info As String, title As String)
Show Warning Dialog
ShowWarning2 (message As String, title As String, buttonLabel As String)
Show Warning Dialog
Version As String [read only]
Return Author and Version of this library
Top