Print Page | Close Window

Tooltip Style

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=15326
Printed Date: 25 November 2024 at 2:05am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tooltip Style
Posted By: Boris
Subject: Tooltip Style
Date Posted: 09 October 2009 at 4:58am
Hi
 
Is there a way of using xtremesuitecontrols to set the globally the appearance of the tooltip style.
 
In the ReportControl you can set this by using the contextstyle.style
 
In other controls the tooltips look old hat.
 
Regards to all


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013



Replies:
Posted By: mdoubson
Date Posted: 13 October 2009 at 10:21am
Boris - even in Report Control some tooltips use contextstyle and some - not - as your yellow tooltip sample show

-------------
Mark Doubson, Ph.D.


Posted By: Boris
Date Posted: 13 October 2009 at 10:33am
Hi Mark,
 
You have it. Exactly. That is my point. We set contextstyle and then at some point the default tooltips show in yellow. It shows inconsistency in our applications. I know I can set the tooltip manually and overcome this but why should that be necessary.
 
Here's the challenge Mark. Can you think of a way in your code of enforcing the contextstyle to stop the default being visible?
 
Regards
 
 


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: mdoubson
Date Posted: 13 October 2009 at 11:48am
Hi, Boris - I made experimental version follow this idea - please test and post your feedback before I will update SVN
https://forum.codejock.com/uploads/BetaOCX/CalendarBeta13-2.rar - https://forum.codejock.com/uploads/BetaOCX/CalendarBeta13-2.rar
 
You can comment your function
Private Sub ReportControl1_GetToolTipInfo(ByVal toolTipInfo As XtremeReportControl.IReportToolTipInfo)
and test internal support instead
 
If you comment this flag
ReportControl1.PaintManager.CleanTooltip = True
- tooltip will show markup source


-------------
Mark Doubson, Ph.D.


Posted By: Boris
Date Posted: 13 October 2009 at 12:13pm
Hi Mark,
 
I don't understand what this is supposed to do. I can't see anything different. I may be having a bad day of course lol!!! Can you make it a little clearer for me how to test this.
 
Sorry.
 
Mr Thick!
 


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: mdoubson
Date Posted: 13 October 2009 at 12:26pm

delete all tooltip assignment code in frmFixer

Now all your tooltips generated in the core and use style

The difference - we show tooltips only if need - for narrow columns. Resize and check.

-------------
Mark Doubson, Ph.D.


Posted By: Boris
Date Posted: 13 October 2009 at 12:52pm
Hi Mark,
 
My tooltips are still yellow in column 2.
 
Regards
 
 


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: mdoubson
Date Posted: 13 October 2009 at 1:02pm
Please check registrated version stamp - should be 13.10.2009 11:55
 


-------------
Mark Doubson, Ph.D.


Posted By: Boris
Date Posted: 13 October 2009 at 3:09pm

Mark

 
You've cracked it!!!!
 
I downloaded the control again and it worked fine.
Your patience has paid dividends and it looks just as it should.... professional.
 
Can you ask your colleagues to address the tooltips on the Xtreme Suite controls generally.  Then they can have a few stars too!
 
 
Best regards
 
 
 


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: mdoubson
Date Posted: 13 October 2009 at 3:26pm
Good. Why VB6 IDE change "skin" while running your sample? You can even see it on my snapshot.

-------------
Mark Doubson, Ph.D.


Posted By: Boris
Date Posted: 13 October 2009 at 4:51pm
Now that's a good question. I don't know the actual answer but I think that the SkinFramework must look for Thunderform class and look for parent object and skin down through child windows?????


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: mdoubson
Date Posted: 13 October 2009 at 4:57pm
I consider this as wrong behaviour. Why running VB app have IDE as parent? Not suppose to...
 
This is snapshot with Formula tooltip after style applied (again - core-generated):
 


-------------
Mark Doubson, Ph.D.


Posted By: Boris
Date Posted: 13 October 2009 at 5:04pm
Hi
 
I wouldn't disagree.. however my users don't see it so it doesn't worry me that much.
 
Cheers
 
 


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: mdoubson
Date Posted: 13 October 2009 at 5:12pm
You never know under which shell your app will run - right?

-------------
Mark Doubson, Ph.D.


Posted By: Boris
Date Posted: 13 October 2009 at 5:15pm
If you mean do I know which operating systems yes. I am fairly sure of that. I have code to detect Vista etc etc
Why do you ask?

-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: mdoubson
Date Posted: 13 October 2009 at 5:31pm
No - I already run compiled exe in Windows Explorer - it keep original style - not like VB6 IDE. But if user create own container app to run different small exe inside (e.g. on some button click or menu item)? Btw - did you see my formula tooltip shapshot I add in prev post?

-------------
Mark Doubson, Ph.D.


Posted By: Boris
Date Posted: 13 October 2009 at 5:40pm
I think you mean one of the posts above.. you posted the calendar control to it. . . . . . .????

-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: mdoubson
Date Posted: 13 October 2009 at 5:48pm
No - this is report control with formulas - App title = "Fill values and press Shift + F5"
Before today's modifications this tooltip was also yellow...

-------------
Mark Doubson, Ph.D.


Posted By: Boris
Date Posted: 13 October 2009 at 6:01pm
I am sorry.. didn't see that. It's 23:00 here now must be flagging. lol
 
I promise I will check that out too. Am away on leave from tomorrow night so don't think I am ignoring your posts.
 
Thanks for all you've done
 
Best regards
 
 


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net