Hi,
Hi,
Can you please let me know which version of IntraWeb and iOS you are using?
DXE2
- Breaking change: If ServerController.DocType or IWForm.DocType are both not specified, IntraWeb will render using "<!DOCTYPE HTML>" (HTML 5). If you want the IW application to behave like HTML 4, you must specify the correct doc type for your application. You may have forms with different DocType as well. IWForm's DocType property has precedence over ServerController.DocType.
- Note: The recommended DocType value for HTML 4 is: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Yes the problem existed with IW12, and also with IW14.0.12.
I have not been able to reproduce an issue with the TIWiPhoneEdit control. (see screenshot)
Can you please make sure you are using the latest version and there is no custom Doctype definition or custom CSS code active in your app?
I have no CSS or DocType. I tried setting the DocType to
Please note that uploading images via the forum is disabled.
If you don't have access to an external server to upload an image, you can email images as attachment to mailto:info@tmssoftware.com
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/><META HTTP-EQUIV="MSThemeCompatible" Content="yes">
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<script type="text/javascript">var IWDEBUG = false;</script>
<script type="text/javascript" src="/$/js/IWBase__EC97C48BE.js"></script>
<script type="text/javascript">
var TIWIPHONEEDIT1IWCL = null;
function TIWIPHONEEDIT1_onchange(event) {
OnControlContentChange(event);
return true;
}
function TIWIPHONEEDIT1_onkeypress(event) {
OnControlContentChange(event);
return true;
}
function TIWIPHONEEDIT1_onclick(event) {
OnControlContentChange(event);
return true;
}
function TIWIPHONEEDIT1_onselect(event) {
OnControlContentChange(event);
return true;
}
function TIWIPHONEEDIT1_onfocus(event) {
this.style.backgroundColor='#00FFFF'; return true;
}
function TIWIPHONEEDIT1_onblur(event) {
this.style.backgroundColor='#FFFFFF'; return true;
}
function Body_OnBlur(){GSubmitting = false;}
function FormDefaultSubmit()
{return false;}
var GOnResizetimeout=1000;
function TIWIPHONEEDIT1Click(edt)
{
e = document.getElementById(edt);
text = e.value;
b = document.getElementById("TIWIPHONEEDIT1BtnCanvas");
e.value = "";
e.focus();
b.style.visibility = "hidden";
}
function TIWIPHONEEDIT1SetFocus()
{
document.getElementById("TIWIPHONEEDIT1").focus();
}
function TIWIPHONEEDIT1Focus()
{
c = document.getElementById("TIWIPHONEEDIT1DIV");
c.style.backgroundColor = "#00FFFF"
}
function TIWIPHONEEDIT1Blur()
{
c = document.getElementById("TIWIPHONEEDIT1DIV");
c.style.backgroundColor = "#FFFFFF"
}
function TIWIPHONEEDIT1Keyup(edt)
{
e = document.getElementById(edt);
b = document.getElementById("TIWIPHONEEDIT1BtnCanvas");
if (e.value == "")
b.style.visibility = "hidden";
else
b.style.visibility = "visible";
}
function TIWIPHONEEDIT1Render() {
var elem = document.getElementById("TIWIPHONEEDIT1BtnCanvas");
if (!elem || !elem.getContext) {
return;
}
c = elem.getContext("2d");
if (!c) {
return;
}
c.fillStyle = "#BABABA";
c.strokeStyle = "#BABABA";
c.lineWidth = 1;
c.beginPath();
c.arc(8,8,8,0,Math.PI*2,true);
c.closePath();
c.stroke();
c.fill();
c.fillStyle = "#FFFFFF";
c.strokeStyle = "#FFFFFF";
c.lineWidth = 2;
c.beginPath();
c.moveTo(4,4);
c.lineTo(12,12);
c.stroke();
c.beginPath();
c.moveTo(12,4);
c.lineTo(4,12);
c.stroke();
}
// --></script>
<input id="TIWIPHONEEDIT1" name="TIWIPHONEEDIT1" value="TIWIPhoneEdit1" tabindex="1" type="text" onfocus="TIWIPHONEEDIT1Focus()" onblur="TIWIPHONEEDIT1Blur()" onkeyup="TIWIPHONEEDIT1Keyup(this.id)" style="font:inherit;-webkit-appearance: caret;-moz-appearance: caret;border-style:hidden;width:101px;height:100%;background-color:transparent;outline:none;"><canvas onclick="return TIWIPHONEEDIT1Click('TIWIPHONEEDIT1')" id="TIWIPHONEEDIT1BtnCanvas" width="20px" height="20px" style="vertical-align:middle">Your browser does not have support for Canvas</canvas></span></form><form method="POST" name="SubmitForm" action="/$/">
Hello,
As Bart answered several times, the problem could not be reproduced here.
So it didn't happen with the project I sent you? What about when you ran the executable?I have run the executable on several different machines and the problem occurs on all of them (iPhone client only - EMS renders them OK).