473,386 Members | 1,842 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 for Refresh, F5 or symbolic code?

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 preferences. Should I simply bind the
refresh feature to F5 or is there a symbolic Shortcut for refreshment?

Comment: I think there must be symbolic key, because my IBM ThinkPad A31p
has a refresh button which refreshes in Internet Explorer, but it does not
work in my own program when I bind to F5, but F5 works perfectly of course.

Any recommendations?
Best regards,

Henrik Dahl
Nov 20 '05 #1
8 1600
it's pretty much always F5 anywhere you go... seems to of became the
standard key for refreshing...

"Henrik Dahl" <q@q.q.q> wrote in message
news:Oy**************@TK2MSFTNGP12.phx.gbl...
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 preferences. Should I simply bind the
refresh feature to F5 or is there a symbolic Shortcut for refreshment?

Comment: I think there must be symbolic key, because my IBM ThinkPad A31p
has a refresh button which refreshes in Internet Explorer, but it does not
work in my own program when I bind to F5, but F5 works perfectly of course.
Any recommendations?
Best regards,

Henrik Dahl

Nov 20 '05 #2
Brian,

Yes, but is F5 the concrete key which I should use in my software or is
there a symbolic key I should use and F5 is just the result of projecting
the symbolic key over the user's preferences space?

Best regards,

Henrik Dahl
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
it's pretty much always F5 anywhere you go... seems to of became the
standard key for refreshing...

"Henrik Dahl" <q@q.q.q> wrote in message
news:Oy**************@TK2MSFTNGP12.phx.gbl...
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 preferences. Should I simply bind the
refresh feature to F5 or is there a symbolic Shortcut for refreshment?

Comment: I think there must be symbolic key, because my IBM ThinkPad A31p has a refresh button which refreshes in Internet Explorer, but it does not work in my own program when I bind to F5, but F5 works perfectly of

course.

Any recommendations?
Best regards,

Henrik Dahl


Nov 20 '05 #3
What?

Just use F5. The F5 physical F5 key with corresponding keycode.

What do you mean "symbolic key"?
--
Klaus H. Probst, MVP
http://www.vbbox.com/

"Henrik Dahl" <q@q.q.q> wrote in message
news:#D**************@TK2MSFTNGP12.phx.gbl...
Brian,

Yes, but is F5 the concrete key which I should use in my software or is
there a symbolic key I should use and F5 is just the result of projecting
the symbolic key over the user's preferences space?

Best regards,

Henrik Dahl
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
it's pretty much always F5 anywhere you go... seems to of became the
standard key for refreshing...

"Henrik Dahl" <q@q.q.q> wrote in message
news:Oy**************@TK2MSFTNGP12.phx.gbl...
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 preferences. Should I simply bind the refresh feature to F5 or is there a symbolic Shortcut for refreshment?

Comment: I think there must be symbolic key, because my IBM ThinkPad A31p has a refresh button which refreshes in Internet Explorer, but it does not work in my own program when I bind to F5, but F5 works perfectly of

course.

Any recommendations?
Best regards,

Henrik Dahl



Nov 20 '05 #4
Henrik,

F5 key is getting more attention when it comes to refreshing. However, its
not consistent with all applications. In visual studio, F5 key starts
debugger. In lotus notes F5 trigers "Notes Lock". In MS Word, F5 key brings
up "Find and Replace" dialog.

I feel software vendors can make Ctrl+R key as the standard key for refresh
for all products.

Shak.
"Henrik Dahl" <q@q.q.q> wrote in message
news:Oy**************@TK2MSFTNGP12.phx.gbl...
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 preferences. Should I simply bind the
refresh feature to F5 or is there a symbolic Shortcut for refreshment?

Comment: I think there must be symbolic key, because my IBM ThinkPad A31p
has a refresh button which refreshes in Internet Explorer, but it does not
work in my own program when I bind to F5, but F5 works perfectly of course.
Any recommendations?
Best regards,

Henrik Dahl

Nov 20 '05 #5
* "Henrik Dahl" <q@q.q.q> scripsit:
Yes, but is F5 the concrete key which I should use in my software or is
there a symbolic key I should use and F5 is just the result of projecting
the symbolic key over the user's preferences space?


Not sure... I would use F5 directly.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6
It all depends on what type of application you're using. It makes no sense
for VS.NET to give you "Refresh". Refresh of what? Same for Word. Notes is
about as nonstandard as you can get away with and still sell software.

Ctrl+R is probably a bad idea. It's used for more things in other
applications than F5.
--
Klaus H. Probst, MVP
http://www.vbbox.com/

"Shakir Hussain" <sh**@fakedomain.com> wrote in message
news:eH**************@TK2MSFTNGP12.phx.gbl...
Henrik,

F5 key is getting more attention when it comes to refreshing. However, its
not consistent with all applications. In visual studio, F5 key starts
debugger. In lotus notes F5 trigers "Notes Lock". In MS Word, F5 key brings up "Find and Replace" dialog.

I feel software vendors can make Ctrl+R key as the standard key for refresh for all products.

