Zum Hauptinhalt gehen

Add group control to form dynamically

Kommentare

5 Kommentare

  • John Nerge
    Can you provide some more info? Are you trying to add a new group control based on previous steps in your workflow, or are you trying to format the content in and existing group control?
    0
  • Permanently deleted user
    I want to add a new group control to a form dynamically so I can display the attributes from previous query task. of course by defaul there is always a group control in a form.  So my sequence is: 

     

    1.  add a groupbox control to the default group control.

     

    2.  add a group control in the groupbox control created in step 1.  the attributes will be displayed in its description.

     

    3.  add a checkbox to the groupbox created in step1 below the group control.

     

    I need to display attributes per field per line, which i can not do by using groupbox since groupbox can not take line break. 

     

    thanks.

     

    thanks.
    0
  • Permanently deleted user
    User-added image

     

    I want to add a group control which looks as above image dynamically.  I know how to add groupbox control .

     

    groupBoxFormItem1=new GroupBoxFormItem() With { .Header=wshedname+" -- "+fsModelList.Count.ToString()+" found"}

     

    add groupBoxFormItem1 to form.ContainerFormItem.FormItems

     

    however the similar way did not work on group contro.  the reason i need this is that groupbox description can not break line, by </br> or environment.newline.

     

    Help please.
    0
  • Nico Burgerhart
    Do you get an error message?
    0
  • Permanently deleted user
    Thanks.  This is just what i want!
    0

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