home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
basic
/
library
/
vb
/
vbctrl
/
vbgp.txt
< prev
next >
Wrap
Text File
|
1992-04-01
|
2KB
|
44 lines
Custom Group Box for Visual Basic 1992 by Mark Gamber
Version 0.02 (March 1992)
In keeping with a trend I seem to be on with control DLLs for the Windows
SDK Dialog Editor, this is a replacement for Visual Basic's Groupbox. It offers
a 3-D look, text color, background color, "Click" procedure and can control
controls within it's border. To begin using the control, copy VBGP.VBX to your
Visual Basic directory. Then, select the file from the listbox which appears
through the "Add File" item of the "File" menu. If you see a goofy looking sort
of groupbox icon appear in the toolbox, you're all set.
The control supports a "click" routine for your V-Basic code. In addition,
you may have the border "raised" or "lowered" with respect to a background
window and you may turn a caption "shadow" on and off.
To select the border type, select "Raised" and select "True" or "False". You
should see an immediate result. The caption shadow is turned on and off by
selecting "Shadow" and either "True" or "False". If you turn the shadow on, the
normal caption will move down and right 1 pixel each. In addition, you may
change the shadow color by selecting "ShadowColor" and entering an RGB color
value.
Although you can choose a mnemonic letter in your caption (Hotkey), the
control itself does not support mnemonics at this time. Instead, use a text
control inside the groupbox.
New to this version:
Text may be left, center or right justifyed along the top of the group box.
Usie "Align" and choose from Left (0), Center (1) or Right (2) justification.
This software is absolutely free provided:
1. Credit is given where gredit is due.
2. I'm not liable. Period.
Questions, comments, bugs and obsure references to Ren & Stimpy may be directed
via E-Mail to Mark85 on America Online. I don't take phone calls so don't even
THINK about dialing information....