Click here to Skip to main content
15,908,254 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDLL Question Pin
No-e29-Jun-12 5:26
No-e29-Jun-12 5:26 
GeneralRe: DLL Question Pin
Dave Kreskowiak29-Jun-12 6:48
mveDave Kreskowiak29-Jun-12 6:48 
AnswerRe: DLL Question Pin
Luc Pattyn29-Jun-12 7:12
sitebuilderLuc Pattyn29-Jun-12 7:12 
Questiontrojans? Pin
No-e28-Jun-12 8:40
No-e28-Jun-12 8:40 
AnswerRe: trojans? Pin
Wes Aday28-Jun-12 10:35
professionalWes Aday28-Jun-12 10:35 
GeneralRe: trojans? Pin
Abhinav S28-Jun-12 17:36
Abhinav S28-Jun-12 17:36 
AnswerRe: trojans? Pin
Bernhard Hiller28-Jun-12 21:16
Bernhard Hiller28-Jun-12 21:16 
GeneralRe: trojans? Pin
No-e29-Jun-12 5:19
No-e29-Jun-12 5:19 
QuestionEvent on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad28-Jun-12 7:14
Ammar_Ahmad28-Jun-12 7:14 
AnswerRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten29-Jun-12 1:06
Nick Otten29-Jun-12 1:06 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad29-Jun-12 1:44
Ammar_Ahmad29-Jun-12 1:44 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten29-Jun-12 1:54
Nick Otten29-Jun-12 1:54 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad29-Jun-12 2:03
Ammar_Ahmad29-Jun-12 2:03 
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 8:27
Ammar_Ahmad29-Jun-12 8:27 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten1-Jul-12 21:37
Nick Otten1-Jul-12 21:37 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad2-Jul-12 13:29
Ammar_Ahmad2-Jul-12 13:29 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten2-Jul-12 20:36
Nick Otten2-Jul-12 20:36 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad2-Jul-12 23:57
Ammar_Ahmad2-Jul-12 23:57 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten3-Jul-12 0:16
Nick Otten3-Jul-12 0:16 
How do you fill the listbox? with a loop or a data binding?

EDIT:
oke something just shot to my mind. the items you add to your listbox are controls right? i forgot the object name but i've seen the code of those. this means they have a fixed sized right? you could calculate how much fit into your listbox if you read out the length and hight of it.

lets say for example your listbox is 300 pixels wide and 400 pixels high. your controls are 100 wide and 50 high. this would mean you can fit 3 rows of each 8 items = 24 items without scroll bar. so in a 'math' way:
[ammount of items] - (math.floor([with_listbox]/[with_control])+math.floor([hight_listbox]/[hight_control])) = maximum scroll value


-------------------
Ah oke, yea now its making sense Wink | ;) and i already figured it was for Trocket (read the thread about it) when i was helping you with a previous question.
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad3-Jul-12 13:36
Ammar_Ahmad3-Jul-12 13:36 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten4-Jul-12 1:01
Nick Otten4-Jul-12 1:01 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad6-Jul-12 13:24
Ammar_Ahmad6-Jul-12 13:24 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Nick Otten8-Jul-12 20:38
Nick Otten8-Jul-12 20:38 
GeneralRe: Event on Scrolling to the end in flowlayoutpanel Pin
Ammar_Ahmad10-Jul-12 2:32
Ammar_Ahmad10-Jul-12 2:32 

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.