Copyright: Copyright ® JakeWare 1994


Contents

Bitmap Tile Custom Control

Version 1.00

Copyright © JakeWare 1994

Contents

Overview

Properties

Events

Registering the Bitmap Tile Custom Control


Properties

The properties with an asterisk next to them are custom properties unique to Bitmap Tile, the rest are standard Visual Basic properties.  The properties that are in bold have special comments about their use.

Properties:

BackColor

* CropX

* CropY

DragIcon

DragMode

Height

Index

Left

Name

Picture

Tag

* Tile

Top

Visible

Width


BackColor Property

The BackColor property is the standard Visual Basic BackColor property.  Note that it only has an effect on the appearence of the control when the Tile property is set to False or when Picture is set to None.


CropX & CropY Properties

The CropX and CropY properties determine the location of the first bitmap in the control.  If you set CropX to 3, the control would crop off the first three pixels on the left side of the bitmap.  If you set CropY to 5, the control would crop off the first five pixels from the top of the bitmap.

For example, if you had a bitmap that looked like this:

The Tile property is to true, CropX equals zero and CropY equals zero, so that you have a Bitmap Tile control that looks like this:

If you now changed CropX to 5, it would move everything to the left five pixels and would look like this:

CropX and CropY also affect bitmaps when Tile is set to false, allowing you to crop a bitmap to display only the desired portion.


Tile Property

The Tile property can be set to True or False.  If Tile is False, the control will display the bitmap specified by the Picture property.  If Tile is True, the control will repeatedly display the bitmap specified by the Picture property until the whole control is filled.


Picture Property

The Picture property is the standard Visual Basic Picture property.  Use the Picture property to specify the bitmap to be displayed in the control.  Note that the Bitmap Tile control can only use bitmap files, not icons or metafiles.


Overview

The Bitmap Tile Custom Control is a Visual Basic control capable of tiling a bitmap, just like Windows can tile a bitmap as the background wallpaper.

The Bitmap Tile control is a container control, meaning you can place other controls inside of it when you are designing your Visual Basic application.  It can also act as a normal picture box (except you cannot use the Visual Basic drawing methods on it), with the added benefit of being able to crop bitmaps (see the CropX & CropY Properties).

The Bitmap Tile control requires Visual Basic version 2.0 or later.


Registering the Bitmap Tile Custom Control

The demonstration version of the Bitmap Tile Custom Control only works from within the Visual Basic design environment.  It will not work in a compiled Visual Basic EXE file.

To register the Bitmap Tile Custom Control, print and fill out the Registration Form and mail it to:

JakeWare
ATTN: Bitmap Tile Registration
617 Pinecone Road, #204
Sartell, MN  56377

When we recieve your registration fee and information, we will send you the fully registered runtime version on disk (please specify disk size), printed documentation and demonstration versions of our other software products.


Registration Form
Bitmap Tile VBX Registration Form

Version 1.00

   Date:______/______/______

   Name:__________________________________________________________________

Company:__________________________________________________________________

Address:__________________________________________________________________

   City:_______________________________  State:______  Zip:_______________

Disk Size: (Check one.)    [ ] 3½"    [ ] 5¼"

If you downloaded this demo:

What is the name and phone number of
the system you downloaded this demo from?_________________________________

Do you have any comments or suggestions?__________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

The registration fee for the Bitmap Tile Custom Control is $20.00 (US).  Please fill out this form and mail it, along with the registration fee to:

JakeWare
ATTN: Bitmap Tile Registration
617 Pinecone Road, #204
Sartell, MN  56377

080194CJC - JWTILE.VBX


Events

All of the events that the Bitmap Tile Custom Control support are standard Visual Basic events.  Please refer to the Visual Basic documentation for descriptions.

Events:

Click

DragDrop

DragOver