Subject | Re: [IBO] keycomb. in IBGrid: no need tp press Alt |
---|---|
Author | Geoff Worboys |
Post date | 2001-04-07T02:45:57Z |
> in a form, i use a ibgrid, some buttons with captions likeIf you are on an empty grid where the TIB_DataSource.AutoInsert is
> &New &edit &delete.
> sfaik i press alt + n to insert a new record.
> if activcontrol is ibgrid and i press only "n", my app acts
> like pressing alt + n!
> maybe a feature of ibgrid but i would like to press the
> alt-key before.
true, then pressing a key will automatically begin inserting. So the
solution would be to set AutoInsert to false.
If you are on a valid data row on the grid where
TIB_DataSource.AutoEdit is true, then pressing a key will
automatically begin editing. So the solution would be to set AutoEdit
to false.
If you are on a dialog then it is a Windows feature to not require the
alt key (if the control itself does not consume the keystroke). Not
sure what your solution would be here - perhaps setting the form
KeyPreview to true and trying to trap the situation.
Does any of this explain what you are seeing?
Geoff Worboys
Telesis Computing