Page 2 of 2

Re: Property Events can't be loaded, edited nor saved

Posted: Wed Dec 16, 2020 4:59 pm
by PoiSoNz
Hello,

I've tried setting a report's Begin Render event with the code you provided and it didn't work, as you can see in the attached gif.
report_event_bug.gif
report_event_bug.gif (1.37 MiB) Viewed 762 times
I also tried with

Code: Select all

Shape1.brush = new Stimulsoft.Base.Drawing.StiSolidBrush();
and it didn't work.

I'll just assume that events can't be used in the JS version.

Thank you for all your help.

Re: Property Events can't be loaded, edited nor saved

Posted: Thu Dec 17, 2020 10:24 pm
by Lech Kulikowski
Hello,

Please check:
Shape1.brush = new Stimulsoft.Base.Drawing.StiSolidBrush(Stimulsoft.System.Drawing.ColorTranslator.fromHtml(sampleData.getData("color")));

Thank you.