Contents

・
ResizeKit2
Overview
Setup for Delphi Editions
Setup for C++Builder Editions
Setup for RAD Studio and BDS 2006 Editions
Setup for ActiveX Edition
Distributing Applications
Technical Support
ResizeKit2 License Agreement
Purchase the ResizeKit2
Control Reference
Properties
Enabled
FormHeight
FormMaxHeight
FormMinHeight
FormWidth
FormMaxWidth
FormMinWidth
FormPos
NoResizeCtl
NoResizeFntCtl
ResizeFont
ValidTaskbar
Methods
DynamicAdd
DynamicDelete
Events
ExitResize

 
Home
ResizeKit2 Online Help
Prev Page Next Page
 
  ・

When using the ResizeKit to develop applications, place the ResizeKit Control on the form during design and then set the control properties when needed.

The ResizeKit Control

The ResizeKit Control automatically recognizes the size of the controls and fonts on your form and adjusts their size according to changes in the screen resolution or changes in the size of the form.

Most third party controls can be resized using the ResizeKit, however there may be some exceptions. When the height and width properties of controls are isulated from the ResizeKit Control, they cannot automatically be resized. The fonts and cells used by some grid and spread type controls are examples of this. In such cases, simply define the height and width of the control that you want to resize within the ExitResize event.

 

A Note About Syntax

The types listed in ResizeKit2 Help File may be different from the types used in your development environment.

Listed Type Visual Basic C++Builder Delphi
integer Integer short SmallInt
long Long long LongInt
double Double double Double
string String AnsiString/UnicodeString String
bool Boolean bool Boolean

From C++Builder 2009, type UnicodeString is used, for C++Builder versions prior to C++Builder 2009, use AnsiString

 

When Using the ResizeKit2 In VCL Environments:

All on forms that contain the ResizeKit control, set the form's properties to the following values:

AutoScroll: False
Scaled: False
Position: poDefaultPosOnly, PoDesigned or poScreenCenter

 

Property List:

Property Name Explanation
Enabled Enables the ResizeKit functionality
FormHeight Sets the height of the initial display of the form
FormMaxHeight Sets the maximum height of the form
FormMinHeight Sets the minimum height of the form
FormWidth Sets the width of the initial display of the form
FormMaxWidth Sets the maximum width of the form
FormMinWidth Sets the minimum width of the form
FormPos Sets the position of the initial display of the form
NoResizeCtl Sets the controls that will be excluded from resizing
NoResizeFntCtl Sets the controls whose fonts will be excluded from resizing
ResizeFont Sets whether or not the fonts of the controls on the form will be resized
ValidTaskbar Sets whether or not "The Taskbar" is displayed when the form size is larger than the screen size

 

Method List:

Method Name Explanation
DynamicAdd Used when controls are added to the form dynamically. This method updates the ResizeKit so the dynamically added controls will be included in resizing. (For VCL versions of the ResizeKit only)
DynamicDelete Used when controls are deleted from the form dynamically. This method updates the ResizeKit so the dynamically deleted controls will no longer be included in resizing. (For VCL versions of the ResizeKit only)

 

Event List:

Event Name Explanation
ExitResize Generated after the form has been resized

 

 

 

 

 

The ResizeKit2 is a product of Newtone Corporation. Visit our website at http://www.imagekit.com/resizekit2.html for more information