Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / June 2004

Tip: Looking for answers? Try searching our database.

Shortcut for Refresh, F5 or symbolic code?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Henrik Dahl - 23 Jun 2004 16:53 GMT
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
Brian Henry - 23 Jun 2004 17:03 GMT
it's pretty much always F5 anywhere you go... seems to of became the
standard key for refreshing...

> Hello!
>
[quoted text clipped - 12 lines]
>
> Henrik Dahl
Henrik Dahl - 23 Jun 2004 17:05 GMT
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

> it's pretty much always F5 anywhere you go... seems to of became the
> standard key for refreshing...
[quoted text clipped - 17 lines]
> >
> > Henrik Dahl
Klaus H. Probst - 23 Jun 2004 17:11 GMT
What?

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

What do you mean "symbolic key"?

Signature

Klaus H. Probst, MVP
  http://www.vbbox.com/

> Brian,
>
[quoted text clipped - 29 lines]
> > >
> > > Henrik Dahl
Henrik Dahl - 23 Jun 2004 17:30 GMT
It could e.g. by KeyRefresh or something like that, i.e. more abstract than
simply F5.

Best regards,

Henrik Dahl

> What?
>
[quoted text clipped - 36 lines]
> > > >
> > > > Henrik Dahl
Herfried K. Wagner [MVP] - 23 Jun 2004 17:15 GMT
* "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.

Signature

Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/

Shakir Hussain - 23 Jun 2004 17:15 GMT
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.

> Hello!
>
[quoted text clipped - 12 lines]
>
> Henrik Dahl
Klaus H. Probst - 23 Jun 2004 17:30 GMT
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.

Signature

Klaus H. Probst, MVP
  http://www.vbbox.com/

> Henrik,
>
[quoted text clipped - 26 lines]
> >
> > Henrik Dahl
Stoitcho Goutsev \(100\) [C# MVP] - 23 Jun 2004 17:56 GMT
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.

Signature

HTH
Stoitcho Goutsev (100) [C# MVP]

> Hello!
>
[quoted text clipped - 12 lines]
>
> Henrik Dahl

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.