Subject Re: [IBO] Re: IB_LookupCombo bug?
Author Helen Borrie
At 03:02 AM 7/08/2005 +0000, you wrote:
> Oh Helen, thanks for all help. Since i started with ibo i see you
>are amazing in the forum. But unhappily my problem continues.
> Well, i found out that this problem occurs with the last fetched
>column, and in my case, i only fetch one column, that i think to ibo
>this is the last one. I looks like ibo stretch the dropdowncolumn.

It does this if the underlying grid's ListboxStyle property is set to
True. It stretches the width of the rightmost column, so that you don't
see empty space at the right-hand side of the grid in a regular TIB_Grid or
in "Listbox" style controls that use the TIB_Grid.

> I opened the source coded and i didn't go any longer, but there, i
>realize something like "GridFields[ StretchColNum ].DefaultWidth" and
>the delphi pointer was going over it. is this stretch caused by
>anything i did?

Since this property isn't available to the TIB_LookupCombo, I guess it
defaults to True for this control's grid, which would make sense.

Are you using a custom popup, by any chance?

By the way i found this insede the source. I looks a bg like this was
>fixed by Luis Alves:
>{ Luiz Alves <cprmlao@...> }
>{ 01-out-2002 }
>{ -Fix to tib_lookupcombo showing incorrect width during dropdown }
>{ -Fix to tib_lookupcombo doesn't paint bottom line of external }
>{ rectangle during dropdown

Yes, that's *really* old!