Sep 29, 2006

A resize grip on a Foxpro form

As a visual clue that a form can be resized, many forms have a 'resize grip' in the lower right corner. Visual Foxpro does not have native support for showing a resize grip on a form. But that won't stop us, we can make our own!

Over here you can download a zip file containing a resizer class. It's based on a container class and constructs it's own grip shape (Windows XP style). Just drop the class on a form and add This.resizer1.resize to the forms resize method. An example form is also included, which looks like this:

3 comments:

Hans de Groot said...

Carlos Alloatti nicked a piece of this code (http://www.ctl32.com.ar/notes.asp). Cool!

Anonymous said...

Great post as for me. I'd like to read something more concerning this theme. Thanks for sharing that info.
Joan Stepsen
Tech pharma

Unknown said...

hi hans
how to resize image in form vfp 8

thank's

dejas