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.)
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...)
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Regard's
Prem
(there are more things that "is there" but not functional - string list etc.)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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?
(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...)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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.
look at UPDATEFORECOLOR (and other properties in "AfterFormat" section in the Symbol menu for selected control...)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.