TIvoryDraw
Version 1.0 Beta 2

The basic Ivory Draw component.


The component looks like this on the component palette

Description

TIvoryDraw is the basic Ivory Draw component. If you want to use any of the Ivory Draw components, first you must drop a TIvoryDraw component on your form. Thogh you can use more than one TIvoryDraw components in your project, you would normally drop only one on your main form. Only one TIvoryDraw component can be active at the same time.

TIvoryDraw is very easy to use. First drop the component on your form. Then set the form's BorderStyle property to bsNone. That's all, now you're able to use all the functionalities of the Ivory Draw component collection.

There is a global variable called TheIvoryDraw that points to the active TIvoryDraw object, or if there's no active TIvoryDraw, it points to the last TIvoryDraw component you have created or dropped on your form. TheIvoryDraw is declared like this:

extern TIvoryDraw* TheIvoryDraw;

Hierarchy

TObjectTPersistentTComponentTIvoryDraw

Properties
Active
AutoActivate
AutoHideCursor
BackSurface
DirectDraw
ExclusiveMode
Handle
Palette
PrimarySurface

Methods
~TIvoryDraw
Flip
TIvoryDraw

Events
OnActivate
OnCreate
OnDeactivate
OnDestroy
OnException

Global Functions
ToTColor


Back to the Ivory Draw page