Zum Hauptinhalt gehen

Labels to display value & copy to clipboard

Kommentare

3 Kommentare

  • Nico Burgerhart
    How do you set the value of the TextBox, with an Assign with form.Find(Of TextBoxFormItem)("TextBox1").DefaultText = value? Are you using the correct TextBox IDs?

     

    You can set the DefaultText once, when loading the form.

     

     

    I do not know if it is possible to copy a value to the Clipboard.
    0
  • Permanently deleted user
    Hi,

     

    I am doing form.Find(Of TextBoxFormItem)("TextBox1").Text= value

     

    This "value" is output of the previous custom activity which I want to show in the form. I was forced to use a textbox as there are no Labels.

     

    It works fine if I use an Alert box, however I need to copy the value to clipboard for the user to paste. Can I not use System.Windows.Forms.Clipboard.SetText(string) in a VB/C# script activity?
    0
  • Permanently deleted user
    Okay, so "form.Find(Of TextBoxFormItem)("TextBox1").DefaultText = value" did the job.

     

    Copy to clipboard seems not possible...

     

     

    Thanks for your help
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.