Subject RE: [IBO] Freezing screen with BeginBusy
Author Riho-Rene Ellermaa
Thanks to all! So many options for so little task :)

Riho-Rene Ellermaa
senior programmer
Hansabank

> BeginBusy/EndBusy help prevent various operations of "standing on each
> other" and wont acheive what you wanted (as you discovered).
>
> To prevent the mouse-cursor from flickering use something like...
>
> Dataset.IB_Session.BeginLockCursor;
> try
> finally
> Dataset.IB_Session.EndLockCursor;
> end;
>
> IB_Session is available from all IB_Component based components, so you
> can just use which ever one is handy at the time.
>
> It sounds like you also want to stop the various controls from
> updating. You can do this with TIB_DataSource functions. Choose
> either of...
>
> EnableControls / DisableControls - disables all datalink updates.
> Both visual controls AND master/detail and keysource datalinks. This
> should really only be used when operations are occuring on one table
> (since any related tables will not be kept synchronised).
>
> EnableInterface / DisableInterface - disables only datalinks for
> visual control. So all edit controls and grids etc will stop getting
> updates. Note that master/detail and keysource links will continue to
> get updates and this may result in some changes to some visual
> controls depending on how it is all configured.
>