473,406 Members | 2,439 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,406 software developers and data experts.

key board short cut in programming

hello,
is it possible to give key board short cuts for print preview and print instaed of placing buttons?im strucked here plese reply
Jul 6 '07 #1
2 1126
dafodil
392 256MB
hello,
is it possible to give key board short cuts for print preview and print instaed of placing buttons?im strucked here plese reply
There is no way you could do that in php since php is server side... Server side languages cannot detect events unless you pass it to them....

Even in none server side programming like VB... You should have an access to the objects interface before you can handle events like OnKeyPress()
Jul 6 '07 #2
pbmods
5,821 Expert 4TB
Heya, Hyperion.

Mac already has keyboard shortcuts for these commands, and I know that Windows at least has a shortcut for the Print command.

I would strongly recommend against trying to remap these shortcuts for your site, as this will create inconsistent behaviors, which will only confuse your Users.
Jul 6 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: delisonews | last post by:
I'm looking for a simple, filesystem-based message board. (No MySQL!) Something that I could include easily in my code: include '../inc/messageboard.php'; .... so that the board shows up at...
0
by: Mukesh Kumar | last post by:
Dear friends, I am very new to this forum. Please pardon me if this question has been posted before. I am looking for some Bulletin Board software like UBB, YaBB etc. I know Java but haven't...
6
by: Renato | last post by:
Hi, I have seen the board described in this link. http://www.seventech.it/english/merlinoboard/2.php I think that its a good solution to realize an embedded system with VGA output, in that cases...
2
by: Champika Nirosh | last post by:
Hi, I want to create drawing board application that can draw Line, rectagle, circle and free hand drawing. Each drawing need to be transparent, moveable (draggable), have bring to front and...
3
by: Lars | last post by:
Hi I'm programming C to an AVR-Board and would like to activate a register on the board with an C# application. Instead of pressing the button (PINA.4 or address 0x19 bit 4) , i would like to...
4
by: Frank Miverk | last post by:
Hi, Curious to know if there are any C# asp.net message board code with sql server database schema. Something similar to the php Serendipity blog would be perfect. Even something more...
10
by: sam_cit | last post by:
Hi Everyone, I'm working on developing a chess game and i decided to use c++ for its object oriented approach. I have a bass class unit and is inherited to distinct number of units (like king,...
4
by: Hypnotik | last post by:
So I'm writing this program. I have the board constructed, and I'm having a problem making a move. At this point I just want to make a move, I'll work on whether it is a legal move after that. The...
1
by: poopsy | last post by:
hi all, i'm trying out some examples on java..and i found this code where there is board and i cant find out what package to import to make this work, im getting error where there is "board".. i...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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
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
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,...
0
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...

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.