473,414 Members | 1,599 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

tooltip

Hello.
I´ve got one problem.
I take on form one listview and one tooltip.
I can in listview properties write something to tooltip.
But I want change this text during program running.
I want somethink like this/but this is wrong/
listview.tooltip="Hello"
Thak for answer.
Nov 20 '05 #1
4 1891
Hi,

ToolTip1.SetToolTip(listview,"Hello")

Ken
-----------------
"Rado" <r-****@szm.sk> wrote in message
news:ep*************@TK2MSFTNGP11.phx.gbl...
Hello.
I´ve got one problem.
I take on form one listview and one tooltip.
I can in listview properties write something to tooltip.
But I want change this text during program running.
I want somethink like this/but this is wrong/
listview.tooltip="Hello"
Thak for answer.

Nov 20 '05 #2
* "Rado" <r-****@szm.sk> scripsit:
I take on form one listview and one tooltip.
I can in listview properties write something to tooltip.
But I want change this text during program running.
I want somethink like this/but this is wrong/
listview.tooltip="Hello"


Add a ToolTip control to your form, then use this code:

\\\
Me.ToolTip1.SetToolTip(Me.ListView1, "Foobar")
///

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Dan
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message news:<OY**************@TK2MSFTNGP11.phx.gbl>...
Hi,

ToolTip1.SetToolTip(listview,"Hello")

Ken
-----------------
"Rado" <r-****@szm.sk> wrote in message
news:ep*************@TK2MSFTNGP11.phx.gbl...
Hello.
I´ve got one problem.
I take on form one listview and one tooltip.
I can in listview properties write something to tooltip.
But I want change this text during program running.
I want somethink like this/but this is wrong/
listview.tooltip="Hello"
Thak for answer.


How do you set a button's tooltip text programmatically? I only see a
way to do it at design time.
Nov 20 '05 #4
* da****@sourcekid.com (Dan) scripsit:
ToolTip1.SetToolTip(listview,"Hello")

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
How do you set a button's tooltip text programmatically? I only see a
way to do it at design time.


--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Yves Royer | last post by:
Hi, I'm currently writing an application (in VS 2005 bèta 2) and made some own user controls. In each user control I added a ToolTip object so i can set some tooltips on checkboxes etc. What...
0
by: Yves Royer | last post by:
Hi, My first post didn't show up so here's a second try. I'm currently writing an application (in VS 2005 bèta 2) and made some own user controls. In each user control I added a ToolTip object...
0
by: EricL | last post by:
Hello, I have written a Custom Control which inherits from ToolTip and it is an OwnerDraw tooltip. In the Popup event I calculate the size of the tooltip I need to display (rather large...
0
by: EricL | last post by:
Hello, I have written a Custom Control which inherits from ToolTip and it is an OwnerDraw tooltip. In the Popup event I calculate the size of the tooltip I need to display (rather large...
4
by: rn5a | last post by:
A DataList displays 3 columns - Product, Category & Price. These columns are populated with records from a SQL Server 2005 DB table. Apart from the above 3 DB columns that the resultset retrieves,...
5
by: =?Utf-8?B?cGV0ZTE5Njk=?= | last post by:
I use Visual Studio 2005 and created a very simple Form with one button. I added a Tooltip for that button. It shows fine the first time I hover over that button. But if I let it disappear by the...
0
by: walve_wei | last post by:
<1>use the D3D control panel, enable the debug DLL and maximum validation,for D3D control panel ,you need to install the directx sdk. <2>Start up the debug monitor (<MSVC install...
6
by: john | last post by:
I have the following textbox setup with Text & ToolTip Bindings as follows; I'm using Visual Studio 2008 VB: <asp:TextBox ID="txtDay1" runat="server" Text='<%# Eval("Day1") %>'...
3
omerbutt
by: omerbutt | last post by:
hi there i have downloaded a prototype tooltip from http://www.nickstakenburg.com/projects/prototip/ the logic it uses is to call the script after creating the <div> for example i am using the...
16
by: Charles Law | last post by:
I have to take this personally now. Tooltips have been flakey since the dawn of .NET, but to still have to put up with a disappearing tooltip in VS 2008 is getting beyond a joke. Tooltips have...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.