Hello, i want to change color of StiPanel by Java code.
I looked in the report designer and it has a "Brush" properties, but on the java class not have one method "SetColor" on "StiBrush" or equivalent.
How i do this?
Thank you
Alter color from StiPanel object
- rafaelwithoeft
- Posts: 70
- Joined: Thu Mar 05, 2015 8:26 pm
Re: Alter color from StiPanel object
Hello.
It is impossible to change brush. The StiBrush is base class. You should convert it to StiSolidBrush and change the Color.
Or you could create a new instance of the StiSolidBrush object and assign it to the StiPanel.
Thank you.
It is impossible to change brush. The StiBrush is base class. You should convert it to StiSolidBrush and change the Color.
Or you could create a new instance of the StiSolidBrush object and assign it to the StiPanel.
Thank you.
- rafaelwithoeft
- Posts: 70
- Joined: Thu Mar 05, 2015 8:26 pm
Re: Alter color from StiPanel object
Thank you!
Re: Alter color from StiPanel object
Hello,
We are always glad to help you!
Thank you.
We are always glad to help you!
Thank you.