Thanks Peter, I'l look into that, I'm pretty sure it sometimes takes around 0.5 secs just to resize the controls.
Kev
>>Hi
>>
>>What is the most efficient/fastest way to handle resizing of objects on a form, I am using the VFX Framework and the resize control appears to be quite slow, it increases form loading times when it's adding all of the form controls to the object.
>>
>>Any suggestions on how a resize control could be better ?
>>
>>Thanks
>>Kev
>
>Though you will be right on having it all slower by this, this is something not so much noticable at all (we have all created in runtime, and all forms load within 0.2 sec or so). However, be careful that the resize of a control (before the form is visible) doesn't trigger the resize or whatever of the form. "Whatever" may also be the Draw method, IOW, if you'd have some code in there ...
>
>So, look at some unwanted triggering of other events/methods, and note that any empty method doesn't harm.
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