On 13/08/2011 23:21, Graeme Geldenhuys wrote:
the active tab? Does LCL always set focus (active tab) to the newly
created tab sheet? That's what it looks like to me (when I tested
Friday at work).
I don't know enough about that, and it may depend on the widgetset too.
maybe windows, or gtk are forcing it?
Maybe all that is required is: pagecontrol.beginupdate ...
pagecontrol.endupdate. ;-)
Then the control should only need to redraw once, and not per tab.
If you open a project , that is already done.
The page control draws only at the very end (on windows)
I don't know if gtk supports that...
If you load files by other means, the lock is not always applied.
Obviously work that needs to be done
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus