Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread IE issue in EWB 1
Thu, May 7 2015 5:54 AMPermanent Link

Matthew Jones

I've traced an issue on my web shop to an IE issue. I thought initially
just IE9, but it is in latest Win8.1 version too (v11).

Not sure what it really relates too, but my code is like this:

procedure TLinePanel.SetDownlink(szValue : String);
begin                      
m_szDownlink := szValue;
m_xDownloadLink.url := 'https://' + frmWelcome.HostAddress
     + m_szDownlink;
m_xDownloadLink.Visible := m_szDownlink <> '';
end;


The Javascript call stack is:

webctrls_teditcontrol.$p.selectall
webctrls_teditcontrol.$p.firstcontrol
webctrls_tcontainercontrol.$p.firstcontrol
webctrls_tcontrol.$p.show
webctrls_tcontrol.$p.tcontrol_setvisible
forderhistory_tlinepanel.$p.tlinepanel_setdownlink
forderhistory_tfrmorderhistory.$p.tfrmorderhistory_showorderdetail


webctrls_teditcontrol.$p.selectall = function()
{
  var $t = this;
  $t.tinputcontrol_finput.select(); // HERE
};

The line marked HERE gets an exception in IE "Incorrect function".


I've solved it by wrapping this in a Try/except, but it might be worth
a test on EWB2 at some point. I should also say I'm on 103 build 7.

--

Matthew Jones
Image