Board index » jbuilder » disable CTRL-INS on a dataset

disable CTRL-INS on a dataset


2005-06-08 10:53:21 PM
jbuilder5
Hi,
I want to prevent the user from inserting a dataset in a form. When I
disable or hide the respective button on the JdbNavToolbar, the user ist
still able to press CTRL-INS and will create a new record.
How can I avoid that?
Regards
Wolfgang
 
 

Re:disable CTRL-INS on a dataset

Wolfgang Schur wrote:
Quote
Hi,

I want to prevent the user from inserting a dataset in a form. When I
disable or hide the respective button on the JdbNavToolbar, the user
ist still able to press CTRL-INS and will create a new record. How
can I avoid that?

Regards
Wolfgang
dataSet.setEnableInsert(false);
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
www.datadevelopment.com/
NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
www.datadevelopment.com/papers/index.html
Please see Borland's newsgroup guidelines at
info.borland.com/newsgroups/guide.html