vcl-styles-utils icon indicating copy to clipboard operation
vcl-styles-utils copied to clipboard

Title bar and main menu are not styled when the form is loaded from a dll

Open lchris789 opened this issue 5 years ago • 2 comments

Is there some call I can make from inside the DLL to enable the Styling ? image

lchris789 avatar Mar 06 '19 10:03 lchris789

If I re-enable the style inside the dll with TStyleManager.TrySetStyle('Windows10 BlackPearl'); it's ok.

Does someone have a tip to query the active style in the main application without passing the style as a parameter to the dll ?

lchris789 avatar Mar 07 '19 10:03 lchris789

Hi have you tried downloading Mr. Rodrigo Ruz Blog repo? Its under the Repositories tab. Then try this demo := blog-master\VCL\VCL Styles\VCL Styles Hooks

Im sure you can grab the active style your looking for and set it in your dll.

raybot311 avatar Mar 11 '19 21:03 raybot311