Graphics

If You want to add an animated gif file on your Axapta form, use this function. public void gifshower(str filename) {	str htmlSource; COMDispFunction webpreviewWrite; COMVariant text = new COMVariant; COM ctrl = new COM; ;

htmlSource = @'  ';

ctrl.attach(HtmlActiveXControl.interface);

webpreviewWrite = new COMDispFunction(ctrl, 'write', COMDispContext::METHOD); text.bStr(htmlSource); HtmlActiveXControl.open(""); webpreviewWrite.call(text);

HtmlActiveXControl.close; }