473,698 Members | 2,873 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

option group and keyboard input

When you enter an option group you can move to each option with the
arrow keys and select with the space bar.
Option groups don't have keydown events so has
anyone come up with a way to allow keyboard entry for
option groups?

Just a simple way to select with 1-5 from the keypad or some such.
thanks for any help or a link to what to read.
Jerry
Jun 5 '06 #1
7 2779
You can hot-key the labels of the option buttons in the option group.

Just add an ampersand before the hotkey letter, e.g.:
[o] &Apple
[o] &Banana
[o] &Walnut
[o] Wa&termelon

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"sparks" <js******@swbel l.net> wrote in message
news:hf******** *************** *********@4ax.c om...
When you enter an option group you can move to each option with the
arrow keys and select with the space bar.
Option groups don't have keydown events so has
anyone come up with a way to allow keyboard entry for
option groups?

Just a simple way to select with 1-5 from the keypad or some such.

Jun 5 '06 #2
On Mon, 5 Jun 2006 20:24:31 +0800, "Allen Browne"
<Al*********@Se eSig.Invalid> wrote:
You can hot-key the labels of the option buttons in the option group.

Just add an ampersand before the hotkey letter, e.g.:
[o] &Apple
[o] &Banana
[o] &Walnut
[o] Wa&termelon


thanks that does work on the ones with
a caption or 1 and an option value of 1

what if you have something like a caption of "less"
and an option value of 1
you could have &less and allow the "L" key for input
but not a &1 for the option value. If you want to make it
so that a 1 would put in less

again thanks this is simple..

now I have 200 option groups I need to go fix :)

humm a little code to change that should be simple

sparks

Jun 5 '06 #3
Actually, it does work.

You can set up your option group like this:
[o] &1. Apple
[o] &2. Banana
[o] &3. Walnut
[o] &4. Watermelon
and then choose Walnut with Alt+3.

Of couse, we are assuming that you did set up the OptionValue of the option
button to match the hotkey of the attached label.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"sparks" <js******@swbel l.net> wrote in message
news:rv******** *************** *********@4ax.c om...
On Mon, 5 Jun 2006 20:24:31 +0800, "Allen Browne"
<Al*********@Se eSig.Invalid> wrote:
You can hot-key the labels of the option buttons in the option group.

Just add an ampersand before the hotkey letter, e.g.:
[o] &Apple
[o] &Banana
[o] &Walnut
[o] Wa&termelon


thanks that does work on the ones with
a caption or 1 and an option value of 1

what if you have something like a caption of "less"
and an option value of 1
you could have &less and allow the "L" key for input
but not a &1 for the option value. If you want to make it
so that a 1 would put in less

again thanks this is simple..

now I have 200 option groups I need to go fix :)

humm a little code to change that should be simple

Jun 5 '06 #4
No I inheritated this mess LOL

they have something like 500 option groups in this database.
I can fix all but one page with just a little code ....THANKS TO YOU
the one page has
less somewhat more
as the three options
and they want 1 2 3 for inputs.

On Mon, 5 Jun 2006 20:56:20 +0800, "Allen Browne"
<Al*********@Se eSig.Invalid> wrote:
Actually, it does work.

You can set up your option group like this:
[o] &1. Apple
[o] &2. Banana
[o] &3. Walnut
[o] &4. Watermelon
and then choose Walnut with Alt+3.

Of couse, we are assuming that you did set up the OptionValue of the option
button to match the hotkey of the attached label.


Jun 5 '06 #5
Think I'd be replacing the option group with a combo (or list box.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"sparks" <js******@swbel l.net> wrote in message
news:26******** *************** *********@4ax.c om...
No I inheritated this mess LOL

they have something like 500 option groups in this database.
I can fix all but one page with just a little code ....THANKS TO YOU
the one page has
less somewhat more
as the three options
and they want 1 2 3 for inputs.

On Mon, 5 Jun 2006 20:56:20 +0800, "Allen Browne"
<Al*********@Se eSig.Invalid> wrote:
Actually, it does work.

You can set up your option group like this:
[o] &1. Apple
[o] &2. Banana
[o] &3. Walnut
[o] &4. Watermelon
and then choose Walnut with Alt+3.

Of couse, we are assuming that you did set up the OptionValue of the
option
button to match the hotkey of the attached label.

Jun 5 '06 #6
Even better I told them the forms were NOT for data collection but
just for data entry. I suggested a text box...
BUT they don't match the forms.(whine)
WTF does that have to do with it.
But if we are looking for something its easier to find..
huh

