Hi, For a component I'm building I need to let the subcomponents know that (for aligning) they cannot use the entire client space. (It is a panel descendant with asymmetrical bevels).
At first I tried AdjustClientRect but that did not work, so I tried GetLogicalClientRect. It all seems to work as expected. Subcomponents align to the new "borders". Then the compiler told me (well, it did before, but I didn't notice) that I forgot to add the override to AdjustClientRect. I fixed that (and got rid of the overridden GetLogicalClientRect), and this also works. So, here's my question: which of these two methods is the "right" one to override in this example? And what is the other method intende for? Bart -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
