Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE and focus causes interface problem
Message
From
28/12/2016 14:30:45
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
IE and focus causes interface problem
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01646168
Message ID:
01646168
Views:
54
I am using this code to set the focus on a field:
' If we have to set the focus on a control
If cFocus.Length > 0 Then
   loTextbox = oProcess.oPage.FindControl(cFocus)

   ' If we have found the control
   If Not loTextbox Is Nothing Then
      loTextbox.Focus()
   End If

End If
In IE, when the focus is set, this causes some problem with the interface. The Web page is somewhat moving to the left. This behavior does not happen with Firefox and Chrome.

Anyone would know of an alternative to set the focus on a textbox field?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform