VB6 SetFocus From Module to Form Problem - TechRepublic
General discussion
April 7, 2006 at 10:26 AM
stevenicoloff

VB6 SetFocus From Module to Form Problem

by stevenicoloff . Updated 18 years, 9 months ago

I have a problem with the SetFocus command in VB6 that I am hoping someone can help me with. From the main module I access a from call frmMain, that pops up a window. The user can click on Run, Cancel, Exit, etc. However, unless I exit the main program, no action is allowed, the computer just beeps if they click on Run. I am trying to come up with a way to set the focus to the form so user interaction is allowed. I dont want to exit Main in order to pass control to the form. Does anyone have any suggestions?
Thanks
Steve

This discussion is locked

All Comments