Re: Ctrl+S = SAVE
- From: "Stefan Wuebbe" <stefan.wuebbe@xxxxxx>
- Date: Tue, 17 Apr 2007 12:57:36 +0200
"Zeeshan Hussain" <zeeshan@xxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:eyybn2NgHHA.1240@xxxxxxxxxxxxxxxxxxxxxxx
Hye,Hi Zeeshan,
Dear i want to know that how can i save data on form by Pressing "Ctrl+S"
key. i mean that Save button pressed automatically by pressing "Ctrl+S"
key.
You can either
- add hotkey functionality to your commandButton by modyfing its
caption like "\<Save" (giving a <Alt+S> hotkey)
- and/or create a menu with Options -> Shortcut -> Key Label in the designer
and then in the command line add something like "_screen.ActiveForm.
yourSaveMethod()" (w/o quotes) and in Skip For write like:
Type("_screen.ActiveForm.Name")<>"C" Or
!PemStatus(_screen.ActiveForm,'yourSaveMethod',5)
hth
-Stefan
--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------
.
- References:
- Ctrl+S = SAVE
- From: Zeeshan Hussain
- Ctrl+S = SAVE
- Prev by Date: Ctrl+S = SAVE
- Next by Date: How to access registry?
- Previous by thread: Ctrl+S = SAVE
- Next by thread: Re: Ctrl+S = SAVE
- Index(es):
Loading