home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
2549
/
toolbr11
/
readme.1st
< prev
next >
Wrap
Text File
|
1994-05-12
|
10KB
|
225 lines
TOOLBARS VERSION 1.1
Two controls for Visual Basic that allow easy creation
of button-bars and status-bars in any Visual Basic for
Windows (version 2.0 or higher) application.
1. GENERAL INFORMATION
The TOOLBARS.VBX contains two custom controls for
Visual Basic: StatusBar and ButtonBar. Both controls
have an integrated helpfile that can be called from the
VB development environment when you press F1 in the
properties-window or when you select an event in the
code window. There are also some ready to use examples
in the helpfile. Therefore this documentation-file is
very brief.
If you have a problem with (one of these) controls, or
think of an enhancement that I don't already have
planned (see the æfuture enhancementsÆ section below),
please e-mail to the special account that has been set
up for this purpose: vbx_dev@shear.iaf.nl.
2. SHORT DESCRIPTION OF VERSION 1.0 FEATURES
The StatusBar control allows you to create a statusbar
at the top or bottom of the client area of your
application to display status-messages. It offers 20
fully configurable text-fields and a few other extras
as well. Here's a quick summation:
- automatically adjusted border-line for different
alignments (top, bottom or none)
- automatically size one field (ExpandField
property) to fill the entire status-area (can be
turned off). If the window is resized, one of the
statusbar fields is resized as well.
- can be used as a progress indicator (FloodField,
FloodInvertText, FloodPercent, FloodShowPct,
FloodColor properties). Absolutely no flickering
on updates.
- adjustable left- and right-margins (LeftMargin and
RightMargin property
- etc...
Text-field specific properties:
- alignment (left, right or centered) (Alignment
property array)
- font-color (ForeColor property array)
- message (the text to display in the text-field)
(Message property array)
- field type (FieldType property array)
Field-types are:
- normal (display text in Message property)
- clock (type-of clock can be set with the
with ClockFormat property)
- num-lock indicator (user-definable text for
on- and off state)
- scroll-lock indicator ( " " )
- caps-lock indicator ( " " )
- field width (FieldWidth property array)
- define spacing between fields (SpaceAfter property
array)
- control type (for TypeOf statements): StatusBar
- etc...
The ButtonBar control allows easy creation of a
buttonbar at the top or bottom of the client area of
your application. You only have to specify a picture
for the button to create it. The ButtonBar
automagically creates the needed bitmaps for the down
and disabled states for the button with the picture you
specify. It's also possible to specify a picture for
the disabled state of the button if you don't like the
ButtonBar's disabling method. Summation of features:
- automatically adjusted border-line for different
alignments (top, bottom or none)
- create buttons by simply specifying one or two
bitmaps for the up-state of the button (Picture
and PictureDisabled property arrays).
- 2 types of buttons available: normal and 2-state
(ButtonType property array)
- group buttons into GroupPushButtons (ButtonGroup
and GroupAllowAllup property arrays)
- enable or disable individual buttons
(ButtonEnabled property array)
- connect the ButtonBar to the StatusBar to display
a message in a textfield when a user selects a
button (hWndStatusBar and StatusField properties,
and the ButtonMessage property array).
- define spacing between buttons (SpaceAfter
property array)
- control type (for TypeOf statements): ButtonBar
- etc...
3. KNOWN PROBLEMS/BUGS
None at the moment. If you find any however, please
inform me at the e-mail address earlier in this file.
4. DIFFERENCES WITH VERSION 1.0 / WHAT'S NEW ?
Two bugs have been fixed:
- when setting the ClockFormat property for the
StatusBar control to an AM/PM clock, the AM/PM
time-indication wasn't properly updated at 12 noon
and 12 o'clock midnight. This bug has been fixed.
- the ButtonBar control released the mouse capture after
the Click event. This is no problem if you don't show
modal forms on a click on a button, but when you do
display a modal form on a click, this window can't
receive the input-focus. This bug has been fixed by
releasing the mouse capture before firing the click
event.
Three new properties and a new event were added to the
StatusBar:
- toggle event: this event is fired whenever the num-lock
caps-lock or scroll-lock key is pressed. It helps you
to keep track of the status of these keys, for example
when you're writing a text-editor.
- AutoToggle allows users to double-click on a num-lock,
caps-lock or scroll-lock field. The statusbar control
automatically sets or resets the state of the toggle-key.
- Numlock, Capslock and ScrollLock properties allow you to
get or set the status of the num-lock, caps-lock or
scroll-lock keys.
The ButtonBar also has a new feature:
- The OutlineChildren automatically gives a three-D
outline to controls placed on the buttonbar, to make
them look raised or inset.
Also, some very stupid mistakes were corrected:
- The Enabled property was added to the StatusBar
- The Visible and Enabled properties were added to
the ButtonBar
5. FUTURE ENHANCEMENTS
I can think of only one future enhancement for the
StatusBar control:
- different font-properties (FontName, FontSize etc.)
for each text-field.
The ButtonBar control however has some extra features
I'm considering to implement:
- bitmaps for all states of the buttons (up, down,
disabled up and down)
- specify only one bitmap to define all buttons at
once (like the picture-clip control)
- tooltips (like in Word 6.0)
- moveable toolbar (like the toolbars in Word 6.0)
- alignment at the top, bottom, left and right of
the form.
If you have more suggestions or remarks, let me know.
5. ARCHIVE CONTENTS AND INSTALLATION NOTES
This archive's original name is TOOLBR11.ZIP and contains
the following files:
TOOLBARS.VBX The toolbars vbx-library.
TOOLBARS.HLP Design time helpfile.
README.1ST This file
SHEAR.LIC License file
In order to use the toolbars vbx you must copy the
files TOOLBARS.VBX and SHEAR.LIC to your Windows system
directory. If you donÆt copy the SHEAR.LIC file, the
VBX will not work in at design-time. To be able to use
the design time help, you must copy the TOOLBARS.HLP
file to the Visual Basic directory.
6. DISCLAIMER
The TOOLBARS.VBX control library is distributed "as is"
and without warranties as to performance or
merchantability or any other warranties whether
expressed or implied. No warranty of fitness for a
particular purpose is either expressed or implied.
7. LICENCE AGREEMENT AND COPYRIGHT
In this notice, "The controls" refers to the
TOOLBARS.VBX custom controls library for Visual Basic
and the "the author" refers to Arjen Broeze.
The control is copyright (C) 1994 by the author. You may
distribute this control with your applications under
certain conditions. Firstly, it may not be distributed
with commercial or shareware applications without the
permission of the author. You may use this control in
your applications for your own use without
restriction. The control may be used in Public Domain
applications where the author states in the
documentation that the control is copyright of and
written by the author.
8. FURTHER NOTES
This is the second release of TOOLBARS.VBX. Although
some bugs have been fixed, It's still not guaranteed
error-free, but I think it works pretty well. If you
wish to use it in your applications (subject to the
above restrictions), you may do so.
To use the TOOLBARS.VBX in a commercial or shareware
application, you must obtain a commercial version. This
version will be shareware with a small registration fee
(25 Dutch guilders for shareware use and 50 Dutch
guilders for commercial use). If you want to order a
commercial version, then e-mail to vbx_dev@shear.iaf.nl.
Arjen Broeze
29/04/94