Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 10th, 2006, 8:11 AM   #1
Chesso
Newbie
 
Join Date: Mar 2006
Posts: 7
Rep Power: 0 Chesso is on a distinguished road
Need help with a custom ListBox component.

I have managed to correct or work around all the bugs in this modified component except for one. The source for it is available here:

http://www.chessoscorner.com/DELPHI/CListBox.zip

The last remaining problem I can't seem to solve on my own and could really do with some help. You might have noticed with a normal TListBox that when changing Item selection Either Up or Down beyond the visible bounds, it will scroll smoothly to the next item.

Unfortunately this behaviour does not exist with this component, Instead the selection keeps moving up or down beyond the visible bounds and it does not scroll with it, so you can't see the selection.

There is a line in the source that I have commented that is a temporary fix, it basically sets the selected item as the very top one which makes things very not smooth.

Hope someone understands what I am trying to accomplish and can help .
Chesso is offline   Reply With Quote
Old Mar 12th, 2006, 1:55 AM   #2
Chesso
Newbie
 
Join Date: Mar 2006
Posts: 7
Rep Power: 0 Chesso is on a distinguished road
I have managed to solve this problem.
Chesso is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:52 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC