Hi,
I totally agree with this (I do the same), but don't use ASSIGN (Width, Height) methods. There is a bug with those related to some intrinsic properties (width, height, I don't know the entire list) that can really slow down your code.
SNIP
>You fundamentally don't care what the size of those internals are at designtime at their point-of-use. Put all of the resizing intelligence into the control class and let it do the work. This also facilitates runtime resizing as well if you allow the user to resize the form, you simply have to pass the resize event onto your control.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement