Firemonkey how to set font color for selected text in TEdit - firemonkey

I'm trying to find a way to use styles to set the color of the selected text in a TEdit in Firemonkey.
In Delphi VCL, the text color by default changes to white (or perhaps a windows constant) when the text is selected, so that it shows clearly through the selection highlight.
In FMX, the default style is for the text color not to change. That results in the text being hard to read. I'd like to set it so that it works like VCL, but I can't find anywhere in the style to set the text color of the selected text.
Thanks for any help you can provide.
Scott

Related

Visual Studio - Color Theme Designer: Selected text wrong background color

I'm playing around with the Color Theme Designer for Visual Studio 2022 to create a custom color scheme.
I have come to a syntax highlighting I like so far. But then I noticed that the background of some selected text remains at the normal background color (here: 0x282828) over keywords like new etc. See the screenshot below.
For that selection background I set up the All elements category in Color theme designer like:
Text Editor Text Manager Items
...
Plain Text 07282828
Plain Text FFEBDBB2
Selected Text FF076678
...
The property Selected text occurs here twice; once it probably concerns the background color, the second time the foreground color.
But on the screenshot it is visible that the background color only is applied to the empty glyphs, spaces etc.
Which setting in the Color Theme Designer must be changed to get the selection background color applied to the whole selection?

How to assign text colors when working with Vuetify themes

I'm quite new to Vuetify and struggling to figure out how themes, components and text colors work together (if they do at all).
I want to work with theme color names in my templates like primary, secondary, warning, error and assign colors to those keywords by adding a new theme or overwriting the existing one.
This all works out of the box but the problem is I can't figure out how to set text colors in the same way. I want to assign a primary-text-color, secondary-text-color, etc. and have it automatically use the correct text color by default.
Text colors seem to change automatically when I change the color on buttons but nowhere else.
If I add a theme color to buttons, Vuetify automatically changes the text color to be readable, for example (just using the default theme):
<v-btn color='primary'>Test</v-btn>
Text will change to primary and the button will be perfectly usable
while a lighter color will have dark text:
<v-btn>Test</v-btn>
But other components don't behave the same. For example a v-app-bar component with default color has dark text on a light background, but a primary app bar keeps the dark text on a blue background.
It looks like I need to explicitly change the text color with a helper class or similar, and even then I'd have to use something like white--text instead of primary--text (which just applies the actual primary color to text).
I think I've read all the docs on the website but I can't find any reference to this particular problem
Sorry for the links to images, I don't have enough flair to embed them in my post.
currently, this works primary--text
<v-list-item-title v-if="company_name" class="title primary--text">
{{ company_name.company_name }}
</v-list-item-title>

Is there a way to check the color on a text in RCPTT?

Not the foreground/background color, but the color of the text itself.
I need to verify the result text by color (red/green).
The foreground color is the color of the text in case of a Text field.
What kind of Widget are trying to verify?

setting default design and font in powerpoint 2016

This question may be a bit too simplistic for this community but I'm stumped. When preparing a lecture I prefer to have a black background with white text on a square slide.
I know how to create a theme to get the slide design quickly.
I know how to change font text color.
But...
1) How do I assign a theme to default (instead of having to load it manually each time)?
2) How do I change the default text color?
Ideally, I'd like to have powerpoint open with my custom theme and having white text as the default color so I don't need to change these settings manually.
much thanks!
Point Google here to get a more detailed set of instrux,
https://www.google.com/search?q=default+theme+powerpoint+2016&ie=utf-8&oe=utf-8
But basically you rightclick the theme you want to set as default in the Themes gallery, then choose Set as Default.
When creating your theme, add a text box, format it to the font style you want, then right click and choose Set as Default Text Box. This will set the font style for any newly added text. Also make sure that the font theme included in your theme specifies the fonts you want for title and body text. To do this, go to View | Slide Master. On the Slide Master tab, you can use the Fonts button in the Background group to choose or modify the font theme.

indesign color theme tool changing color of text

indesign color theme tool changes the color of any text in same text frame regardless of different paragraph styles.
It makes sense, but I was hoping I'd be able to pick a color from a visual for headline, another for subhead… no luck.
Anyone know of a workaround? thanks!
indesign color theme tool applies active color to ALL paragraphs styles in text:
http://i.stack.imgur.com/Ji6TN.jpg
After you have picked the colors, select the color (from theme) for your headline, now select the headline text, the color should get applied. Select the color again (from theme) for a subhead, select the subhead text, the color gets applied.
You may want to use the reagular color picker while clicking on shift to get any color value from a visual.

Resources