Subject Re: [IBO] Trouble with TDateTimeEnh
Author Geoff Worboys
Hi Paul,

> I have a TDateTimeEnh in an IB_Grid. When selecting a date
> sometimes its OK and sometimes I get a cant focus an invisible
> window error. Problem is at
...
> because Controller (the TDateTimeEnh) isnt visible any more.
> I tried 'if refocus and controller.visible' but tthis allows
> focus to leave the grid altogether. Becasue these components
> can be in a grid or not I'm not sure how to fix it.

You say that it is OK sometimes and not others. Are you able
to work out which situations cause it troubles? If we can work
out when the problem occurs we may find a way to force the
close-up event to occur while the controller is still visible.

--
Geoff Worboys
Telesis Computing