Subject | Re: [IBO] F2 to Edit |
---|---|
Author | Geoff Worboys |
Post date | 2006-10-05T12:27Z |
> User input to the grid must be restricted to pre-definedThis list does not accept attachments.
> entries previously entered in small lookup tables.
> The need is for either F2 or double click within a grid cell
> to display the drop-down list of lookup values for selection.
> No editing is permitted, no values other than those in the
> lookup tables.
> A TDBGrid is linked to a TDataSource associated with a
> TIBOQuery. The lookup fields are added to the TIBOQuery field
> list using the fields editor and related to the source tables.
> The TDBGrid gives full control over each of its columns in
> terms of format and source field so each column can be
> associated with the new lookup fields.
> I will email a small screen dump for clarity.
But probably does not matter. What you describe in terms of
function is already available. It is only the details of user
interaction that need to be clarified.
If you need F2 to work exactly as Alan is looking for then he
has already described his work around on this thread. (And we
can discuss "fixing the problem" with Jason for a future
release.)
If you need help to set up your TIB_Grid with TIB_LookupCombo
for each column then I suggest starting a new thread. I think
the Contact sample has a lookup on a grid as an example.
--
Geoff Worboys
Telesis Computing