Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ATResize is slowly a lot. What is the problem?
Message
De
29/05/2002 13:09:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00661208
Message ID:
00662610
Vues:
27
I use this tool on some very complex forms and have not noticed slow performance. I'm using P4 1.4GH but even on a Pentium 133 MHZ, the delay between form resize and repaint of all controls for most forms is less than 250 MS. I have one form that has a page frame with 5 pages , 4 grids with 25 fields each, about 100 textboxes, 30 buttons, and 10 combo boxes. This form is a little slow (about 1 second for refresh) on the Pentium 133 but almost instantaneous on P4.

Unless your are using a very slow computer or your forms are very complicated with many objects, I don't know why you would be experience slow performance. You might check for extraneous form refresh() or requeries. How and where are you setting up and calling atresizer?

Since Atresizer is GNU Public licensed, I distribute the entire source code separately from my application in accordance with its license conditions to be freely available to anyone wishing to use it. In my application, I check for the existance of attools.fxp and use it if it exists.

In the form init I set up the resizer by
	*** set up resizer
if file('attools.fxp')
	This.BorderStyle = 3
	=evaluate("This.NewObject('Resizer','ATResizer','attools.fxp',,.T.,0)")
else
	This.BorderStyle = 2
endif
In resize event
if type("thisform.Resizer") = "O"
	*** call resizer
	=evaluate("Thisform.Resizer.Resize()")
endif
HTH

Elmer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform