473,395 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Underline letter on button as shortcut to use

This is what I am asking

In many programs there are buttons that have a letter underlined, and
when pressing Alt & the underlined letter then you will activate that
button. For instance and button called Cancel with the "C" underlined.
I was wondering if this is possible to do with access in both buttons
and tab's. Let me know

C
Nov 12 '05 #1
2 6788
Yep: include an ampersand in the Caption of the attached label, e.g.:
&Cancel

--
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.
"cbielich" <cb******@yahoo.com> wrote in message
news:35**************************@posting.google.c om...
This is what I am asking

In many programs there are buttons that have a letter underlined, and
when pressing Alt & the underlined letter then you will activate that
button. For instance and button called Cancel with the "C" underlined.
I was wondering if this is possible to do with access in both buttons
and tab's. Let me know

C

Nov 12 '05 #2
On 2 Dec 2003 22:18:41 -0800 in comp.databases.ms-access,
cb******@yahoo.com (cbielich) wrote:
This is what I am asking

In many programs there are buttons that have a letter underlined, and
when pressing Alt & the underlined letter then you will activate that
button. For instance and button called Cancel with the "C" underlined.
I was wondering if this is possible to do with access in both buttons
and tab's. Let me know

C


Preceed the letter with an ampersand, e.g. "E&xit", "&Cancel", etc. To
get an ampersand into a label, use two ampersands, e.g. "Smith &&
Wesson".

--
A)bort, R)etry, I)nfluence with large hammer.
Nov 12 '05 #3

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

Similar topics

6
by: Tim Daneliuk | last post by:
I am currently underling the first character of a menu title (to indicate its shortcut/accelerator key) like this: self.WildBtn = Menubutton(self.mBar, text=WILDMENU, underline=0, state=DISABLED)...
21
by: Scott Townsend | last post by:
I have a form that I allow the user to use the ALT-S key to submit. I'd like to have just the S in the Submit button underlined, Is this possible? Thanks, Scott<-
0
by: Frank Jiang | last post by:
Does anybody know how to underline in a tabcontrol's tab, as in VB6 &Cancel will show a shortcut underlined "C". I've created a shortcut by using form event handler. I need to show some sign on...
7
by: VK | last post by:
Given a code like this: .... <!-- It's small letter "l", not number 1 --> <label for="bCC" accesskey="l"> </label> <input type="button" name="bCC" id="bCC" value="Load" class="unboundButton"...
0
by: Ollie | last post by:
When a form has a default button (Form.AcceptButton) and\or a shortcut key for that button (e.g. "&Process") and this button happens to close the form when clicked. Why does the control that...
2
by: ALok Gupta via .NET 247 | last post by:
How do I do to underline a character in the property text of Button or Label ? I have to manage the AccessKeys. THANX (Type your message here) -------------------------------- From: ALok...
2
by: Niti | last post by:
I have an external JS menu of links which get underlined on mouse over as specified through CSS. But since I break the bulleted list of link-lines myself, there is an extra space underlined at the...
6
by: dfoster | last post by:
In my form, I have four buttons that do different tasks. The button.Text field is set as &Next Project, so the N will be underlined. In the preview of the form, it shows up with the N underlined. ...
3
by: DiMono | last post by:
Consider this code: <input type="button" value="u" style="text-decoration: underline;" /> With a complete doctype definition, Firefox will not render the underline, but IE will. With an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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...

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.