Subject | Re: Problem changing the TIB_Datasource Dataset property |
---|---|
Author | ehandbury |
Post date | 2002-06-03T22:27:11Z |
--- In IBObjects@y..., "mmenaz" <mmenaz@l...> wrote:
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.
> I think we can consider this a bug...Thanks for the answer, Macro, but unfortunately, it did not work. I
> But, just as a workaround, could you try to assign nil first?
> Like:
> dsProduct->Dataset = nil;
> dsProduct->Dataset = qrProduct;
>
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.