VBGold ActiveResize Control V.3.3
The Award-Winning, Fastest VB Form Resizer Control On The Planet!
Offered at half the price of other VB form resizer controls, but with a lot more features and support for an enormous number of controls, grids and third-party controls and grids!
VBGold ActiveResize control makes your Visual Basic applications completely resolution-independent without the need to write any code! Design your applications at any screen resolution and have them run and look exactly the same at any screen resolution. This gives your applications an equally professional look and feel on all systems, resulting in increased sales of your software.
VBGold ActiveResize control automatically resizes and repositions all controls on a Visual Basic form when the form is resized either by the user or from within code. The control automatically detects the resize event of its parent form and performs a very accurate proportional resizing / repositioning on all form controls without requiring you to write a single line of code!
ActiveResize control handles virtually any type of controls. It also handles complex controls like the SSTab Tabbed Dialog control, all types of Microsoft DB Grids and Data Grids, as well as both MSFlexGrid and MSHFlexGrid. The new version (3.x) also supports all Sheridan (Infragistics) controls & Grids (SSDBGrid, SSOleDBGrid, SSDBCombo etc.), the MS Toolbar control, the MS Calendar control, the MS ListView control and the MS StatusBar control. In addition, it supports the Janus GridEx grid control, the ESRI MapObjects control (GIS control) and the 3D Active Button Magic controls. Moreover, it automatically resizes the form background picture as well as the image contents of the VB Picture Box controls.
ActiveResize control can handle any and every screen resolution at both design-time and at run-time (on both development machine and on the user machine).
ActiveResize control was perfectly optimized for maximum processing speed, resulting in a perfect, 100% flicker-free ultra-fast resizing / repositioning process that is completely invisible to the user.
ActiveResize control is available in three editions: Professional, Standard and Lite (
Compare features
).
Copyright 2002-2018 - VBGold Software
ActiveResize Control Overview
Designing VB applications with user interfaces that can display properly on any screen resolution is a quite hard task and coding is significantly time-consuming.
ActiveResize control comes to solve this problem by making your application completely resolution-independent, without the need to write any code! This enables you to design the user interface of your applications at any screen resolution and have them look exactly the same on any system with any screen resolution. This gives your applications a more professional appearance and allow them to run on the entire range of display devices.
ActiveResize control not only adjusts your forms to the active screen resolution, but also automatically resizes the height, width, font size and position of all controls on a Visual Basic form when the form loads and whenever the form is resized either by the user or by code, without requiring you to write a single line of code!
ActiveResize control can handle any type of controls and can handle even controls that are nested within container controls (e.g. controls inside picture boxes or frames). It also supports the Sheridan SSTab control (currently Microsoft Tabbed Dialog control) and any controls inserted on it. Furthermore, it can handle any type of data grids including the DBGrid, DataGrid, MSFlexGrid and MSHFlexGrid.
The new versions (3.x) of ActiveResize also support all Sheridan controls & Grids (SSDBGrid, SSOleDBGrid, SSDBCombo etc.), the MS Toolbar control, the MS Calendar control and the MS StatusBar control. In addition, it supports the Janus GridEx grid control, the ESRI MapObjects control (GIS control) and the 3D Active Button Magic controls. Moreover, it automatically resizes the form background picture and the image contents (the picture) of any Picture Box control on the form.
ActiveResize control allows you to specify a minimum and maximum height and width for your form and whether the form can be maximized and minimized to ensure that the controls on the form will always be visible correctly. Furthermore, it enables you to save the form state (its location and the size / position of all controls) and then restore the form to the last saved state at any later time. In addition, ActiveResize enables you to individually exclude any control from being resized and / or repositioned, while giving you full control over which properties of the control should be excluded when the controls are resized.
ActiveResize does all this without the need to write any code. Just drop the control on the form! It can't get easier than that!
ActiveResize is available in three versions: Professional, Standard and Lite. It works on all 32-bit and 64-bit Windows platforms and can be used in Microsoft Visual Basic version 5 & 6. The control is invisible at run-time.
Copyright 2002-2018 - VBGold Software
ActiveResize Control Features
VBGold ActiveResize control is the fastest VB form resizer control on the planet!. Its code is perfectly optimized to achieve the highest performance possible. This means that the user of your application will never see the controls changing their sizes and positions when he/she resizes the form.
Great processing speed even on very slow computers! ActiveResize was tested on ancient machines and has displayed an equally great performance!
100% flicker-free resizing / repositioning process (unlike most other resizer controls).
Makes your applications completely resolution-independent. They will look exactly the same on all screen resolutions.
Automatically resizes and repositions all form controls when forms load or resized without the need to write any code. The control automatically detects the Load and Resize events of its parent form and resizes / repositions the controls.
Precisely Resizes and repositions the controls with exact proportions to the changes in the form size. Your forms will look exactly the same when they are resized.
Allows you to specify whether the font size of control captions, control text and grid cells text of the controls should be resized when the controls are resized.
Allows you to exclude any control(s) from being resized, repositioned or its font get resized. This gives you full control over the entire resize process.
Allows you to save the current status of the form (its position and size/position of all controls) and restore the form status at any later time with only one line of code.
Can handle every new control created on the form at run-time.
Can handle any type of controls on the form, even graphics controls such as Image and Picture controls, Chart controls as well as Line and Shape controls.
Can handle controls nested within other (container) controls.
Can handle complex controls like the Tabbed Dialog Control (SSTab control) and all controls on it.
Can handle all data grid controls like the DataGrid, DBGrid, MSFlexGrid, MSHFlesGrid. All columns in these controls are resized proportionally to the new size of the control.
Handles Sheridan controls and grids like the SSDBGrid, SSOleDBGrid, SSDBCombo, etc. (New in version 3.x).
Supports the MS Toolbar control (New in version 3.x).
Supports the MS Calendar control (New in version 3.x).
Supports the MS StatusBar control (New in version 3.x).
Supports the MS ListView control (New in version 3.x).
Resizes the image contents of Picture Box controls (New in version 3.x).
Resizes the form background picture (New in version 3.x). The background picture is resized to cover the entire area of the form even if the picture is smaller or larger than the form size. The resizing process is 100% filcker-free and maintains the high quality of the original picture.
Enables you to specify a minimum and maximum size for your forms. At run-time, the form can not be resized smaller or larger than the specified minimum / maximum size. This ensures that all controls on the form will be appropriately visible.
Enables you to prevent the from from being minimized and / or maximized.
Works with SDI, MDI child, and MDI parent forms.
Ready to be used in your existing applications without the need to write or modify any code.
Works with all versions of Visual Basic (5.0 and 6.0).
Works on both 32-bit and 64-bit of all Windows versions.
Copyright 2002-2018 - VBGold Software
ActiveResize Control Properties
ActiveResize Control has the following properties:
Copyright 2002-2018 - VBGold Software
AllowFormMaximized Property
Returns or sets a value that determines whether the form containing the ActiveResize control can be maximized at run-time.
Syntax
object.AllowFormMaximized [=boolean]
Where object evaluates to an ActiveResize control.
The settings for boolean are:
True
(Default). Specifies that the form can be maximized at run-time.
False
Specifies that the form can not be maximized at run-time.
Copyright 2002-2018 - VBGold Software
AllowFormMinimized Property
Returns or sets a value that determines whether the form containing the ActiveResize control can be minimized at run-time.
Syntax
object.AllowFormMinimized [=boolean]
Where object evaluates to an ActiveResize control.
The settings for boolean are:
True
(Default). Specifies that the form can be minimized at run-time.
False
Specifies that the form can not be minimized at run-time.
Copyright 2002-2018 - VBGold Software
AutoCenterForm Property
Returns or sets a value that determines whether the form that contains the ActiveResize control will automatically be centered on the screen when it loads.
Syntax
object.AutoCenterForm [=boolean]
Where object evaluates to an ActiveResize control.
The settings for boolean are:
True
Specifies that the form will be automatically centered on the screen when it loads.
False
(Default). Specifies that the form will not be centered on the screen when it loads.
Remarks
By default, this property is set to False. You may set it to True if you want the form to be automatically centered on the screen when it loads.
Copyright 2002-2018 - VBGold Software
AutoResizeControls Property
Returns or sets a value that determines whether controls on the form that contains the ActiveResize control will automatically be resized when the form is resized.
Syntax
object.AutoResizeControls [=boolean]
Where object evaluates to an ActiveResize control.
The settings for boolean are:
True
(Default). Specifies that the form's controls will be automatically resized when the form is resized.
False
Specifies that the form's controls will not be resized when the form is resized.
Remarks
You may set this property to False to prevent ActiveResize from automatically detecting the Resize event of the form and executing the resize / reposition process. This might be useful when you want to have a full control on when the controls should be resized / repositioned by calling this method from within your code in the Form_Resize event.
Copyright 2002-2018 - VBGold Software
AutoResizeOnLoad Property
Returns or sets a value that determines whether the form and all controls will automatically be resized and repositioned when the form loads.
Syntax
object.AutoResizeOnLoad [=boolean]
Where object evaluates to an ActiveResize control.
The settings for boolean are:
True
(Default). Specifies that the form and all controls will be automatically resized and repositioned when the form loads.
False
Specifies that the form and all controls will not be resized and repositioned when the form loads.
Copyright 2002-2018 - VBGold Software
HideControlsOnResize Property
Returns or sets a value that determines whether the form's controls should be made invisible when the form is resized.
Syntax
object.HideControlsOnResize [=boolean]
Where object evaluates to an ActiveResize control.
The settings for boolean are:
True
Specifies that the form controls should be made invisible when the form is resized.
False
(Default). Specifies that the form controls should not be made invisible when the form is resized.
Remarks
By default, this property is set to False. You may set it to True if your form contains a very large number of controls or it contains such controls as Sheridan (Infragistics) grid controls (SSDBGrid, SSOleDBGrid, etc.).
Setting this property to True may greatly boost the resize process speed in some cases, especially when using such controls as Sheridan grids, since these grids refreshes every cell when the grid size is changes while the grid is visible.
By setting this property to True, the controls are made invisible while resizing the form. However, the user of your application will not notice any change in the controls visibility since this operation is executed very fast.
Copyright 2002-2018 - VBGold Software
MinFormHeight Property
Returns or sets a value that determines the minimum form height allowable when the the form is resized at run-time, either by the user or by code.
Syntax
object.MinFormHeight [=number]
Where object evaluates to an ActiveResize control.
Remarks
If number value is set to 0 (default), it specifies that the minimum form height is unlimited.
Copyright 2002-2018 - VBGold Software
MaxFormWidth Property
Returns or sets a value that determines the maximum form width allowable when the form is resized at run-time, either by the user or by code.
Syntax
object.MaxFormWidth [=number]
Where object evaluates to an ActiveResize control.
Remarks
If number value is set to 0 (default), it specifies that the maximum form width is unlimited.
Note: If this property is set and the
AllowFormMaximized
property is True, the form can still be maximized; however its Width can not be resized beyond the specified value when the form is resized either by dragging its border with the mouse or setting its Width through code.
Copyright 2002-2018 - VBGold Software
MinFormHeight Property
Returns or sets a value that determines the minimum form height allowable when the the form is resized at run-time, either by the user or by code.
Syntax
object.MinFormHeight [=number]
Where object evaluates to an ActiveResize control.
Remarks
If number value is set to 0 (default), it specifies that the minimum form height is unlimited.
Copyright 2002-2018 - VBGold Software
MinFormWidth Property
Returns or sets a value that determines the minimum form width allowable when the the form is resized at run-time, either by the user or by code.
Syntax
object.MinFormWidth [=number]
Where object evaluates to an ActiveResize control.
Remarks
If number value is set to 0 (default), it specifies that the minimum form width is unlimited.
Copyright 2002-2018 - VBGold Software
ResizeFonts Property
Returns or sets a value that determines whether the fonts (captions, text, etc.) of the controls should be resized when the controls are resized.
Syntax
object.ResizeFonts [=boolean]
Where object evaluates to an ActiveResize control.
The settings for boolean are:
True
(Default). Specifies that the control's fonts should be resized when the controls are resized.
False
Specifies that the control's fonts should not be resized when the controls are resized.
Remarks
When the form is resized, controls captions and / or text are resized according to the Width or Height ratio of the form, whichever is smaller. For example, if the form is resized diagonally and the Width ratio (with respect to the original form Width) is 150% while the form Height ratio is 120%, all control's fonts are resized by 120%. This implementation is used to avoid clipping or wrapping of control captions or text so that fonts are displayed as properly as possible.
Copyright 2002-2018 - VBGold Software
ResizeFormBackground Property
Returns or sets a value that determines whether the form background picture (if any) should be resized when the form is resized.
Syntax
object.ResizeFormBackground [=boolean]
Where object evaluates to an ActiveResize control.
The settings for boolean are:
True
Specifies that the form background picture should be resized when the form is resized.
False
(Default). Specifies that the form background picture should not be resized when the form is resized.
Remarks
If the form contains a picture in its Picture property and the ResizeFormBackground property of ActiveResize is set to True, the picture will be resized to cover the entire area of the form. If the picture is smaller or larger than the form size set at design-time, it will be stretched to cover the entire form.
The picture resizing process maintains high quality of the resized picture and is 100% flicker-free.
Copyright 2002-2018 - VBGold Software
ResizePictureBoxContents
Enter topic text here.
Resolution Property
Returns the current screen resolution (in pixels) for the most common screen resolutions. Read only at both design-time and run-time.
Syntax
object.Resolution
Where object evaluates to an ActiveResize control.
Remarks
The Resolution property returns an enumerated resolution value as described below:
Constant Value Description
ScrRes_640x480 0 Screen resolution is 640x480 pixels
ScrRes_720x1280 1 Screen resolution is 720x1280 pixels
ScrRes_768x1024 2 Screen resolution is 768x1024 pixels
ScrRes_768x1280 3 Screen resolution is 768x1280 pixels
ScrRes_800x600 4 Screen resolution is 800x600 pixels
ScrRes_864x1152 5 Screen resolution is 864x1152 pixels
ScrRes_900x1600 6 Screen resolution is 900x1600 pixels
ScrRes_960x1280 7 Screen resolution is 960x1280 pixels
ScrRes_1024x768 8 Screen resolution is 1024x768 pixels
ScrRes_1024x1280 9 Screen resolution is 1024x1280 pixels
ScrRes_1050x1400 10 Screen resolution is 1050x1400 pixels
ScrRes_1080x1920 11 Screen resolution is 1080x1920 pixels
ScrRes_1152x864 12 Screen resolution is 1152x864 pixels
ScrRes_1200x1600 13 Screen resolution is 1200x1600 pixels
ScrRes_1200x1920 14 Screen resolution is 1200x1920 pixels
ScrRes_1280x720 15 Screen resolution is 1280x720 pixels
ScrRes_1280x768 16 Screen resolution is 1280x768 pixels
ScrRes_1280x960 17 Screen resolution is 1280x960 pixels
ScrRes_1280x1024 18 Screen resolution is 1280x1024 pixels
ScrRes_1392x1856 19 Screen resolution is 1392x1856 pixels
ScrRes_1400x1050 20 Screen resolution is 1400x1050 pixels
ScrRes_1440x1920 21 Screen resolution is 1440x1920 pixels
ScrRes_1536x2048 22 Screen resolution is 1536x2048 pixels
ScrRes_1600x900 23 Screen resolution is 1600x900 pixels
ScrRes_1600x1200 24 Screen resolution is 1600x1200 pixels
ScrRes_1856x1392 25 Screen resolution is 1856x1392 pixels
ScrRes_1920x1080 26 Screen resolution is 1920x1080 pixels
ScrRes_1920x1200 27 Screen resolution is 1920x1200 pixels
ScrRes_1920x1440 28 Screen resolution is 1920x1440 pixels
ScrRes_2048x1536 29 Screen resolution is 2048x1536 pixels
ScrRes_Custom 99 Screen resolution is custom
Note: When screen resolution value is 99 (Res_Custom), you can determine the screen width and height from the
ScreenWidth
and
ScreenHeight
properties.
This property does not mean that ActiveResize control will function only with these screen resolutions. ActiveResize control will function on any screen resolution at both
design-time and at run-time and will resize your application precisely on any and every screen resolution.
Copyright 2002-2018 - VBGold Software
ScreenHeight Property
Returns the current screen height in pixels. Read-only at both design-time and run-time.
Syntax
object.ScreenHeight
Where object evaluates to an ActiveResize control.
Remarks
This property always returns the current (real) screen height at both design-time and run-time. This property differs from the
ScreenHeightDT
property in that it always returns the current (effective) screen height (could be different in design-time and run-time), while
ScreenHeightDT
always returns the screen height at which the application was designed and developed.
Copyright 2002-2018 - VBGold Software
ScreenHeightDT Property
Returns the screen height (in pixels) of the resolution used when the application was designed. Read-only at both design-time and run-time.
Syntax
object.ScreenHeightDT
Where object evaluates to an ActiveResize control.
Remarks
At run-time, this property returns the screen height at which the application was designed and developed.
Copyright 2002-2018 - VBGold Software
ScreenWidth Property
Returns the current screen width in pixels. Read-only at both design-time and run-time.
Syntax
object.ScreenWidth
Where object evaluates to an ActiveResize control.
Remarks
This property always returns the current (real) screen width at both design-time and run-time. This property differs from the
ScreenWidthDT
property in that it always returns the current (effective) screen width (could be different in design-time and run-time), while
ScreenWidthDT
always returns the screen width at which the application was designed and developed.
Copyright 2002-2018 - VBGold Software
ScreenWidthDT Property
Returns the screen width (in pixels) of the resolution used when the application was designed. Read-only at both design-time and run-time.
Syntax
object.ScreenWidthDT
Where object evaluates to an ActiveResize control.
Remarks
At run-time, this property returns the screen width at which the application was designed and developed.
Copyright 2002-2018 - VBGold Software
ActiveResize Control Methods
ActiveResize Control has the following methods:
Copyright 2002-2018 - VBGold Software
About Method
Displays the 'About' information dialog for the ActiveResize Control.
Syntax
object.About
Where object evaluates to an ActiveResize control.
Copyright 2002-2018 - VBGold Software
CenterForm Method
Centers the form on the screen.
Syntax
object.CenterForm
Where object evaluates to an ActiveResize control.
Remarks
You can use this method to center the form on the screen at any time.
Copyright 2002-2018 - VBGold Software
Reset Method
Resets the ActiveResize control's saved information regarding form and controls sizes and positions and takes current information as a reference in subsequent resize actions.
Syntax
object.Reset
Where object evaluates to an ActiveResize control.
Remarks
When a form containing the ActiveResize control loads, the control captures all information regarding the form current size and the size and position of every control on the form. This information is used later on to resize and reposition the controls when the form is resized. When the Reset method is called, the control refreshes these information (captures the current sizes and positions of the controls) and uses them as a reference in the subsequent resizing operations.
Copyright 2002-2018 - VBGold Software
ResizeControls Method
Enables you to resize and reposition the controls on demand.
Syntax
object.ResizeControls
Where object evaluates to an ActiveResize control.
Remarks
When the
AutoResizeControls
property of the control is set to False, the control will not perform a resize / reposition process on the controls when the form is resized. Due to some design considerations in your application, you might not want the controls to be resized / repositioned automatically when the form is resized. In this case, you can optionally handle the triggering of the resize / reposition process by calling this method.
Copyright 2002-2018 - VBGold Software
RestoreForm Method
Restores a saved state of the form and all its controls.
Syntax
object.RestoreForm(FormObject, [RestoreFromPersistent], [StrApplicationName])
Where object evaluates to an ActiveResize control.
The RestoreForm method takes the following arguments:
Argument
Description
FormObject
Specifies the object (form object) for which the state is to be restored.
RestoreFromPersistent
Optional. Boolean expression specifying whether the form state (size and position) is to be restored from a persistently saved state or a temporary saved state. Default value is False.
StrApplicationName
Optional. String expression Specifying the name of the application where ActiveResize is used.
Remarks
The RestoreForm method should be called only if the form status was previously saved using the
SaveForm
method. If you specify a value for the RestoreFromPersistent argument, you must also specify the StrApplicationName.