Welcome to Foxite.COM Community Weblog Sign in | Join | Help

The text is more longer than the width of DropDownList?

In some cases the user can't see the complete text when the description of the text is more longer than the width of the DropdownList however we can implement an easy solution into VB2008 (this found into the old versions):

 

If Not Me.Page.IsPostBack Then

   For Each list As ListItem In Me.DropDownList1.Items

      list.Attributes.Add("title", list.Text)

   Next

End If

 

Franklin Garzón

MVP Visual FoxPro

Published Sunday, July 13, 2008 12:05 AM by frankling
Filed Under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

What do you think?

(required) 
required 
(required)