I have a page that has a few columns and totals.
I've been asked to amke sure that not only is the totals boxes readonly,
they must not accept focus from the cursor.
However, setting the bo to Disabled makes the font go inverted it seems. I'd
like to be able to still control the colour of these boxes, both the
background and foreground, but not makethem the light grey that they are
going at the moment.
Is there a way to make sure the user can't tab to a totals edit box ? 4 3194
Craig hu kiteb: I have a page that has a few columns and totals.
I've been asked to amke sure that not only is the totals boxes readonly, they must not accept focus from the cursor.
However, setting the bo to Disabled makes the font go inverted it seems. I'd like to be able to still control the colour of these boxes, both the background and foreground, but not makethem the light grey that they are going at the moment.
Is there a way to make sure the user can't tab to a totals edit box ?
Set an onfocus event on that box to transfer the focus. Then you don't
need to explicitly disable it.
--
--
Fabian
Visit my website often and for long periods! http://www.lajzar.co.uk
Thanks for that!
I'm just knocked with another problem here...
Now when the focus gets moved to the next available enabled edit box, the
text isn't selected when you use editbox.setfocu s.
However, when you tab normally to edit boxes, the text is selected.
Anyway to get around this small thing ?
Craig
"Fabian" <la****@hotmail .com> wrote in message
news:bq******** *****@ID-174912.news.uni-berlin.de... Craig hu kiteb:
I have a page that has a few columns and totals.
I've been asked to amke sure that not only is the totals boxes readonly, they must not accept focus from the cursor.
However, setting the bo to Disabled makes the font go inverted it seems. I'd like to be able to still control the colour of these boxes, both the background and foreground, but not makethem the light grey that they are going at the moment.
Is there a way to make sure the user can't tab to a totals edit box ?
Set an onfocus event on that box to transfer the focus. Then you don't need to explicitly disable it.
-- -- Fabian Visit my website often and for long periods! http://www.lajzar.co.uk
"Craig" <my****@myaccou nt.com> wrote in message
news:3f******** *************** @lovejoy.zen.co .uk... I have a page that has a few columns and totals.
I've been asked to amke sure that not only is the totals boxes readonly, they must not accept focus from the cursor.
..........
Is there a way to make sure the user can't tab to a totals edit box ?
My recommendation would be not to use an edit box to display the totals. If
it is a edit box it gives a 'visual affordance' of being clickable,
tab-able, and editable. Use a different method to display the total so that
the user can easily tell that it isn't for interaction.
--
Frank Carr jf****@msn.com http://www15.brinkster.com/vbnotebook
Frank Carr wrote: "Craig" <my****@myaccou nt.com> wrote in message news:3f******** *************** @lovejoy.zen.co .uk...
I have a page that has a few columns and totals.
I've been asked to amke sure that not only is the totals boxes readonly, they must not accept focus from the cursor.
..........
Is there a way to make sure the user can't tab to a totals edit box ?
My recommendation would be not to use an edit box to display the totals. If it is a edit box it gives a 'visual affordance' of being clickable, tab-able, and editable. Use a different method to display the total so that the user can easily tell that it isn't for interaction.
Why not something like:
<form>
<input type="text" name="one" size="5"
onblur="this.fo rm.result.value = +this.value + +this.form.two. value;" />
<input type="text" name="two" size="5"
onblur="this.fo rm.result.value = +this.value + +this.form.one. value;" />
=
<input type="text" name="result" size="5" readonly onfocus="this.b lur();"
style="border:n one;border-bottom:1px solid Black;text-align:right;" />
</form>
Works in every browser from Netscape 4 (and possibly 3) to the most modern
browsers available. Certainly it creates some false input cues on some
browsers, but it provides the same functionality on almost every browser
without any modification what-so-ever.
--
| Grant Wagner <gw*****@agrico reunited.com>
* Client-side Javascript and Netscape 4 DOM Reference available at:
* http://devedge.netscape.com/library/...ce/frames.html
* Internet Explorer DOM Reference available at:
* http://msdn.microsoft.com/workshop/a...ence_entry.asp
* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bryan Van. |
last post by:
Hello,
I've had Visual Studio .NET for C# only two weeks now. Today I encounter a
big problem with the developer. The edit menu is disabled! Both using the
right click of the mouse, the edit menu bar, AND the CTRL + ... of the
keypad! I can't even delete items!!!!! I should be more spacific: when you
start visual studio .net, the edit menu works but after the first use it no
longer works!? If I restart the program then, again, the edit...
|
by: Andy Bates |
last post by:
Hi -
I have a ToolBar with 32-bit colour icons. It looks really good, but I need
to disable some of the buttons. When I do this, I get a grey blob where the
image has been converted into a disabled image.
I have a grey scale image, that I'd like to display, but I am at a loss as
to how to get the toolbar to display the image when the button is disabled.
If I change the buttons image, it displays correctly, but I cannot change
the...
|
by: Carl Gilbert |
last post by:
Hi
I am looking to edit an icon at runtime on menu items such as change fill
colour.
I wish to replicate the features found in most applications where by the
coloured bar on a colour picker icon changes colour to the last selected
colour.
Therefore the user can easily tell which colour will be apllied when
|
by: Mel |
last post by:
how can i change disabled background on all form elements ?
|
by: Bob |
last post by:
Hi,
Is it possible to change the forecolor of a disabled text control.
I have a RichText Box that I don't want the user to edit but the Grey on
Grey default is hard to read.
Is there a way of overriding this with a custom colour?
I had a quick foray into the forms Paint event handler but no joy.
Thanks
Bob
| |
by: garyusenet |
last post by:
I'm using krypton toolkit which has allowed me to make a cool looking
form. However, when I set my textbox to disabled it is 'greyed' out.
The grey colour isn't in keeping with the office 2007 style look of my
form. How can i change the colour that control assumed when it's
disabled?
Thanks!
Gary-
|
by: mycall |
last post by:
I had a quick look but couldnt find much on this.
What i have is a contiunous form with each row having an 'edit' button. By default all feilds have been set to disabled to stop the user acciddently changing data in the bound tables. Im using code along with MS built in conditional formatting so when the user clicks the edit button on a particular row it makes all the controls enabled for that row and they can then edit the data.
My...
|
by: =?Utf-8?B?bG91aXNlIHJhaXNiZWNr?= |
last post by:
HI there. I use IE7. We have a user with bad eyesight. he cannot read the
font when IE makes an input disabled (the light grey color font). I am able
to change the background to a different color to white to try and increase a
contrast, but he still cant read it. Does anyone know a workaround to
override this font behaviour when an input is disabled="disabled" ???
|
by: shapper |
last post by:
Hello,
I would like to change the look of disabled inputs of type text on my
web site.
Should I add a disabled css class to all these inputs or is it
possible to select them in my CSS Code ...
.... not using an ID or a class ...
Thanks,
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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...
| |
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
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
| |