Add radionbox to an existing groupbox dynamically
I have a goupbox, groupbox3 on the form. Now I need to loop through the featureset and add a radiobotton to the groupbox3 for each feature dynamically. How to do this?
Thanks.
0
-
i think i figured out what went wrong.
assign groupbox3 =form.Find(Of GroupBoxFormItem)("GroupBox3")
assign radioButtonFormItem1=new radioButtonFormItem() With { .Text=thisvalue, .Checked=True, .ArgumentName="rad"+thisvalue}
add ridiobutton to groupbox3.FormItems
I forgot FormItems so i got type not match error.0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar