Add new custom object to band
Hi,
I created designer control, report control. I have a Custom object (myObj) inherited from TextObject. I registered my custom object into Fast Report.
I want to create myObj control into band.
Like this;
I have a new object in the report but i cant see it. My designer is not refreshing..
I tried refresh, refreshLayout, report.Design(), but it doesn't work.
I need help.. [img]style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> Thanks.[/img]
I created designer control, report control. I have a Custom object (myObj) inherited from TextObject. I registered my custom object into Fast Report.
I want to create myObj control into band.
Like this;
DataBand band = report1.FindObject("Data1") as DataBand;
myObj text = new myObj();
text.Bounds = new RectangleF(3, 5, Units.Centimeters * 10, Units.Centimeters * 0.5f);
band.Objects.Add(text);
I have a new object in the report but i cant see it. My designer is not refreshing..
I tried refresh, refreshLayout, report.Design(), but it doesn't work.
I need help.. [img]style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> Thanks.[/img]