V14SP2 adds a property for Placeholder color for component editField. How can I reference a color that is defined in a theme?
I've tried PlaceholderColor(#Theme01<Green>) but the editor tells me the class of style doesn't contain a default property.
I've tried using a DrawStyle and a VS.Style
VL-Win Placeholder color
-
dannyoorburg
- Posts: 177
- Joined: Mon Jan 04, 2016 9:50 am
- Location: Australia
Re: VL-Win Placeholder color
Hi,
You can probably use
PlaceholderColor(#Theme01<Green>.TextColor)
Provided you defined the style using the textcolor property....
(Doing this on my phone so guessing a bit
)
You might not be able to do this on the define_com. Might have to be at runtime.
Give it a try...
Danny
You can probably use
PlaceholderColor(#Theme01<Green>.TextColor)
Provided you defined the style using the textcolor property....
(Doing this on my phone so guessing a bit
You might not be able to do this on the define_com. Might have to be at runtime.
Give it a try...
Danny
Re: VL-Win Placeholder color
Thanks for the reply Danny. I wasn't able to get the define_com syntax rtight, but changing it at runtime is working.
Art
Art
Art Tostaine