Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SplitterBar
Message
De
06/11/2006 10:02:59
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01166302
Message ID:
01167303
Vues:
9
Hi Ben,

Tks for the feedback!

> 1) Objects linked to the splitter are resized with each mouse movement. It will be slow if the objects are containers with many complex controls inside. How about doing the resize only on mouse-up? (Of course you have to add an extra visible cue to show the splitter movement before mouse-up.)

I'll do some tests about speed.

Default windows splitter behavior is resize the objects while mouse is "moving". There's a class from Gerald Santerre (here in UT) that does the resize after mouse move ends, but I prefer the windows splitter behavior.

> 2) Inside the Moved() method, you said checking variable type is slower than a Try...Catch. The following test code tells us NOT to use Try...Catch. Adding a property as a flag for checking if GetReference() has already been run may be the best way.

I'll change this.

Again, tks for you suggestions!
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform