July 24, 2017 at 9:22 am
Is it possible in MS Visual Studio to change and save the default values for a textbox. For example, Can Grow is always set to True and I would like to always be False. Padding is always 2pt,2pt,2pt,2pt. I would like it to always be 2pt,2pt,0pt,0pt. Currently I always have to remember to alter these values every time I add a table or a text box to a report. I'm not a young as I used to be and one, my memory is not as good and two, I am not as patient.
John
SQL Rebel without a Where Clause
SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.
July 24, 2017 at 12:03 pm
TexasJohn - Monday, July 24, 2017 9:22 AMIs it possible in MS Visual Studio to change and save the default values for a textbox. For example, Can Grow is always set to True and I would like to always be False. Padding is always 2pt,2pt,2pt,2pt. I would like it to always be 2pt,2pt,0pt,0pt. Currently I always have to remember to alter these values every time I add a table or a text box to a report. I'm not a young as I used to be and one, my memory is not as good and two, I am not as patient.
You can create report templates - that's generally what most places will do. I've seen some even populate the templates with most types of report items they use, set the properties to be used as the foundation - similar to what you are saying with textboxes. If you search on: ssrs report templates
you can find a lot of examples of what people are doing with these. In the very early days, people would do this mostly just for the company logos but the use of the templates has expanded quite a bit to provide more consistency with everything.
Sue
July 24, 2017 at 12:06 pm
TexasJohn - Monday, July 24, 2017 9:22 AMIs it possible in MS Visual Studio to change and save the default values for a textbox. For example, Can Grow is always set to True and I would like to always be False. Padding is always 2pt,2pt,2pt,2pt. I would like it to always be 2pt,2pt,0pt,0pt. Currently I always have to remember to alter these values every time I add a table or a text box to a report. I'm not a young as I used to be and one, my memory is not as good and two, I am not as patient.
I believe that you could create a class with those properties. Then use that class as your default textbox.
It's been a long time since I did any front end development, but that how it used to be.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply