View Single Post
  #1 (permalink)  
Old July 22nd, 2012, 06:53 PM
Cia9410 Cia9410 is offline
Registered User
Points: 22, Level: 1
Points: 22, Level: 1 Points: 22, Level: 1 Points: 22, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2012
Location: San Diego
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 13 - try it example

Two questions:

1. how do you move the focus to the calculate button (NewItemForm) after user has entered value in text box "Quantity" and hits the Tab key? On my attempt, you hit Tab and it goes to the next text box which is where your calculated value should be.

2. on my attempt, program runs fine through all the steps up through "btnOK" event handler but then it just dies at "End Sub" line and never goes back to main form so values are not dropped onto the listview. I used debugger to step through the process in the downloaded solution that I got from the Wrox website and it sure looks like the code is the same and the properties on key controls are the same. After working with the original code in debugger for about 20 minutes it started doing the same thing; stopping at the end of btnOK routine.

Shut down, brought up a fresh copy of 13 TryIt and it worked fine. Is VB this sensitive?