Delphi 2010 - CommandLink Button - delphi

I decided to use a command link button on my form. Is there anyway i can change the color of the text (caption)? The Font property does not seem to change this. As you can see in this image
,
the color is not very readable.

The command link button is a Windows common control and its font style and colors are controlled by the Windows system settings.
Command Links
I assume these buttons look the same for you in the windows system.
So the answer is: No, you cannot control the font color from within Delphi.

Related

Change the selected colour of combo box in delphi firemonkey

I have created application using Delphi 11.2 firemonkey for windows. In that i'm using Combobox. When the list opens, the background color of the items is blue by default, I would like to change this color
change the background color of the items
I agree with Steve, changing style for the combobox item style is really hard. You have to, first, access to the underlying listbox (hiden in the TCustomComboBox parent), and then change the ListboxItemStyle.ActiveStyleObject (I guess). This is not a good way I think.
I prefer a different approach : using a TEdit joined to a TlistView (or a Tlistbox)
my French blog here
this way it's easy to play with colors (look at some others posts in the same blog)

Delphi 6 TDateTimePicker Windows Visual Theme support via Manifest

As per my previous question (Delphi 6 support for toolbar and menu icons with alpha channel transparency), we are updating a legacy application developed in Delphi 6 to support Windows Visual Themes by including a Manifest. This has worked well and we have the majority of controls adopting the Windows visual theme correctly.
However, we do have a problem with TDateTimePicker behaving in a slightly odd manner. We have the form colour set to white (RGB 255/255/255) and the input box for TDateTimePicker is not visible on the form until it is clicked into and has an entry in it. Please see screenshots below:
Changing the form colour to grey, we can see that the box is there when not selected, it just has no border drawn around it:
We have been unable to find a property that will change this behaviour. Can anyone shed some light on why this might be occurring, what property needs to be changed, or another method we could possibly use to resolve it?

Delphi editor. Cursor style

I changed Delphi editor background color to dark-grey. Sorry, I cannot post image because I have not some reputation on this forum.
But this color hides mouse cursor. How to change cursor style\color in editor window?
I cannot find any cursor options in Delphi IDE settings.
There are no cursor settings in the IDE because the IDE uses the system cursors. The system cursors can be changed from the control panel. You might consider whether or not the background colour of an IDE should be driving your system cursor choice.

Delphi XE5 Android TButton colors

I need change color of 50 buttons in one form.
Every button another color and color want to set by code(no design editor).
It is firemonkey mobile application.
By my opinion, without making your own button that doesn't use FMX styles completely (which would break multiplatform compatibility if you are looking forward to support multiple platforms with their native styles), you may apply some filter on top of each of those buttons but on some styles this may cause the text not to be visible, implementing your own filter might get you the desired result:
Effect:=TFillRGBEffect.Create(Self);
Effect.Color:=$80FF0000;
Effect.Parent:=SomeButton;
Another way would be to take advantage of TColorButton with TText on top of it, but this way the entire button won't be filled with your color, but you can modify default/custom style for each platform in order to get what you need (this indeed needs to be done in the designer but you would have to create just one style for each platform you need to support and not 50 for each button):
Button:=TColorButton.Create(Self);
Button.Color:=$80FF0000;
Text:=TText.Create(Button);
Text.Parent:=Button;
Text.Align:=TAlignLayout.alClient;
Text.Text:='Hello';
Text.HitTest:=false;
Button.ClipChildren:=true;
Button.Parent:=Self;

text editor: change font in replace dialog

Is there a text editor that allows to change the font of it's dialogs?
I'd like to have the dialogs with the same font as the source code.
In windows, I managed to get bigger fonts and change fonts for all menus etc, but the dialog fonts in Crimson are still the same. Would I really have to compile Crimson or Scite etc myself to get FixedSys in their replace dialogs? Is there no tricky way to force dialogs use a certain font? Not just setting 120 DPI in windows...
Thanks a lot
Thomas
Just for reference, this value makes Scite use Fixedsys in dialogs
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"MS Shell Dlg 2"="Fixedsys"
Well, you could always use an editor like Vim which doesn't use dialogs.
with the "window color" font settings and fontsubstitutes registry values set to Fixedsys and restarting, finally Scite uses it in its dialogs :)
Though Crimson and ConTEXT don't

Resources