Subject | TIB_Grid Behaviour |
---|---|
Author | Alan McDonald |
Post date | 2002-12-12T06:35:04Z |
A form with TIB_Grid and some TIB_ edit controls connected to a datasource
with a TIB_Query... simple as I can make it.
datamodule create open the query
after query return to last project with:
IB_QProject.KeyFields.Values['PROJIND'] := irLastProject;
IB_QProject.LookupKeyForFields;
Form opens, focus on grid.
click into TIB_edit control and I cannot edit (type text) straight away - I
ned to click off the record (in the grid) and back to the record to
successfully start typing and turning the query into edit mode.
I can then browse to any other record in the grid and start typing in the
edit box with no problem.
1. How can I make the typing turn on edit mode on application start 9i.e.
the first record the grid is on?
Next I click away from the edited text by clicking a new record in the grid
but I can't get the grid to move until the second click.
2. Is there some method for making the grid, editing, navigation work more
smoothly?
thanks
Alan
with a TIB_Query... simple as I can make it.
datamodule create open the query
after query return to last project with:
IB_QProject.KeyFields.Values['PROJIND'] := irLastProject;
IB_QProject.LookupKeyForFields;
Form opens, focus on grid.
click into TIB_edit control and I cannot edit (type text) straight away - I
ned to click off the record (in the grid) and back to the record to
successfully start typing and turning the query into edit mode.
I can then browse to any other record in the grid and start typing in the
edit box with no problem.
1. How can I make the typing turn on edit mode on application start 9i.e.
the first record the grid is on?
Next I click away from the edited text by clicking a new record in the grid
but I can't get the grid to move until the second click.
2. Is there some method for making the grid, editing, navigation work more
smoothly?
thanks
Alan