I try to load form icon in run-time (in 'FormCreate'):
main_form.Icon.LoadFromFile(ico_file);
It works fine if default windows style is selected for application.
It fails if any custom style is selected (not any error raising...)
Is this function disabled while custom styles is used?
Any experiences?
I use Delphi 10.2
Thanks in advance...