VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Borders for Controls

Daniel Taylor  (6 Submissions)   Graphics   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This code lets you put custom borders/ect. on forms/usercontrols/pictureboxes/ect... I made this because I was making a custom Button, and so I decided to post it, see if it helps anybody. It has Windows style, Etched, Dotted, Solid, ect. and all can also be used as frames, just by inserting text into the function call. Also: Everything can be given a custom color in the function call, too... Okay, I've now had 345 people look at this code, not a single vote, not a single comment. Why? If you like it vote for me, or at least leave a comment behind. By the way, also I'm working on a new version, already it has lots of new features, but I have to wait until Ian gets back so the uploads will work again. Soon after that it will be up, under Borders for Controls v1.1. Examples will be included in the newer version.

Assumes
The code takes care of everything. Start a new project, put a few pictureboxes on the form. In the form_activation event, type a few lines like: "etch picture1" or "dottedline picture2", try the "CText picture3, "Hello"", too.

API Declarations
None! This is all pure VB! No API, No DLL, no OCX!

Rate Borders for Controls (6(6 Vote))
Borders for Controls.bas

Borders for Controls Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters