[AccessD] Disabling Ctrl-A

David Emerson newsgrps at dalyn.co.nz
Tue Apr 5 20:25:45 CDT 2005


Thanks Ken - that was the answer I was looking for.

David

At 6/04/2005, you wrote:

>David,
>
> >Is there a way to check if records are selected
> >(any number of records - not just all of them)?
>
>You can always use the Form's SelHeight property:
>
>     If Me.SelHeight = 1 Then
>         ' User has selected a single row
>     ...
>
>That way, when you trap Ctrl-C, you could allow it for one row, but not
>many. You can then allow record selectors, if your users find them useful.
>
>-Ken
>
>PS: Be sure to disable any shortcut (right-click) menus by setting the
>Shortcut Menu property to No, or providing your own shortcut menu that
>either excludes Cut & Copy, or replaces them with a calls to your custom
>functions.




More information about the AccessD mailing list