Change Color of Cell in Table
Bastiki
Member Posts: 11
I've found nothing concerning this topic in the forum. If already answered, please forgive me ;-)
Is it possible to change the backcolor of a table's cell in a form dynamically? I've found no property or function to do this.
If not, has anyone an idea how to solve such a problem?
Is it possible to change the backcolor of a table's cell in a form dynamically? I've found no property or function to do this.
If not, has anyone an idea how to solve such a problem?
0
Comments
-
Maybe not want you want, but it works for me.
In the OnFormat trigger of the textbox on the form:CurrForm.Txtboxname.UPDATESELECTED(TRUE of FALSE);
This changes the backgroundcolor, but this depends upon the Windows color scheme that the end user has chosen.
Or if you want only change the textcolor.IF TRUE then CurrForm.Txtboxname.UPDATEFORECOLOR(255) //color red ELSE CurrForm.Txtboxname.UPDATEFORECOLOR(0); //color black
0 -
Thanks for the answer, but is there no way to change the color to another one?
The UpdateSelected-Method is not bad but you are restricted to use 2 colors that can differ on various clients depending on the system-settings.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions