Text field: brush color (background color)
- Fabio Pagano
- Posts: 355
- Joined: Mon Apr 16, 2007 12:38 pm
- Location: Bari (Italy)
Text field: brush color (background color)
I was wondering why the default background color of a field is "10% Gray". Couldn't it be white or transparent? May i change this default when i invoke (by code) the designer?
Thanks.
Thanks.
Text field: brush color (background color)
The default background color of the textbox is that you choose the last time. So set the color what you want and it must been saved as the default color.
Thank you.
Thank you.
- Fabio Pagano
- Posts: 355
- Joined: Mon Apr 16, 2007 12:38 pm
- Location: Bari (Italy)
Text field: brush color (background color)
Don't know if i'm missing something, but i have created a text field, i've setted the brush "Empty", closed, reopened, created a new text field but the brush always defaulted to "Solid" instead of the last choosen "Empty".
Text field: brush color (background color)
Please use the following property to avoid the behavior which was described above:
Thank you.
Code: Select all
report.Info.UseLastFormat = false;
- Fabio Pagano
- Posts: 355
- Joined: Mon Apr 16, 2007 12:38 pm
- Location: Bari (Italy)
Text field: brush color (background color)
Sorry but didn't solve, this is the code:
I've also tried
with no success.
When i draw a text field, it is created with the default brush "Solid". I change to "Transparent". Then if i draw another text field, the brush is "Solid" and not the last one used ("Transparent"). Using build of 23 august.
Thanks.
Code: Select all
Dim rpt As New Stimulsoft.Report.StiReport
rpt.Info.UseLastFormat = False
rpt.Design()
Code: Select all
rpt.Info.UseLastFormat = True
When i draw a text field, it is created with the default brush "Solid". I change to "Transparent". Then if i draw another text field, the brush is "Solid" and not the last one used ("Transparent"). Using build of 23 august.
Thanks.
Text field: brush color (background color)
in that case please put this lines in the start of your Application:
Thank you.
Code: Select all
StiSettings.Load();
StiSettings.Set("StiDesigner", "UseLastFormat", false);
StiSettings.Save();