Click here to Skip to main content
15,845,308 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionEvent on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad28-Jun-12 8:14
Ammar_Ahmad28-Jun-12 8:14 
AnswerRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten29-Jun-12 2:06
Nick Otten29-Jun-12 2:06 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad29-Jun-12 2:44
Ammar_Ahmad29-Jun-12 2:44 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten29-Jun-12 2:54
Nick Otten29-Jun-12 2:54 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad29-Jun-12 3:03
Ammar_Ahmad29-Jun-12 3:03 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten29-Jun-12 3:54
Nick Otten29-Jun-12 3:54 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad29-Jun-12 9:27
Ammar_Ahmad29-Jun-12 9:27 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten1-Jul-12 22:37
Nick Otten1-Jul-12 22:37 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad2-Jul-12 14:29
Ammar_Ahmad2-Jul-12 14:29 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten2-Jul-12 21:36
Nick Otten2-Jul-12 21:36 
Did you recalculate the max value of your scrollbar? if your listbox is of a differed size then mine (witch it probably is) you have to recalculate it.

just run the program. dont scroll and see how many items fit into the listbox (for me that where 18). you want to do the index - [the number you found]. after that it should work.

VB
maxscroll = index - 18 'calculate max value. everytime you add a item you have to do this again. to calculate this its a bit of a trail and error thing depending on your control

GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad3-Jul-12 0:57
Ammar_Ahmad3-Jul-12 0:57 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten3-Jul-12 1:16
Nick Otten3-Jul-12 1:16 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad3-Jul-12 14:36
Ammar_Ahmad3-Jul-12 14:36 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten4-Jul-12 2:01
Nick Otten4-Jul-12 2:01 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad6-Jul-12 14:24
Ammar_Ahmad6-Jul-12 14:24 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten8-Jul-12 21:38
Nick Otten8-Jul-12 21:38 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad10-Jul-12 3:32
Ammar_Ahmad10-Jul-12 3:32 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten10-Jul-12 4:13
Nick Otten10-Jul-12 4:13 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad10-Jul-12 16:15
Ammar_Ahmad10-Jul-12 16:15 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten10-Jul-12 21:41
Nick Otten10-Jul-12 21:41 
AnswerRe: Event on Scrolling to the end in flowlayoutpanel Pin
Luc Pattyn29-Jun-12 3:56
sitebuilderLuc Pattyn29-Jun-12 3:56 
JokeRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten29-Jun-12 4:01
Nick Otten29-Jun-12 4:01 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Luc Pattyn29-Jun-12 5:19
sitebuilderLuc Pattyn29-Jun-12 5:19 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten29-Jun-12 5:31
Nick Otten29-Jun-12 5:31 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad29-Jun-12 9:28
Ammar_Ahmad29-Jun-12 9:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.