Agent Dialogsize

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Agent Dialogsize

Postby Karel Broer » Wed Sep 08, 2004 6:10 pm

I do love the Agent option. It gives me the ability to show the user per layout or action what he/she needs to do or what the possibilities are.. :)

There's one thing that I would like to do and that is to be able to set the size of the 'speak balloon' (because the amount of characters in the balloon is pretty limited). Is this possible?

I do have a 'side solution' where I loop the text in the balloon with an application.sleep () action, but it's not ideal... :cry:
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby Jan Blok » Thu Sep 09, 2004 11:05 am

Is possible now.

plugins.agent.show()
plugins.agent.setBalloonSize(500,500);
plugins.agent.speak(<dataprovider_with_long_text>)

donwload:
http://downloads.servoy.com/beta/2.1_product/agent.jar
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Karel Broer » Thu Sep 09, 2004 12:30 pm

Thanks a lot Jan! :D Works great! One question still; is it also possible to view HTML in the balloon? Would be nice if it's possible to show text in bold, set size, type etc......
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby Jan Blok » Thu Sep 09, 2004 4:26 pm

possible now when text starts with '<html>...

donwload:
http://downloads.servoy.com/beta/2.1_product/agent.jar
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Karel Broer » Thu Sep 09, 2004 4:50 pm

Thanks again Jan! That's what I call PERFECT SERVICE! :lol:
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 41 guests

cron