Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Focus / validation

Status
Not open for further replies.

IRslow

Technical User
Nov 6, 2000
4
US
I am printing a file to a PICTURE BOX, 23 lines at a time.
On line 23, I stop printing and enter a loop waiting for
the user to CLICK a command button. In all the events,
I have placed and INPUTBOX to let me know if the program
actually went there (eg : validate, lostfocus, click, etc)
and it NEVER does!!! Can anyone tell me why ? I have tried
setting the CausesValidation property of the command button
to both true and false. Doesn't seem to make a difference.
Once the program enters the loop, the keyboard and the
mouse events are no longer active (with the exception of the
BREAK key). HELP ME (waaaaah! haha) Thanks in advance.
Larry
 
There are several problems regardign the Validate event reported in the MS knowledge base. Have a look e.g. at item Q189923: No Validate event when activating commandbutton.
Although it doesn't exactly describes your problem, it may be helpfull to implement a work around.
 
Hey RvBasic, Thanks for the info / link. You are exactly right, my problem is a little different but, it did allow me to see an alternative. Thanks. Lp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top