Replacement for the VB Frame Control

Category:
Forms and Controls
Type:
Controls
Difficulty:
Intermediate
Author:
The Frog Prince

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This frame control behaves more like the panels found in many 3rd party control libraries. It drops the caption property and introduces 3 new properties: BorderWidth, BorderEdges, and BorderStyles. The sample project included allows you to play with those properties and see the effect on an example frame. The frame can also be used to create those indented or raised lines you see in some apps. You can see a screen shot here:

http://members.tripod.com/the__frog__prince/Graphics/ssJeffFrame.jpg

For updated copies of this, and other cool free code, check out my web site at:

http://members.tripod.com/the__frog__prince/


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download framecontrol.zip