Key Handling
-
Hi i have form with some text boxes and grids on it now i want to handle key or shortcuts for save, new etc at one time you have focus in text box or grid is there any way to trapp the keys for whole form instead of writing code in keypress event of every control separately plz help faisal iqbal ch Love The Process Not The Result, Faiz H Sail
-
Hi i have form with some text boxes and grids on it now i want to handle key or shortcuts for save, new etc at one time you have focus in text box or grid is there any way to trapp the keys for whole form instead of writing code in keypress event of every control separately plz help faisal iqbal ch Love The Process Not The Result, Faiz H Sail
i think you are looking for mnemonics for buttons on your form as you want that when user is typing in some textbox and press a key and automatically a button pressed for this purpose you should change the caption of button in following way &Save for save button now from anywhere on a form if user press Alt + S the button Save is pressed and code for its click event is invoked :)
Salman Sheikh