Subject Re: Problem changing the TIB_Datasource Dataset property
Author ehandbury
--- In IBObjects@y..., "mmenaz" <mmenaz@l...> wrote:
> I think we can consider this a bug...
> But, just as a workaround, could you try to assign nil first?
> Like:
> dsProduct->Dataset = nil;
> dsProduct->Dataset = qrProduct;
>

Thanks for the answer, Macro, but unfortunately, it did not work. I
even tried to assign NULL to dsProduct->Dataset and then re-set it in
the AfterAssignment event to dsPSearch (after checking for NULL). IBO
called AfterAssignment twice (correctly) one for the NULL assign and
one for the dsPSearch assign, but the controls were still left pitch
black (I use ColorSchemes).

Eric.