Quick Find: Search for:

 Total Access Components
Control Tour

Return to Components Home
 

 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

About Box

AVI (Video)

Bitmap Effects

Border
Browse for Folder New!
CD Player
Clipboard
Clock
Common Dialogs
Date Time Picker New!
Digital Display
Enhanced Button
Gauge
Icon Menu
INI File
Marquee
Notes
Popup Menu
Progress Meter
Registry
Resize
Slider
Spin Button
Splitter
System Info
Tab Strip
Text Effects
Timer
Wave
 

 

Total Access Components Tour: Resize

The Resize control is a non-visual control that automatically resizes controls on a Microsoft Access form when the form is resized. The controls are resized based on their relative sizes when the Init method is called.

Using the Resize Control

Using the Resize control involves three steps:

Step 1 - Initialize the Resize Control

In your forms Load event, call the Init method of the Resize control. This initializes the control and lets it determine the sizing ratios for the controls on the form.

Step 2 - Tell the Resize Control to Resize the Controls on the Form

In your forms Resize event, call the Resize method of the Resize control. This resizes all the controls on the form.

Step 3 - Close the Resize Control

In your form’s Close event, call the Close method of the Resize control. This releases any resources the control is using.

Resize Properties

Name

Description

MaxHeight

The maximum height to resize the form.

MaxWidth

The maximum width to resize the form.

MinHeight

The minimum height to resize the form.

MinWidth

The minimum width to resize the form.

ResizeFonts

Whether fonts are resized with the form.

Resize Methods

Name

Description

Close

Close the control and any resources it may be using.

Init

Initialize the sizing information for the form.

Resize

Resize the form and associated controls.

SetFormFooter Initialize the form footer sizing information.
SetFormHeader Initialize the form header sizing information.
Questions  l   Web questions: Webmaster   l   Copyright © 2008 FMS, Inc.

Celebrating 21 Years of Software Excellence