Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximizing forms
Message
De
22/03/2002 23:02:15
 
 
À
22/03/2002 21:55:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00636371
Message ID:
00636377
Vues:
20
Hi Mike
Go to VFP download section and search on description "resize". there are several good resize classes there.

ATresizer 2.7a total form resizer is the one that I use. It requires a couple of lines of code in initialize method of the form and in the resize event and works very well.
 *!* Form init event
if thisform.BorderStyle = 3
	*** set up resizer
	This.NewObject('Resizer','ATResizer','attools.prg',,.T.,0)
endif
*!* Form resize event
if thisform.BorderStyle = 3
	*** call resizer
	This.Resizer.Resize()
endif
It resizes any control that I have tried, including activex. And it is free! You can redistribute it and/or modify it under the terms of the GNU Library General Public License.

I have also checked out AutoResize Version 1.5a. It works by dropping the class on the form, uses timer to detect resize and requires no additional code. Very easy and works well but does not appear to be as smooth due to the resize delay caused by timer. This one is an evaluation version. You must register it if used in applications.

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

Click here to load this message in the networking platform