This forum is deprecated.
To continue the #Delphi25th Birthday celebration, we have a new VCL Windows style available for download that’s perfect for your modern Windows applications.
Use the new Material Patterns Blue Windows theme to give your existing or new VCL Windows applications a custom look and feel.
Looking to build an iOS or Android companion app for your VCL Windows application? We have the matching theme available for FMX apps, allowing developers to have a matching style across multiple target platforms.
How to download:
The style is available for download in the GetIt Package Manager in RAD Studio 10.3.3.
Shown: Material Patterns Blue Windows Style for VCL applications
Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder. Design. Code. Compile. Deploy.
Start Free Trial
Free Delphi Community Edition
Free C++Builder Community Edition
This is basically the colour scheme I created and used for most of my Windows applications from about 1990. It's great.
Pity that using styles breaks the app's help. The contents pane becomes fragmented.
Vcl-styles-util on GitHub confirms the issue with this theme.
I found out that if you open this style in delphi "bitmap style editor" you'll see that clbtntext is black, and if you change it to another color and back to black and save you can get rid of the error and fix the style.
my guess is that clBtntext value is $FFFFFFFF aka -1 , and maybe other constants have the same issue, but no way to now because the raw value is not visible.
I suggest upgrading the "bitmap style editor" to display raw values.
This is worrying because if future styles have the same issue and people experience random crashes they will drop using them.
Can you do something about it ? maybe contact the style creator ?
Second Color range check error with this Style and opensource styles-utils (no problem with blackpearl) when calling TOpendialog.execute
Biut I fixed my issue with Styles and forms in DLL and posted my solution on StackOverflow here https://stackoverflow.com/questions/18502190/vcl-style-issues-in-dll
Solution : create a dummy mainapplication form !
PS : incompatibility with Vcl-style-utils is still very annoying for me, because I started using it a lot, and I cannot predict when or where it will crash it's a surprise each time. And like all opensource projects ... support is random ... maybe you can help to find out what's wrong with the style ? many thanks
I can see it in my project options.
Do you mean this folder C:\Users\Public\Documents\Embarcadero\Studio\20.0\Styles ?
Does it appear under this registry key HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\CatalogRepository\Elements\VCLStyle-MaterialPatternsBlue-1.0 ?
Maybe uninstall/reinstall could help ?
Help! I've downloaded and installed the new style. The VSF file is in all of the subfolders in my StyleTemplates folder, but the style doesn't appear when I go to Project > Options > Application > Appearance and look in the list of Custom Styles. How can I access the new style template?
Hi Sarina, yes I think so (if there's no mismatch in my install)
I have filled a bug report #260 "color out of range" on github https://github.com/RRUZ/vcl-styles-utils/issues
The downloads should be available in GetIt.
Hi, are you using the latest version of that library?
It is now working :)
LColor := StyleServices.GetSystemColor(TColor(nIndex or Integer($FF000000)));
LBrush := CreateSolidBrush(LColor);
This only happens with this style, but maybe a bug from vcl-styles-utils opensource extension ?
Getit is working now. But I get a range check error with this style in Vcl.Styles.Hooks.Detour_GetSysColorBrush when calling
Hi Lazzlo, Not just you, I can't reach the getit server either. Probably under maintenance ?
Hi Sarina, looks nice, will probably be one of my favorites with "black pearl". Any chance we could get a dark gray theme like the IDE ?
Would be interrested in an official blog about "how to use styles with forms and units from inside a DLL". Currently the styling system seems to get lost once inside the DLL. Dll probably has it's own in memory data structures for styles that are empty, but the global hooks are still active so styling is half done. If there was an official way of syncing dll and main app styles state with some "assign" commands it would be great.
Is it just me or the GetIt manager really does not work again in Rio 10.3.3?