SetOKOnly Method (InputDlg)

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:09

Description

Display the input dialog box with only OK button.

Syntax

object.SetOKOnly()

object

Required. Object name, returned byDim idlg As InputDlg = New InputDlg.

Example

  Private Sub Button1_Click(sender As Object, e As EventArgsHandles Button1.Click

    Dim tempParams As AdParams = New AdParams()

    If (FillAdParams(tempParams)) Then

      Dim dlg As New WinUI.InputDlg()

      dlg.SetOKOnly()

      dlg.Width = 500

      dlg.Title = My.Resources.IDS_Back4OptionsTitle

      dlg.AddInfo(My.Resources.IDS_Back4OptionsLabel, 1)

      dlg.AddInfo(tempParams.ToStringCodification(), 15)

 

      dlg.ShowDialog()

    End If

  End Sub