-1
I have a ListView
with several CheckBox
created through the database.
Wanted to CheckBox
as I passed the mouse over, I opened a tooltip with various information from that field.
I’ve tried to do it for the event MouseMove
, but it didn’t work out.
Code of creation of ListView
:
private void Search()
{
mUpdater = new DatabaseUpdaterService();
mUpdater.Initialize(false, null);
DataTable dt = mUpdater.GetVersionCheckBoxToUpdate();
UltraListViewSubItem subItem;
List<UltraListViewSubItem> subItemArray;
foreach (DataRow row in dt.Rows)
{
subItemArray = new List<UltraListViewSubItem>();
subItem = new UltraListViewSubItem();
subItem.Value = row["Path"].ToString();
subItemArray.Add(subItem);
subItem = new UltraListViewSubItem();
subItem.Value = row["LastChanged"].ToString();
subItemArray.Add(subItem);
subItem = new UltraListViewSubItem();
subItem.Value = row["Path"].ToString();
subItemArray.Add(subItem);
UltraListViewItem item = new UltraListViewItem(
row["Version"].ToString(), subItemArray.ToArray());
item.Tag = (int)row["ID"];
this.listView.Items.Add(item);
this.Invalidate();
}
}
Why don’t you use javascript?
– djva
jquery? https://jqueryui.com/tooltip/
– sir_ask
'Cause this is at work, and I can’t use it outside of what we’re working on!
– Ana Carvalho
Do any of the answers meet the request? Do you need anything else?
– Jéf Bueno
No, I finished this part. Thank you all
– Ana Carvalho