Rickard Johansson 8 Posted Thursday at 01:45 PM Using v15.1.18 and dark VCL styles the auto located method in code explorer is barely visible (first screenshot). The selection color and background color are almost the same. The Delphi IDE color is blue and clearly visible (screenshot 2). Can this be changes? What color does mmx use as an inactive selection color? Share this post Link to post
Uwe Raabe 2165 Posted Thursday at 03:10 PM 1 hour ago, Rickard Johansson said: What color does mmx use as an inactive selection color? Short answer: It doesn't use any color. The colors are intrinsic to a the selected IDE theme and not part of MMX. The difference you see in the selected colors are caused by comparing different controls. MMX uses a derived TListView for the members and TTreeView for the content, while the IDE uses a special VirtualTree version. Each have separate colors inside a theme. I'm not aware that TTreeView or TListView are used elsewhere in the IDE, which may explain why nobody complained about these colors up to now. Share this post Link to post
Rickard Johansson 8 Posted Thursday at 03:55 PM (edited) If the member list is derived from TListView - does it use some OnAdvancedCustomDraw event (or similar)? Perhaps it would be possible to use a better theme color, than the default one. Edited Thursday at 03:56 PM by Rickard Johansson Share this post Link to post
Uwe Raabe 2165 Posted Thursday at 04:01 PM That would require to configure this color for all possible themes. The IDE comes with three, but works with any valid VCL style. The better approach would be to select a VCL style that matches your preference. This would even work without fiddling around with the MMX sources Another approach would be to file a feature request to change the standard themes color to something more visible. The problem with that is, that it is hard to show with a vanilla IDE installation. Share this post Link to post
Rickard Johansson 8 Posted Thursday at 04:56 PM TListView uses the color clBtnFace from the vcl style to highlight the current (non-focused) row. Most dark styles use similar colors for the list background and btnFace. I guess I will have to live with it. Unless you someday find yourself having nothing better to do than solving this for us Share this post Link to post
Uwe Raabe 2165 Posted 16 hours ago I did some deeper investigation not concentrating on the colors itself and it turned out that HideSelection was True under some conditions. I fixed that in the latest beta. Can you please try and see if this helps a bit? Share this post Link to post
Rickard Johansson 8 Posted 14 hours ago Installed v16.0.3 build 25 Pre-Release. No, I'm, sad to say it doesn't make any difference at all 😞 When a member is selected - selection colors are use. When focus shifts to the editor - the btnface color from the current vcl style is used. So, no difference. If I remember correctly - HideSelection disables any highlighting of the currently selected line when losing focus. We do see some... Anyway, I'm glad you looked into it. Thank you 🙂 Share this post Link to post
Uwe Raabe 2165 Posted 13 hours ago As I never use any dark theme myself I am thankfully not affected. Nevertheless, I would rather question the decision to make clBtnFace and clWindow looking quite similar in the dark theme, while they give a perfect contrast in the light theme. 1 Share this post Link to post