[Q]How to set the a TBalloon.Anchor to a MSAgent Character?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

[Q]How to set the a TBalloon.Anchor to a MSAgent Character?

Postby zzeric » December 2nd, 2003, 1:58 am


I want to make a tts program,but I think the default MS Agent Character's message dialog is too simple. So I wanna use the TAssistantBalloon,which brings a pretty rich message balloon dialog,but now I meet a trouble:I can't directly set the TAssistantBalloon.Anchor to the Character,because the Character is not a wincontrol but IAgentCharacter.

How can I set the Balloon.Anchor to the character?Thanks.......
Posts: 1
Joined: December 2nd, 2003, 1:29 am

Postby Kambiz » December 2nd, 2003, 7:28 pm

You cannot anchor it to the agent character, however you can use the MoveBalloonTo method to place it over the character.
User avatar
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests