Subject Re: [IBO] Flickering panel
Author peter@cyionics.com
Thanks Helen

I'll give those a try.

Rgds

Peter
----- Original Message -----
From: Helen Borrie
To: IBObjects@yahoogroups.com
Sent: Wednesday, October 29, 2003 12:29 PM
Subject: Re: [IBO] Flickering panel


At 12:04 PM 29/10/2003 +0000, you wrote:
>Hi
>
>I have a IB_CTRL grid with various IB_Text components and some IB_memo
>components.
>I have a vertical scroll bar on the grid, but when I try to scroll one of
>the entries seems to flicker as if hunting between records, too fast to read.
>
>I have upgraded to release f, but that didn't fix it ?

Call Grid.Datasource.DisableInterface/EnableInterface in the BeforeScroll
and AfterScroll events, respectively, of the dataset.

IBO Help for DisableInterface:
<<
Similar to DisableControls but calling this only disables user interface
controls.
Applies to
TIB_DataSource
Declaration
procedure DisableInterface;
Description
Master-Detail and Lookup links will continue to operate. NB. Isolates user
interface controls by checking for datalinks that have been derived from
TIB_ControlDataLink.

Be sure to use a "try...finally" block to guarantee that every call to
DisableInterface has a corresponding call to EnableInterface.
>>


>Any ideas, if I cant fix this then is there a way using one of the grids
>to display mixed text and text memo fields ?

IB_Grid can give you a popup window of the memo text if you use its
EditLinksAuto property (& you have the option of defining your own edit
display instead of the default popup).

Helen




___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


[Non-text portions of this message have been removed]