yang lain lagi : In the Events tab of your Form's properties window, set the Key Preview property to Yes.
Now, in the Key Down event of your Form, enter the following code: If (Shift And acCtrlMask) > 0 And KeyCode = 80 Then KeyCode = 0 Ctrl-P no longer works for your form. --- In [email protected], "budi laksamana" <[EMAIL PROTECTED]> wrote: > > ada ada aja, > > tapi searching pasti ketemu ini : > > Hi, > As khaos suggested create an AutoKeys macro. > In the Database window, click Macros under Objects. > Click New. > Click Macro Names (XYZ) on the toolbar. > In the Macro Name column, type the key or key combination to which you > want to assign the action or set of actions. > ^(C) 'Ctrl+C = Copy > ^(V) 'Ctrl+V = Paste > ^(P) 'Ctrl+P = Print > > Then under action put a msgbox and in the message field write your: Na > na na na, no copying alowed... > Save the macro as AutoKeys! > From then on you will not be able to use the shortcut keys. > HTH > Good luckl > > P.S. > Or rip out your users Keys on the keyboard > > dari utteraccess discussion forums > > cheers, > budilaks > > --- In [email protected], "David" <hp3342@> wrote: > > > > Mau nanya bagaimana cara mendisable printah Ctrl+P (Perintah print) > > Semua menu tolbar pada Tampilan Report saya disable yang tujuan agar > > user tidak dapat melakukan printah print report tetapi user tententu > > yang mempunyai hak untuk melakukan print bisa melakukan print melalui > > suatu command button yang saya bikin di suatu form > > >

