Subject | Re: [IBO] Deactivate Detail Datasets (was: ...MasterSource) |
---|---|
Author | neckarelzer |
Post date | 2003-05-17T15:45Z |
Hmmm...
detail set right away. You have to call Refresh on the detail
set too, or wait until the next time the master scrolls.
So maybe this one was easier after all, especially if you have
only one detail set:
Grtz,
Paul
> But there's another solution that I think is "cleaner":I see that CustMasterSource.EnableControls doesn't update the
> - Drop an extra IB_DataSource on your form....
> - Leave the datasource of all your controls untouched, but...
> - Now if you want to disable updating of the detail set...
> ... ... ...until you call CustMasterSource.EnableControls
detail set right away. You have to call Refresh on the detail
set too, or wait until the next time the master scrolls.
So maybe this one was easier after all, especially if you have
only one detail set:
> - to freeze detail updates: DetailSet.MasterSource := nil;MyMasterSource;
> - to re-enable them : DetailSet.MasterSource :=
Grtz,
Paul