home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code2
/
vbgp
/
vbgp.txt
< prev
next >
Wrap
Text File
|
1992-03-12
|
2KB
|
35 lines
Custom Group Box for Visual Basic 1992 by Mark Gamber
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.
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....