February 28, 2021
Hot Topics:

Review of ReSize OCX

  • By Karl Moore
  • Send Email »
  • More Articles »

If the poorly-designed website of Larcom and Young is anything to go by, you'd be forgiven for thinking the group was some two-bit back street developer shack flogging low quality controls in the hope of a quick buck or two.

However, after testing this product, I must admit to being pleasantly surprised.

Although their website obviously doesn't attract the marketing budgets of the big time component producers, this company only sells one thing—their ReSize OCX control for $69. So I decided to try it out.

Installation of the program was fairly straight forward, eating up a mere 1.4 MB of hard disk space. Surprisingly, both 16-bit and 32-bit versions of the control were bundled in the package, good news for often-neglected pre-Windows 95 developers.

Oh, and another surprise—both versions of the ReSize OCX control were under 70KB, meaning the impact on your setup distribution file size is negligible.

The package ships with one demo for versions 4, 5 and 6 of Visual Basic.

I checked out the version 6 example—and surprisingly, it just worked.

Blow Up!

Imagine this form looking exactly the same... no matter how much you resized the form nor how many times you altered the screen resolution!

After examining the code, it was apparent that not a single keypress was required to ensure ReSize OCX did it's stuff. It was simply slapped onto a form and ... poomph! ... enter stage - resolution independence.

Being the untrusting person I am, my review led me to test the control on virtually all of the sample projects that ship with Visual Basic. And did I experience a problem? No way.

I mean, usually I discover at least one flaw or annoying glitch. But not this time. Font sizes were automatically altered, command buttons grew, check boxes shrunk—and all in complete relation to the original design.

The often-troublesome tab control proved, err, not so troublesome. And even the Line control—which strangely enough doesn't support any of the typical sizing Width, Height nor Left properties—kept its position without problem.

If you're using any of the grids that ship with Visual Basic however, be warned that whilst the control will handle the outer grid frame, it won't handle individual cell sizing. However the small, shipped manual includes all the instructions necessary for putting such resizing in place.

Power users will also be interested in two ReSize methods and events—firstly, the CenterForm method which, unsurprisingly, centres your form on the screen. And next up, the PreResize event, allowing you to skip any controls you experience problems with.

For the one or two programmers out there drawing on objects using the Line method—I'm sorry, but this control won't handle any resizing of drawn lines. But if you programmatically draw lines in relation to automatically resized controls, it should all go swimmingly—just be sure to set AutoRedraw to True.

All in all, this is a groovy resize program that really can't be faulted, dammit.

Page 2 of 3

This article was originally published on November 20, 2002

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date