Is there anyway, where I can change Form Back Color in NAV?

sakameeran
Member Posts: 52
One of our client asking they want to differentiate the UAT and LIVE DB by form color. Is there anyway we can change the Form Background Color?
Thanks for you response in Advance
Thanks for you response in Advance
0
Best Answer
-
or you can create a form which will open when you open client with Test/Live company text?5
Answers
-
or you can create a form which will open when you open client with Test/Live company text?5
-
It is not in a single DB. We have to database one is TEST and another one is LIVE.0
-
You can set the background colour of a form by setting the BackColor property but that's not much good for what you want because you can't change it dynamically depending on which database you are in.
What we have done previously is shown a prominent banner on key forms and shown these dynamically using the VISIBLE property. E.g. We create 2 banners one with a blue background and one with red then show the blue one in the LIVE database and the RED one in UAT. This does need to be done on each form, so usually we just do on some of the master card forms and maybe some key journal / worksheet forms.1 -
Thanks Kishor.
Dynamically not possible?
So as per your idea, we can create two sets of objects, one is UAT and another one is for LIVE.0 -
Background of form is not dynamically possible, but my suggestion of using banners IS dynamically possible.
1) Create a textbox, set background colour to BLUE
2) Create another textbox, set background colour to RED
3) In OnFormOpen set the VISIBLE property for the above 2 text boxes - show the BLUE one in LIVE company and RED one in UAT company. You can check COMPANYNAME (if the 2 have different company names) do decide which to show1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions