Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Calendar Appointment Tooltip Size (Read 3202 times)
tom.intrigma
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Oct 19th, 2011
Calendar Appointment Tooltip Size
Oct 19th, 2011 at 8:45pm
Print Post  
Hello,

I am trying to change the width of the tooltip area on an appointment object. We have a source code license and are able to edit it. Does anyone have any experience with this?

My problem is that I am trying to display a note in the tooltip and if the note is very long, it will span the tooltip across the entire screen; which is not ideal. I can write a simple method to insert line breaks, but I was wondering if there was a way of specifying the max width of a tooltip behind the scenes.

Thanks,
Tom
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Calendar Appointment Tooltip Size
Reply #1 - Oct 20th, 2011 at 7:43am
Print Post  
The ToolTip component can be accessed through the Calendar.ToolTip contol. You can handle the ToolTip.Popup event and set the tooltip size in the event handler, through the PopupEventArgs.ToolTipSize property. You cannot set the width alone so you may need to measure the text to see how much height it will require given a specific width.

Regards,
Meppy
  
Back to top
 
IP Logged
 
tom.intrigma
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Oct 19th, 2011
Re: Calendar Appointment Tooltip Size
Reply #2 - Nov 14th, 2011 at 3:40pm
Print Post  
I will try this. Thanks!!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint