Delphi Area Office Assistant

OVERVIEW
Version 2.52
Last updated on January 7, 2002
Supports Delphi 3, Delphi 4, Delphi 5, and Delphi 6
Freeware for both commercial and non-commercial use
Full source code is included
DESCRIPTION

The Office Assistant package contains two components in purpose of adding animated characters like office assistant characters to Delphi applications.

TAssistant is the main component in the Office Assistant package, which is a non-visual component. This component provides a floating stage for the loaded animated character (actor) into the component. In addition, this component has some properties and methods for showing standard dialogs (balloon shape) like message boxes, hints and tips, and search. Some major features of TAssistant component are:

  • Ability to replace the active actor dynamically.
  • Has integrated tips balloon for showing tip of the day or any other tips.
  • Powered by a guide (search) balloon to accept the user search requests and showing the topics of the search result.
  • Has integrated balloon shape message box with customizable icon
  • Has got both round rectangular and cloud balloons.
  • Can manipulate custom balloons.
  • Uses a separated thread for playing animations.
  • Can be moved (dragged) even when a modal balloon is showing.
  • Uses a queue for waiting animations.
  • A specific queued or playing animation can be stopped within the program.
  • Has three level of predefined idling animations.
  • Plays idle animations automatically. Of course, idle times also can be controlled manually.
  • Supports Middle East languages and can be customized easily for use in multi-lingual applications.
  • Powered by a large collection of events to give a complete control over the component operation.
  • It is able to show animations with a transparent background as well as using an image as background of the animation stage.
  • Can show the actor as stretched with keeping the aspect ratio of the original actor dimensions.
  • The speed of animations can be modified within the component.
  • Can play actor's animations in 256-color screen mode without loosing color quality.
  • Supports both Microsoft® Office 97 and 2000 look balloons.

The other component in the Office Assistant package is TAssistantPanel. As you can guess from its name, it is an assistant fixed on a panel. The TAssistantPanel has all features of TAssistant component except support for balloons.

For using TAssistant or TAssistantPanel in your application, you need to download at least one Actor Library. Each actor library contains definition of one assistant's actor. You can create your own actor by using Actor Editor.

If you are interested to have your own custom actor, maybe you would like to contact to Safak Cinar. He is a talented animation creator (click here).

Because actor libraries are resource DLL, you can use an exe compressor to compress them. Of course, a compressed actor library loads slower into Office Assistant components. ASPack is one of exe compressors that has been tested for compressing actor libraries and works great. Thanks to Bill Miller for information about compressing actor libraries.

TAssistant component contains some text that they have used in predefined balloons of the component. If you are going to use TAssistant in an application with none English user interface, you have to edit file oaConst.pas to change text captions. String constants in oaConst.pas are not read-only and can be change even in run-time. On download section of this page you can find some translations for oaConst.pas in different languages.

Assistant's balloons are powered by TOffice97Button component, which is a fully customizable button control that looks like Microsoft® Office (both 97 and 2000) buttons. The Office Assistant package needs the latest version of TOffice97Button for being installed. Thanks to Jonathan Hosking for writting such a nice component.

Finally, I have to mention that using Microsoft® Agent characters provided by Microsoft as actor library is not legal (click here).

WHAT'S NEW
Version 2.52 (January 7, 2002)
In this release, the raised bugs on Delphi 6 fixed. In addition, new property CanDrag added to TAssistant component. This property indicates whether the user can use mouse drag to move the assistant on the screen.
DOWNLOAD
Code:
assistant.zip (86KB)
Package's source code and documentation. For installing the package, you should also download the latest version of TOffice97Button component written by Jonathan Hosking.
oa-demo.zip (242KB)
Executable demo with source code. To run the demo, you should have at least one actor library available.

Actor Libraries:

Claude Actor Claude
Creator La Cantoche Productions
Size 2.29MB
Description This actor is converted from Microsoft® Agent Character format.

Translations:
persian.zip (< 1KB)
Persian translation by myself
spanish-mx.zip (< 1KB)
Mexican Spanish translation by Danial Ramirez
czech.zip (< 1KB)
Czech translation by Ludek Cermak
dutch.zip (< 1KB)
Dutch translation by Harry Demonseau
french.zip (< 1KB)
French translation by François Rivierre
french2.zip (< 1KB)
French translation by Christophe Weibel
italian.zip (< 1KB)
Italian translation by Carbone Alessandro
russian.zip (< 1KB)
Russian translation by Andrew Tuseyev
portuguese-br.zip (< 1KB)
Brazilian Portuguese translation by Adriano Gomes
swedish.zip (< 1KB)
Swedish translation by Björn Johansson Lindh
chinese-sm.zip (< 1KB)
Simplified Chinese translation by ShiLiang Zhao
german.zip (< 1KB)
German translation by Ingmar Bode
KNOWN ISSUES

No known issue!

If you have found any bug in this package, please send its details to me at kambiz@delphiarea.com.

FUTURE PLANS
To use cache for frame region in purpose of reducing CPU usage.
Improving rest pose action to accept animation sequence instead of static image.
Keeping assistant's stage always on top without need to call to BringToFront method.
To extend play methods for random action selection.
Adding shadow to balloons. Andrew N. Tuseyev has posted this code to me long time ago. Here I apologize for the delay.

If you have any suggestion or comment about improving this component, you could send it to me at kambiz@delphiarea.com.

WHERE IS IT RUNNING?

No idea!

If you have used Office Assistant Package in your application and you would like your application to be listed here please send a link to your application's homepage and a brief description about it to me at kambiz@delphiarea.com.


Copyright © 2001 Kambiz R. Khojasteh, all rights reserved.

Back to Products