TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nicolas
NA
1
0
ListView resizing, scrollbar
May 8 2006 11:01 AM
Hi, I am using a listview in view.list. I need to know how I could make the scrolling bar larger in order to have it really usefull on a PDA. Actually, I am trying to make a program that will avoid the use of the stylus. I therefore need to have a scrolling bar larger (my thick fingers cannot grab the scrollbar :-)). Also, I am using the same listview over and over (always in view.list mode), clearing the text that it contains and putting new text. The only problem I am having with that is the size of the column that do not change automatically everytime I have new text. i.e.: I put the text {a, ab, abc}. Then I clear the text. And finally I put {a, b, c}. The columns will still have the width of the first input. Anybody have any idea how I could make the width dynamically resizing everytime I am clearing it and putting new items? I know that I could use something like: myListView.columns[0].width = -1; // -1 standing for the automatic resizing. The problem with this is that I have no column in myListView.columns[] (looked through the debug mode, after having a null reference). It is because I am using myListView.view = view.list and not myListView.view = view.details or something else. If anybody could help, I would really appreciate. Thank you
Reply
Answers (
0
)
Change a value in a form from a different class
Need help please