On Fri, May 30, 2008 at 10:47 AM, Damien Gerard <[EMAIL PROTECTED]> 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. Tom _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
