Page 1 of 1

Agent Dialogsize

PostPosted: Wed Sep 08, 2004 6:10 pm
by Karel Broer
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:

PostPosted: Thu Sep 09, 2004 11:05 am
by Jan Blok
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

PostPosted: Thu Sep 09, 2004 12:30 pm
by Karel Broer
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......

PostPosted: Thu Sep 09, 2004 4:26 pm
by Jan Blok
possible now when text starts with '<html>...

donwload:
http://downloads.servoy.com/beta/2.1_product/agent.jar

PostPosted: Thu Sep 09, 2004 4:50 pm
by Karel Broer
Thanks again Jan! That's what I call PERFECT SERVICE! :lol: