473,386 Members | 1,810 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,386 software developers and data experts.

Shortcut to a button

How do I make an Access key to an image in a Windows-form , like I do on a
webform?
regards
reidarT
Nov 21 '05 #1
7 1309
Reidar,

Can you explain this a little bit more?

Cor
Nov 21 '05 #2
In a webform I can click Alt + Letter to activate a button or field. I just
Enter the letter in Properties-Access.
I can't find the same thing in a Windows form.
regards
reidarT
"ReidarT" <re****@eivon.no> skrev i melding
news:uf**************@tk2msftngp13.phx.gbl...
How do I make an Access key to an image in a Windows-form , like I do on a
webform?
regards
reidarT

Nov 21 '05 #3
"ReidarT" <re****@eivon.no> schrieb:
How do I make an Access key to an image in a Windows-form , like I do on a
webform?


You can include a "&" character in the button's text to mark the following
character as shortcut key ("&Save", "&Open", ...).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4
Yes I know, but this is an imagebutton, not a textbutton.
reidarT
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> skrev i melding
news:OB**************@TK2MSFTNGP14.phx.gbl...
"ReidarT" <re****@eivon.no> schrieb:
How do I make an Access key to an image in a Windows-form , like I do on
a webform?


You can include a "&" character in the button's text to mark the following
character as shortcut key ("&Save", "&Open", ...).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5
Reidar,

Now I understand it, you can make the forecolor transparant

I hope this helps,

Cor
Nov 21 '05 #6
"ReidarT" <re****@eivon.no> schrieb:
Yes I know, but this is an imagebutton, not a textbutton.


You mean a button with an image without text?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #7
Yes I do
reidarT
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> skrev i melding
news:uG**************@tk2msftngp13.phx.gbl...
"ReidarT" <re****@eivon.no> schrieb:
Yes I know, but this is an imagebutton, not a textbutton.


You mean a button with an image without text?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #8

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

Similar topics

1
by: Barry Cannon | last post by:
I have developed an Access application and am attempting to add a button to one form that will run our Work Order system. The Work Order system is normally started from an icon on the desktop. ...
4
by: Salad | last post by:
A97. If you set a forms properties to ShortcutMenu = No, the entire form is disabled from displaying a shortcut menu. If you set the property to Yes, all controls have a shortcut menu. I have...
0
by: Saper\(ek\) | last post by:
this is a strange behavior of buttons with shortcut keys, when You have a datagrid on a form and some buttons with shortcut keys. When You click on the datagrid (anywhere but the cells, free space,...
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...
1
by: Aaron | last post by:
How can I add a shortcut key to a button in a windows app.? for example i have a button called submit and right now the only way to execute its function is to left click the button. I would like...
8
by: Henrik Dahl | last post by:
Hello! I would like to introduce a keyboard shortcut for refreshing the user interface in many programs. In english locales it's often F5 which is used, but how about other locales and/or...
3
by: cyshao | last post by:
How to add a shortcut Ctrl+S ? I want to add a new function for user to provide Ctrl+S to save things. How can I do that? Thanks Charles Shao^_^
1
by: TS | last post by:
Silly question, How to create a shortcut to click on a cmd button. For example if I have a cmd btn called Add, how to allow the users to hit on ctrl+A to trigger the event -- TS
10
by: Michael Maes | last post by:
Hi, I want to have a Button.Click event 'raise' a shortcut. If eg Button1 is Clicked, I want to have a shortcut 'CTRL + F12' activated. What's the best way to acchieve this. TIA, Michael
4
karthickbabu
by: karthickbabu | last post by:
Hi How can i create shortcut keys for Button Controls in vb.net. I am using MDI form and Child Form. I want to create shortcut key for button in ChildForm. Actually i created but when i press...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
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...
0
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,...

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.