man you can't win...seems that the ones that do NO data colleciton
or entry or anything else are in change of how its done.

On Mon, 5 Jun 2006 22:32:32 +0800, "Allen Browne"
<Al*********@Se eSig.Invalid> wrote:
Think I'd be replacing the option group with a combo (or list box.)


Jun 5 '06 #7
sparks wrote:
Even better I told them the forms were NOT for data collection but
just for data entry. I suggested a text box...
BUT they don't match the forms.(whine)
WTF does that have to do with it.
But if we are looking for something its easier to find..
huh

man you can't win...seems that the ones that do NO data colleciton
or entry or anything else are in change of how its done.


That's most of the "fun" with design - dealing with people that know
nothing about databases... Sometimes you just have to train them...
They just want to do everything the way they always have, even if it
isn't very good. (Do cattle prods work well in this case?)

Jun 6 '06 #8

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

Similar topics

3
4099
by: Edward | last post by:
I have a data entry form that allows the user to navigate around entirely using the keyboard. However, it contains various option button controls which are in the tab order. Whenever they are "hit" in the tab order, they are immediately "pressed" (e.g. they go from Unchecked to Checked) Is there any way of suppressing this action while still keeping them in the tab order? TIA Edward
0
2003
by: Ray | last post by:
I have English Windows XP Pro and Office 2003 Pro on my computer. When I enter data into fields of tables, queries and forms of Access 2003, it automatically switches to Chinese keyboard input. Even though I remove the Chinese keyboard input from Regional applet, the system will automatically reinstall Chinese keyboard input when I enter data in Office 2003. After I switch from Chinese keyboard input back to English keyboard input, it...
7
10651
by: Don Riesbeck Jr. | last post by:
I'm working on an application (OEM) using C# that utilizes input from a keyboard, and USB Barcode Scanner. The scanner is a HID Keyboard device, and input from it is sent to the system as if it were a keyboard. I need to be able to identify input from the scanner and keyboard independently. I've looked at DirectX.DirectInput, and using user32.dll to hook into the keyboard messages, but neither method seems to allow for identification of...
0
6681
by: rs | last post by:
Hi guys, I am trying to read from a USB keyboard using vb.net and HID classes. the USB keyboard is not my primary keyboard. I have a ps2 keyboard connected and is detected in device manager as my keyboard. the USB keyboard is detected as HID keyboard device. the program finds the keyboard if it is attached. and I am getting valid handles. however, everytime I use the readfile function I am getting "object reference not set to an instant...
2
8761
by: rs | last post by:
Hi guys, I am trying to read from a USB keyboard using vb.net and HID classes. the USB keyboard is not my primary keyboard. I have a ps2 keyboard connected and is detected in device manager as my keyboard. the USB keyboard is detected as HID keyboard device. the program finds the keyboard if it is attached. and I am getting valid handles. however, everytime I use the readfile function I am getting "object reference not set to an instant...
2
3484
by: NishSF | last post by:
Would anyone have any suggestions/javascript code so that if one clicks the Radio Button "Yes" below he has the option of selecting any of the six CheckBox below. If the user clicks on Radio Button "No", he should not have the option of clicking on any of the six checkboxes. See Code attached. Thank you so much in advance for your help as I can't get to make this combo work. <p>Did you have any problems finding any of the information...
2
1631
by: sparks | last post by:
I have some that are like this 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 and 0-5 all start with & but when you are on first group and hit 0 you select
1
1571
by: =?Utf-8?B?R2lsZXMgUGFwd29ydGg=?= | last post by:
have an asp.net option group list. I need to be able to style it or at least override the render event so i can put in my own styles. Short of developing an inherited control of the option group im not sure what else i can do. I suppose the best way of explaining what i want to try and do is like this: The option group list is rendered (when in flow layout) is rendered like this: <span id="rbStatus"> <label...
8
5298
by: BD | last post by:
How can I duplicate the behavior of the operating system shortcut keys in my application? For example, my windows form has 5 controls (textboxes), the operating system will pickup which control has the focus and handle ctrl-c, ctrl-v, or any other shortcuts. I have the same shortcuts working in my app, but have not determined how to find out which control has focus. Would I set up a loop or code for each control at form level. Any help...
0
8611
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
9170
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
9031
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...
1
8904
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,...
0
8876
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
7741
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...
1
6531
isladogs
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...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
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

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.