[AccessD] Shift+F2 using code

John Bartow john at winhaven.net
Sat Dec 13 16:47:07 CST 2003


Barb:
Place this code in the double click event of the control:
DoCmd.RunCommand acCmdZoomBox


Or, you could place a command buttton on the form that zooms for any
control, with this code in the command button's click event:
Screen.PreviousControl.SetFocus
DoCmd.RunCommand acCmdZoomBox

HTH
John B.

> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan
> Sent: Saturday, December 13, 2003 3:35 PM
> To: Access List
> Subject: [AccessD] Shift+F2 using code
>
>
> Is there a way to programatically (i.e., in VBA) to execute a
> Shift+F2 (in order to "Zoom in" on a field on a form) without
> using Sendkeys?
>
> Thanks,
> Barb Ryan
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
>




More information about the AccessD mailing list