Interview Question in Visual Studio 2005


 

Interview Question :: Visual basic .net Scroll bar

Hi, for my assignment i have to build a burger bar checkout system in visual basic (visual studio 2005), the sales staff use a vertical scroll bar to incease the amaount of burgers that are going to be sold.

The problem i am now facing is when the user clicks on the arrows to increase or decrease the scroll bar value, visual basic runs the code which calculates the total before increasing the scroll bar value by 1(it changes the vsbburger.value by 1 at end sub).

Is it possible to get it to increase/decrease the vsbburger.value before it runs the code in the scroll bar.

thanks
by ksk