I'm using TChromium to navigate to pages. It has the property Options.ImageLoading , where you can specify if you want to show website's images or not.
Problem is it works only with the option is set in design time. If i change this property in runtime, it has no effect. Here is an example code ; what i wanted to achieve in this example was open test1.com showing images and open test2.com hiding images. Unfortunately both sites are loaded with images, ignoring the option i set.
Any ideas how to fix this ? I want to be able to show images only for certain websites.
procedure tform1.button1click(Sender : TObject);
begin
chromium1.options.ImageLoading = STATE_ENABLED;
chromium1.load('www.test1.com');
end;
procedure tform1.button2click(Sender: TObject);
begin
chromium1.options.ImageLoading = STATE_DISABLED;
chromium1.load('www.test2.com');
end;