TIvoryDraw
Version 1.0 Beta 4

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. You only need to drop the component on your form. 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
Form
Handle
Height
Palette
PrimarySurface
UserBackSurface
VideoMode
Width

Methods
~TIvoryDraw
Activate (Docs coming soon...)
AutoCreateSurfaces (Docs coming soon...)
Deactivate (Docs coming soon...)
Flip
HandleFormCreate (Docs coming soon...)
HandleFormPaint (Docs coming soon...)
HandleException (Docs coming soon...)
InvalidateSurfaces
RefreshPalette (Docs coming soon...)
RestoreSurfacesIfLost (Docs coming soon...)
TIvoryDraw

Events
OnActivate
OnCreate
OnDeactivate
OnDestroy
OnException
OnSurfaceLost

Global Functions
ToTColor


Back to the Ivory Draw page