Subject Re: [IBO] TIB_LookupCombo: Indicating search is fail in incremental searching m
Author mmenaz
Just for records:
Did you read my previous replay?
Did you try my solution / patch for avoiding such an error? ("Cannot
focus a disabled window or invisible window")
Does it work or not?
Marco Menardi

--- In IBObjects@y..., "Hie Joen" <hiejoen@b...> wrote:
> > So you want to prevent the user exiting when they have not selected
> > anything.
> Yes and No.
> I tried these several times:
> - Insert new record in the grid
> - Type directly in TIB_LookupCombo for e.g "003" and exit the component.
> OnNotInList event fire and message show. Click Ok button and click
> button I got error "Cannot focus a disabled window or invisible window"
> The interesting part is the code in grdSOItemsCellLoseFocus(...)
> work and sometime not.
> By the way, thank you very much for your support. I give up. I will
> TIB_Grid component on my form and do it another way (regular data
entry form
> with TIB_LookupCombo, TIB_Edit, etc.).
> Best regards,
> HJ