Shak.
"Henrik Dahl" <q@q.q.q> wrote in message
news:Oy**************@TK2MSFTNGP12.phx.gbl...
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 preferences. Should I simply bind the
refresh feature to F5 or is there a symbolic Shortcut for refreshment?

Comment: I think there must be symbolic key, because my IBM ThinkPad A31p has a refresh button which refreshes in Internet Explorer, but it does not work in my own program when I bind to F5, but F5 works perfectly of

course.

Any recommendations?
Best regards,

Henrik Dahl


Nov 20 '05 #7
It could e.g. by KeyRefresh or something like that, i.e. more abstract than
simply F5.
Best regards,

Henrik Dahl

"Klaus H. Probst" <us*******@vbbox.com> wrote in message
news:OB**************@TK2MSFTNGP11.phx.gbl...
What?

Just use F5. The F5 physical F5 key with corresponding keycode.

What do you mean "symbolic key"?
--
Klaus H. Probst, MVP
http://www.vbbox.com/

"Henrik Dahl" <q@q.q.q> wrote in message
news:#D**************@TK2MSFTNGP12.phx.gbl...
Brian,

Yes, but is F5 the concrete key which I should use in my software or is
there a symbolic key I should use and F5 is just the result of projecting
the symbolic key over the user's preferences space?

Best regards,

Henrik Dahl
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
it's pretty much always F5 anywhere you go... seems to of became the
standard key for refreshing...

"Henrik Dahl" <q@q.q.q> wrote in message
news:Oy**************@TK2MSFTNGP12.phx.gbl...
> 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 preferences. Should I simply bind the > refresh feature to F5 or is there a symbolic Shortcut for refreshment? >
> Comment: I think there must be symbolic key, because my IBM ThinkPad

A31p
> has a refresh button which refreshes in Internet Explorer, but it

does not
> work in my own program when I bind to F5, but F5 works perfectly of
course.
>
> Any recommendations?
>
>
> Best regards,
>
> Henrik Dahl
>
>



Nov 20 '05 #8
Hi Henrik,

I don't think there is a standard for the refresh key. I would expect to be
F5 because it is what the explorer uses, but I would be surprised if it is
not. Just make sure that you have a Refresh command in your View (or what
ever) menu at it states which is the shortcut key for it. That what the
users that want to use shortcut will do in the first place. They'll look in
the main menu for what key to use in future.

As far as it goes for the refresh key in your laptop... Those special keys
are read by special software and are configured to do something special.
Don't expect them to generate any meaningful key code. They might do that,
but don't have to.

--
HTH
Stoitcho Goutsev (100) [C# MVP]
"Henrik Dahl" <q@q.q.q> wrote in message
news:Oy**************@TK2MSFTNGP12.phx.gbl...
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 preferences. Should I simply bind the
refresh feature to F5 or is there a symbolic Shortcut for refreshment?

Comment: I think there must be symbolic key, because my IBM ThinkPad A31p
has a refresh button which refreshes in Internet Explorer, but it does not
work in my own program when I bind to F5, but F5 works perfectly of course.
Any recommendations?
Best regards,

Henrik Dahl

Nov 20 '05 #9

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

Similar topics

2
by: Obi Wan Shinobi | last post by:
I can't seem to prevent the refresh associated with F5 in Netscape. I can capture the key but returning false does not prevent the refresh. The code is as follows: function keyDown(e) { if...
2
by: Tempy | last post by:
Hello all, I was given the advice below by Justin Hoffman for my problem of refreshing my tables the first time the DB is opened and not again until the next day after 11am, but as a newbie i am...
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...
0
by: Marcel | last post by:
Hi, the application I am writing has a MainMenu and a DataGrid (UltraGrid). Now I have to edit the text of each cell in this grid. So far so good. All works fine in editmode but if I press a...
10
by: Tom Bower | last post by:
(VB newbie, no flames please) I have a simple one-form VB application which I want, on invocation, to start up, initialize and display the form (the UI), and then go execute some more code (a...
6
by: MLH | last post by:
I don't always get what I want when I invoke the following Me!MySubFormControl.Refresh from code running in the main form. Am I doing something wrong here? Someone suggested that I open the...
1
by: helraizer1 | last post by:
Hi folks, and folkesses. I have a piece of java script for a dynamic menu (code below). <ilayer width=100% height=50 name="dep1" bgColor="#000000"> <layer name="dep2" width=100% height=50>...
1
by: Mosa | last post by:
Dear all, I want to create a desktop shortcut using this code function MakeShortcut() { var WshShell = new ActiveXObject("WScript.Shell"); strDesktop = WshShell.SpecialFolders("Desktop");...
2
by: ssssss | last post by:
hyy i want to build application for windows mobile so iwant code in c# languge i want build a simple application for the .net compact frame work so please give to me eassy example.
3
Jerry Maiapu
by: Jerry Maiapu | last post by:
Hi all, I have a child and parent forms. The record source of the sub-form is query containing aggregate functions. A combo box in the parent form filters the sub-form results based on value...
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
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
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
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,...
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...

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.