|
-
Dec 4th, 2007, 05:16 AM
#1
Thread Starter
Hyperactive Member
Control array of Woka Custom Tooltips Problem
Custom tooltips from Woka,
http://www.vbforums.com/showthread.php?t=297009&page=2
Hi all,
Anyone have experience working with Woka Custom tooltips Program ?
I'm facing a problem that the tooltip could not work with control array.
Can anyone guide me a solution ?
Thanks a million :-)
Where there is no hope, there can be no endeavor.
There are two ways of rising in the world, either by your own industry or by the folly of others.
-
Dec 4th, 2007, 07:44 AM
#2
Re: Control array of Woka Custom Tooltips Problem
What is the specific code you are using that is blowing up on you?
-
Dec 4th, 2007, 07:50 AM
#3
Re: Control array of Woka Custom Tooltips Problem
I see you replied to his code bank thread so he should be replying soon but if its his original code then perhaps some modification will be needed to accomodate this.
The tips are added to a collection of tips but what part are you having trouble with setting the tip to the control?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 4th, 2007, 08:14 AM
#4
Re: Control array of Woka Custom Tooltips Problem
Wouldnt you just pass the control array item to the tooltip collection?
mobjTips.Item(SomeControl).Text = SomeControl(index).Tag
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 4th, 2007, 07:15 PM
#5
Thread Starter
Hyperactive Member
Re: Control array of Woka Custom Tooltips Problem
Thanks all for replying my post and sorry for my late reply because time zone of my country is different >.<
I had tried a lot of way to accomplish the function i need. first at all, i introduce the thing i need. I create a lot of picturebox in runtime with control array cause it would make me easy to control the event. When the user mousemove the picturebox control the custom tooltips will pop up tooltip to display the information i need which retrieved from database. I tried to createtips when form loading but it would not allowed me to do so because the custom tooltips from woka seem could not support control array.
Thus, i try createtips in mousemove event. I set the mobjtips = new tooltips to recreate object. But still cannot..
For the collection suggestion from rob is a solution suggested from woka. But i have no idea when should add the collection. Is it modify the code from class and recreate the dll file ?
Where there is no hope, there can be no endeavor.
There are two ways of rising in the world, either by your own industry or by the folly of others.
-
Dec 4th, 2007, 08:28 PM
#6
Re: Control array of Woka Custom Tooltips Problem
Well you need to populate the .Tag property of the picturebox for each array element. Then you can use code like I posted to create the tooltip text.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 5th, 2007, 12:33 AM
#7
Thread Starter
Hyperactive Member
Re: Control array of Woka Custom Tooltips Problem
Thanks Rob..
Assume
Picture(0) as predefine control of picturebox.
I add the less of picturebox by Load Picture(i) 'i would be increased due with record retrieving from database.
After all picturebox have been loaded.
I will createtips on which control array of picturebox ?
vb Code:
mobjtips.add picturebox(?),tiptext,tooltipstyle
Is it i merely need to add one picture box to mobjtips tooltips object ?
If i do so, seem i need to mousemove to the control I added, the tips only would be show.
Because the demo provided by woka is using one listview. The tipstext show depend on listview item tag.
Can Rob correct me ?
Where there is no hope, there can be no endeavor.
There are two ways of rising in the world, either by your own industry or by the folly of others.
-
Dec 5th, 2007, 05:27 AM
#8
Re: Control array of Woka Custom Tooltips Problem
So your saying that you have a picturebox with changing images or multiple pictureboxes?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 5th, 2007, 06:08 AM
#9
Thread Starter
Hyperactive Member
Re: Control array of Woka Custom Tooltips Problem
My form has multiple picturebox with control array.
Where there is no hope, there can be no endeavor.
There are two ways of rising in the world, either by your own industry or by the folly of others.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|