Copyright: TBAR.vbx\n1994 by Winefred Washington


Drag-and-Drop Control
ToolBar Custom Control

Description	The ToolBar control, TBar, is an object which adds minature captions and control menus

to container objects. TBar is used to create floating toolbars from ordinary Visual Basic

forms or picture boxes.  Forms containing a TBar control can be moved or closed.

File Name	TBARWW.VBX

Object Type	TBAR

Remarks	TBar is a VBX control for use with VB 3.0.  You may use the demo version to evaluate

the control.  If you wish to distribute the control with a program you create, you must

purchase a copy.  If you choose to, you will receive a developer's version, and a

run-time-only version for distributing with your programs.  Neither version contains

the pop-up notice.

How to Use TBar

Purchasing TBar

_______________________________________________________________

Distribution Note  You may create and distribute only applications which use

the registered version of TBAR.VBX.  You should install TBAR.VBX in the user's

Microsoft Windows directory.

_______________________________________________________________

About	The ToolBar control was written by Winefred Washington.  For additional

information:

Winefred Washington

14 Greenbrook Lane

Kingston, NY  12401

CompuServe ID:  72070, 3713

Properties and Events

All properties and events are listed in the following tables.

Properties

_____________________________________________________________

ForceActive	Index	Left	Name

Parent	Tag	Top	TopMost

Events

-----------------------------------------------------------------------------------------------------------

Click

-----------------------------------------------------------------------------------------------------------


ForceActive Property

Description	Determines if the caption color appears active whether or not the toolbar has focus.

Usage	[form].TBar. ForceActive [ = { True | False } ]

Remarks	Setting the ForceActive property True makes the caption color active even when the toolbar

is not the active window.


TopMost Property

Description	Makes the toolbar the top most window.

Usage	[form].TBar. TopMost [ = { True | False } ]

Remarks	Setting TopMost True prevents other windows from obscuring the form.


Click Event

Description	Occurs when the control menu bitmap in the caption is clicked.

Syntax	Sub TBar_Click()

Remarks	Use the Click event to hide or unload a form.


See Visual Basic Language Reference manual for description.


How DDrop Works
How to Use TBar

To use TBar, place the TBar object inside the container object.  A minature caption and

control menu will appear inside the container.  If the container is a form, do the following:

* Delete the text in the form's Caption property.

* Set the ControlBox property to False.

* Set the MaxButton property to False.

* Set the MinButton property to False.

Changing these properties removes the caption, control menu, and max/min buttons

found normally on a form.


Registering DDrop
Registering TBar

If you choose to purchase, you will receive two versions of  TBar, a developer's version, and a run-time-only version for distributing with your programs.  Neither version contains the "unregistered" pop-up.  TBar costs $20.

TBar is listed in the CompuServe Shareware Registration Area.  The registration ID is 2543.  You may also register TBar by mail.  To insure speedy delivery, print this topic and fill-in the form.  Personal checks and money orders are accepted.

(     )  Please send one copy of  TBarWW.VBX  (Registered Version) .

Please write carefully, this section will be used as a mailing label.

Name:

Address:

City, State, and Zip:

Mail to:

Winefred Washington

14 Greenbrook Lane

Kingston, NY 12401