Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Jan 3, 2001

Adding Items in List Boxes as Tooltips


This piece of code lets you display an item in a list box as that list box's tooltip.
  
Private Sub lstItems_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Dim lngIndex As Long
    lngIndex = lstItems.TopIndex + (Y \ TextHeight(
Mitesh Budhabhatti
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap