To disable the “loading animation”  which has been introduced with IntraWeb 9.0, and which shows up when the user clicked a button and is waiting for the page to re-load you usually just need to set an option in your application’s ServerController.

ServerController.ShowLoadingAnimation := false

If you are using IntraWeb’s PageMode then there is problem though: PageModus has no explicit ServerController.  Instead, an instance of TIWServerControllerBase is created when TWebModule is created. Inother words to change an option such as ShowLoadingAnimation you have to do that in your PageMode’s TWebModule:

uses

IWGlobal ...

procedure TWebModule1.WebModuleCreate(Sender: TObject);
begin
GServerController.ShowLoadingAnimation := false;
end;
blog comments powered by Disqus
CodeGear Technology Partner