multiline tooltip |
Post Reply |
Author | |
mattf
Newbie Joined: 28 June 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 09 May 2007 at 4:53am |
Hi,
In a CXTPReportView, is it possible to get a multilines tooltip for a record. I don't want to use multilines row record, but I want to get a multilines tooltip when the mouse cursor is over the record. thanks & regards, Matt |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Did you try to set tooltip using SetTooltip method?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
mattf
Newbie Joined: 28 June 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Perfect! Thanks
Just one question: why the default tooltip is single line? Is it not better to get a multilines tooltip every time? Matt |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
its the thing :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
andrewg
Groupie Joined: 24 September 2007 Status: Offline Points: 41 |
Post Options
Thanks(0)
|
I'm curious about this, as I was looking through the documentation and didn't see what you guys were talking about.
Are you just passing in '\n' characters in your tooltip to where you want the break? |
|
Nicola
Newbie Joined: 22 October 2007 Location: Italy Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Sorry, but I don't undestand how to add a multiline tooltip to a record item.
I tried to use SetToolti( "string1\r\nstring2" ). But it doesn't work. Single line is displayed, \r and \n are replaced with wrong characters.
Could you help me?
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
Open our ReportSample. I've just successfully tried the following:
-- WBR, Serge |
|
Nicola
Newbie Joined: 22 October 2007 Location: Italy Status: Offline Points: 7 |
Post Options
Thanks(0)
|
I tried the same samples but on my pc it doesn't work. Tooltip has only one line: I have square inplace of new line.
Could it be I have an old version of Codejock sofware? My library version is 10.4.
Do you have any idea why?
|
|
Baldur
Senior Member Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
Post Options
Thanks(0)
|
You must set the Balloonstyle-Tooltip (Paintmanager).
Other kinds of tooltips don't support multilines (Windowsproblem!).
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Yes, Think its because you have old version. Try evlaution of 11.2.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Nicola
Newbie Joined: 22 October 2007 Location: Italy Status: Offline Points: 7 |
Post Options
Thanks(0)
|
I tried to use
m_myReport.GetToolTipContext()->SetStyle(xtpToolTipBalloon); but still it doesn't work in place of new line i have squares :-(
I bought few monts ago the version 10.4. Really I have to upgrade to fix this problem?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
If you need this feature you have upgrade. 10.4 was released December 16, 2006.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |