Subject | Re: [IBO] IB_LookupEnh question |
---|---|
Author | Geoff Worboys |
Post date | 2001-08-22T14:17:45Z |
> A user dropped down the LookupEnh, scrolled a few recordsGood point. None of my users have ever asked for it, but it would be
> (meanwhile the new value apper in edit field) and he pressed
> Escape key. The question is how to restore previous value
> without cancelling dssEdit state?
consistent if hitting escape and second time reset the value. I will
look into whether this is feasible.
> Geoff, did you ever think about putting a small button onYes I did, but decided against it at the time.
> dropdown panel allowing adding new records to lookup
> dataset?
Note that the the Button property is still available on the control.
So you can set the Button.Style to eebLeftRightEllipsis - which gives
you effectively two buttons. You can then attach code to the
OnButton2 event to do whatever you want. You will probably want to
set Button.Size to 31 or so and possibly Button.Key2 to an appropriate
keyboard shortcut.
Is this sufficient?
I also noticed in your demo that the button on the TIB_LookupEnh
control is not repainting properly when the main dataset is
activated - I will look into fixing that.
Geoff Worboys
Telesis Computing