Subject | Re: how to disable insert/delete key press in IB_Grid |
---|---|
Author | Marco Menardi <mmenaz@lycosmail.com> |
Post date | 2002-12-10T09:30:55Z |
You can set IB_Grid properties:
PreventInserting
PreventDeleting
(if it does not work, you have to intercept keypress and set the key
code to #0)
As usual, IBO has a lot of useful properties to choose from :)
regards
Marco Menardi
--- In IBObjects@yahoogroups.com, "hkuser2001 <ibo@c...>" <ibo@c...>
wrote:
PreventInserting
PreventDeleting
(if it does not work, you have to intercept keypress and set the key
code to #0)
As usual, IBO has a lot of useful properties to choose from :)
regards
Marco Menardi
--- In IBObjects@yahoogroups.com, "hkuser2001 <ibo@c...>" <ibo@c...>
wrote:
> Dear all,
>
> I found user can press delete in the IB_Grid to delete a record. I
> don't want to let them do it like that. I have a delete button on the
> form, it will check user rights before doing the delete, it also
> prevents ugly error message when he has no rights.
>
> So, how can I easily disable the Grid to response to delete/insert
> key press?
>
> Thanks.
> Michael