473,782 Members | 2,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Showing focus

I have a problem with not seeing the current focus while in a particular
screen in a my app. The focus does not show for a type=text or
textarea. I have tried to reproduce this problem in a test application,
but have not been successful is doing that.

The actual app has a screen which is displayed on a template and the
contents are the return from an AJAX call. In that content there is a
hidden block. Clicking on a button in the displayed area causes that
hidden block to appear (with a gray background in a fixed location on
the screen). It is in that area that I have both text fields and text
areas. I also have dropdown lists and buttons. Only the text areas and
text fields do not display focus when there, but I can type into them so
I know that focus is there.

For my test app I copied the CSS file that I had been using and placed
my content within the same two named <div>s where the actual content
appears on the template. With this test app there is no problem. The
test app is at http://www.sheldonlg.com/multiplesel...multiples5.php.

I don't even know where to start looking for the problem. I did a
search in Google for "ht ml showfocus", but that wasn't much help.

Any suggestions?

(crossposted in comp.lang.javas cript and alt.html)
Mar 18 '08
11 1825
SAM
sheldonlg a écrit :
>
No, there is much to much to generate to then use an innerHTML setting.
With your last test : Oll Korrect with Fx (mouse's pointer over fields)

Next test with a form in rear ?

--
sm
Mar 19 '08 #11
SAM
sheldonlg a écrit :
>
I tried the CSS stuff. That does what it says, but it doesn't solve my
problem. Let me more precise.

When that form comes up, the cursor everywhere is that left-up pointing
arrow. When the mouse is over a text field or a text area element, the
cursor changes to a vertical I-beam.
input:hover, textarea:hover { cursor: text }

#dimensions input:hover[type=text] { cursor: text }
#dimensions input:focus[type=text] { cursor: wait }

<http://www.w3.org/TR/CSS21/ui.html#propdef-cursor>
However, the blinking vertical
line does not appear in the text field or the text area if I click on
them to set focus there.
I have no solution for that.
Overall I can't get this not blinking cursor

--
sm
Mar 19 '08 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
19328
by: Martin | last post by:
I have the following function in the onchange event of several text boxes. If the user enters an invalid number the alert displays. I would like to return the user to that same field after he closes the alert but setting the focus as I'm doing here doesn't do it (instead, the focus goes to the next field). Any suggestions as to hwo I can make this work? Thanks.
2
3413
by: Krzysztof Karnicki | last post by:
I would like develop Form on my Windows Application, that is going to notify the user, just like Microsoft Office 2003 shows that there are new mail coming. When I use System.Windows.Forms.Form and show it on a different then main thread on my application, this new form became focused, but I want that new form at the beginning acts like just stay-on-top notification… also in this form I would like have controls, that could be focused,...
6
9126
by: sandy_pt_in | last post by:
Hi, I have modal form which I am showing with some fading effect... (it is like balloon that comes when you receive a mail in the outlook.) But when I show this form, Owner form looses focus. I searched across net & I came across ShowWindow API, It seems working for me ... but the fading effect is not working.Can you please suggest me some way so that I will be able to show my modal form using ShowDialog and Still it is deactivated when...
7
1481
by: Brian Henry | last post by:
I have a list box bound to a data set, of course the datasource,datamember, and valuemember are set, i tell it selecteditem = -1 to make nothing selected, select mode is set to only one item at a time. When the list fills the first item in the listbox has a background rectangle drawn but no focus rectangle (this is NOT a custom drawn listbox, just a standard one).. now i did set -1 as the selected item, but if i tab to the item the focus...
1
1392
by: melanieab | last post by:
Hi, From reading something months ago, I've been under the impression that saying button1.Focus() is enough to focus on the button and highlight it (the dotted box). If this is true, I don't know what's wrong with my version, but it doesn't work. In certain circumstances, when a button is definitely focused on, you wouldn't be able to tell so from looking at the screen (the dotted box isn't there so it looks like nothing's focused on). ...
1
5581
by: Grimm | last post by:
I am developing an internalk inteface that integrates alot of seperate tools into one interface. The current version uses one Iframe inside a div layer for positioning. Currently the seperate web tools do not have the ability to stay active. As you switch from tool to tool the previous information is lost unless you use a Back button. I need to place multiple div layers with I frames in them that can be shown or hidden based on selection. The...
1
4253
by: Luke R | last post by:
How do i do this? I have this at the top of the class for my form, but it doesnt work. Protected Overrides ReadOnly Property ShowWithoutActivation() As Boolean Get Return True End Get End Property
10
10482
daoxx
by: daoxx | last post by:
Hello I've searched, posted and solved this (Thanks for helping!), but now it came back to bite me in the *ss. I have a Yes/No field that is represented by a check box in my form1. I want to show another field (textbox) when the mouse pointer goes over the checkbox, and make it not visible when the mouse moves away from it. My problem is that when I make the textbox diseappear, if the user set focus on it and moves the mouse away, Access...
0
9479
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10311
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10146
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9942
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8967
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6733
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5509
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2874
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.