Subject | Re: [IBO] IB_Grid: Reduce flickering |
---|---|
Author | Daniel Albuschat |
Post date | 2006-06-21T10:50:23Z |
2006/6/21, Helen Borrie <helebor@...>:
thanks for your reply. I tried calling DisableInterface before
opening/closing and
EnableInterface afterwards. I get a segmentation fault on the EnableInterface
call.
Here's the call-stack:
TIB_Column.GetStatement <- Crash
TIB_Column.GetControlsReadOnly
TIB_CustomGrid.UpdateColumnAttributes
TIB_CustomGrid.SysStateChanged
TIB_CustomGrid.StateChanged
TIB_DataLink.SysStateChanged
TIB_CustomGridLink.SysStateChanged
TIB_DataSource.SysStateChanged
TIB_DataSource.EnableInterface
MyFunction
I'll have to bear with the flickering for now, I guess...
--
eat(this); // delicious suicide
> At 07:07 PM 21/06/2006, you wrote:Hello Helen,
> >2006/6/21, Svein Erling Tysvaer <svein.erling.tysvaer@...>:
> > > Have you tried the BeginBusy/EndBusy methods?
> >
> >Thanks for your suggestion.
> >I tried BeginBusy/EndBusy and DisableControls/EnableControls.
> >I can't see any change in the flickering, though.
> >
> >In some cases, DisableControls helps a lot, but only to other connected
> >controls, not the "main" grid itself.
>
> Maybe TIB_Datasource.DisableInterface/EnableInterface is what you are
> looking for.
thanks for your reply. I tried calling DisableInterface before
opening/closing and
EnableInterface afterwards. I get a segmentation fault on the EnableInterface
call.
Here's the call-stack:
TIB_Column.GetStatement <- Crash
TIB_Column.GetControlsReadOnly
TIB_CustomGrid.UpdateColumnAttributes
TIB_CustomGrid.SysStateChanged
TIB_CustomGrid.StateChanged
TIB_DataLink.SysStateChanged
TIB_CustomGridLink.SysStateChanged
TIB_DataSource.SysStateChanged
TIB_DataSource.EnableInterface
MyFunction
I'll have to bear with the flickering for now, I guess...
--
eat(this); // delicious suicide