[Lazarus] Bitmap animation component

Graeme Geldenhuys graemeg.lists at gmail.com
Fri May 30 15:57:49 CEST 2008


Le May 30, 2008 à 1:18 PM, Tom Gregorovic a écrit :

> On Fri, May 30, 2008 at 10:47 AM, Damien Gerard  
> <milipili at shikami.org> wrote:
>>
>> I have in my app a TScrollBox (AutoScroll=True) with some controls
>> created by hand as follow :
>>
>> E := TEdit.Create(nil);
>> E.Parent := MyScrollBox;
>> [...]
>>
>> Works fine under GTK2/Win32. However with Carbon TEdit and TMemo  
>> don't
>> have a border and they are not properly drawn when scrolling in the
>> TScrollBox.
>>
>> I try to make a new and simple app to reproduce it but using the IDE
>> to create controls (Lazarus with the Carbon Widgetset) and all works
>> well, at runtime such as designtime (except the control selects the
>> whole text then deselect it when you click on it).
>>
>> Would the parameter `nil` (in `TEdit.Create(nil)`) be a problem with
>> the Carbon WidgetSet ?
>>
>
> Hi,
> I think the problem is in adjusting client area of TScrollBox after
> its content changes. I deal with this so long and have been not able
> to solve it so far.
>

I forgot I am using anchors with those components.
I just try, and Indeed it is related with the use of anchors


--
Damien Gerard
milipili at shikami.org

"Intelligence is 10 million rules."
    -- Douglas Lenat









More information about the Lazarus mailing list