How To Change The Color Of a Text Box

Prem
Member Posts: 34
Hi Friends
I need to change the color of a textbox in a report while printing... say i want it to be blue... foreclor or foreground dosnt work..
Cheer's
Prem :roll:
I need to change the color of a textbox in a report while printing... say i want it to be blue... foreclor or foreground dosnt work..
Cheer's
Prem :roll:
0
Comments
-
No possibility to print in color in Navision...0
-
Then why is the color option there...?
Regard's
Prem0 -
Only "inherited" from Edit box from form. And may be to get MS logo... :-)
(there are more things that "is there" but not functional - string list etc.)0 -
What about changing the color of the textbox in a form?
Is it possible to change the color in executing time?
Or for example, change the enabled state, I know how to do it in another languages, but not in C/AL.
Is it possible to access to the properties of this kind of objects while executing?0 -
Yes, there is a way. But just for limited set of properties. At first, the Control must have some Name (see Name property). Than you can see the control and his properties in Symbol menu (F5) under CurrForm variable (CurrForm - Controls) - do not forget that you can "scroll right" in the Symbol menu through the buttons under the lists...
(Than you will have something like CurrForm.MyEditbox.ENABLED := false etc.). But you can change only color of text, not background. In most cases there is a little trick to "change" some properties in run-time - create two controls and change the Visible property for them (switching visibility between them - in this way you can "change" e.g. background color...)0 -
That's a speedy answer!!! :shock:
Thank you very much.
Which is the property to change the color of the text in a textbox? Fore Color? I don't find that in the list.
Another question related to this topic, Is it possible to change the background color of some rows of a table in a form?
This could be in design time.0 -
No, you cannot "alter" background color of selected row in the NAV... sorry...
look at UPDATEFORECOLOR (and other properties in "AfterFormat" section in the Symbol menu for selected control...)0
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