On Thu, 23 Mar 2006 20:43:11 +0100
darekm <[EMAIL PROTECTED]> wrote:
> Hi
> new patch for tComboBox
Applied. Thanks.
Why did you commented modal windows?
I didn't apply that.
Mattias
>
>
> Mattias Gaertner wrote:
>
> >On Wed, 22 Mar 2006 22:59:40 +0100
> >darekM <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >>Mattias Gaertner napisa?(a):
> >>
> >>
> >>>On Wed, 22 Mar 2006 22:26:32 +0100
> >>>darekm <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Mattias Gaertner wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>On Wed, 22 Mar 2006 21:40:31 +0100
> >>>>>darekm <[EMAIL PROTECTED]> wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi
> >>>>>> please throw up last patch,
> >>>>>> this works better
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>It seems, you disabled using the widgetset TStrings in InitializeWnd.
> >>>>>Where is it assigned now?
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>On CreateComboBox You assign from fItems to Widgets list
> >>>>for what reverse in Initialize
> >>>>
> >>>>
> >>>>
> >>>Ok. Then the
> >>>'NewStrings.Assign(FItems);'
> >>>is unneccessary in TCustomComboBox.InitializeWnd.
> >>>But you deleted the 'FItems:= NewStrings;' as well, didn't you?
> >>>
> >>>
> reverse
>
> >>>
> >>>
> >>>
> >>Then I don't understand, how it should work, we have 2 tStrings (for
> >>component and internal in widgets) or one.
> >>
> >>I assume there are two, if one patch should be changed.
> >>
> >>
> >
> >There are two types and only one at a time.
> >Without a Handle TComboBox uses a TStringList.
> >When a handle is created, the widgetset creates a special
> >TGtkListStringList and the TStringList is freed.
> >When the handle is destroyed, a TStringList is created and the
> >TGtkListStringList is destroyed.
> >
> >
>
> I noticed, that caption is set two times
>
>
> Darek
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives