backspace in Internet Explorer

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Steve
Posts: 30
Joined: Fri Nov 07, 2008 10:46 pm
Contact:

backspace in Internet Explorer

Post by Steve » Fri Feb 10, 2012 3:36 am

I have a webset in which users type in fields. But if users try to erase with the "backspace" key in Internet Explorer, instead of erasing their text, Internet Explorer jumps back to the previous web page in its history.

This does not happen in FireFox or Safari. In those browsers, backspace just erases your text.

Windows discussion boards are full of complaints about this "feature" of Internet Explorer. Apparently, backspace does erase text if the focus is on a regular browser field, such as in a form. But fields in a LiveCode weblet are apparently not recognized as browser fields, so the browser sends you back in history.

This makes erasing difficult in Internet Explorer. You have to use arrows and the forward delete key. Users rarely remember to do this and keep jumping out of my revlet by accident.

Does anyone know a way to "trap" the backspace key and get it to erase the text in a field, or to get the weblet fields recognized by Internet Explorer as real fields, so the backspace key erases in them?

Thanks in advance,
Steve Alessi
Steve Alessi
Associate Professor
The University of Iowa

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: backspace in Internet Explorer

Post by Mark » Wed Feb 15, 2012 5:27 pm

Hi,

Apparently, this is an IE bug rather than a LC bug. Do a simple search with a search engine and the first link gives you the answer.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Steve
Posts: 30
Joined: Fri Nov 07, 2008 10:46 pm
Contact:

Re: backspace in Internet Explorer

Post by Steve » Wed Feb 15, 2012 8:19 pm

Mark,

Yes, I know that. My saying it is an Internet Explorer "feature" is my way of saying it is an IE bug. My question was really, does anyone know a workaround in LiveCode to avoid this IE bug?

Steve Alessi
Steve Alessi
Associate Professor
The University of Iowa

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: backspace in Internet Explorer

Post by mwieder » Wed Feb 15, 2012 8:48 pm

I believe the browser handles keystrokes before handing them off to plugins, so no, I don't think this possible short of another IE plugin to fix the backspace "feature". And since nobody's come up with one of these yet to my knowledge I wouldn't put much hope into that.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: backspace in Internet Explorer

Post by Mark » Wed Feb 15, 2012 9:08 pm

Hi Steve,

I don't think this can be solved in LiveCode currently.

May I ask why you are still using the plugin? It is available for 32 bit only while all current computers are 64 bit.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: backspace in Internet Explorer

Post by mwieder » Wed Feb 15, 2012 9:17 pm

Mark-

Like it or not, there *are* valid use cases for deploying revlets. As, for instance, when you need to provide a stack solution in a situation where an IT department will not allow the installation of executable applications, but will allow browser plugins. School environments, for example.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: backspace in Internet Explorer

Post by Mark » Wed Feb 15, 2012 9:23 pm

Hi Mark,

I have been in such situations and basically it means that school IT deparments simply refuse to install the plugin.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: backspace in Internet Explorer

Post by mwieder » Wed Feb 15, 2012 9:26 pm

Yeah, I've been there too. But sometimes it's easier to talk them into installing a browser plugin than to allow the installation of executable apps without having to have them vet each one. Gives them more control and they like that. YMMV.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: backspace in Internet Explorer

Post by Mark » Wed Feb 15, 2012 11:37 pm

Hi Mark,

It might be easier, but apparently not. If I were a network admin and wanted to keep control of things, I'd prefer to check out each executable myself rather than allowing people to run arbitrary stacks through a plugin. This is also what I've learned from experience while dealing with IT deparments at schools and universities. Kind of strange that this doesn't seem to apply to Flash.

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply