Send dialog with many copyflows

Build 1501 on 14/Nov/2017  This topic last edited on: 6/Sep/2016, at 12:47

The send dialog shows the destination folders defined in the copyflow as radio buttons. If the number of destination folders is high, the dialog becomes very tall and the selection difficult.

Solution: if the copyflows are more than 10, then display them in a combo box instead as radio buttons.

The 10-limit can be changed by setting the RadioButtonLimit property in SendDialog script to a positive value.

Setting the RadioButtonLimit property to zero forces the copy-flow destinations display always in a combo-box.

  Dim selection As IGenericAttrObjList = Main.GetSelectedObjects()

  Dim sendDialog As New SendCopyFlowDialog(Main.Window) with {

    .RadioButtonLimit = 5,

    .IsShowSendHistory = True,

    .IsShowSendSelected = True,

    .FolderObjectIds = selection.Ids

  } 

  

  If sendDialog.ShowDialog() = True Then

    ...

  end if