home *** CD-ROM | disk | FTP | other *** search
- FocusPrb: Keeping Track of Last Control After MsgBox Invoked in LostFocus Event
-
- The sample FOCUS.MAK project contains the files FORM1.FRM and FORM2.FRM.
-
- The idea of the sample is to demonstrate how to design your own message box
- for validation checking. Because of the problem with using MSGBOX(ie modal
- window). You can try something like this sample instead. The article that
- talks more on the problem is: Q85856.
-
- You first want to enter some text in the Text1 box. Then press the Tab key
- to move the focus to the next control(ie Text2), you will see a customized
- message box(ie form2) become displayed. Select either the Yes of No button to
- proceed on. If you select the Yes button, then the focus will be in the
- Text2 text box.
-
- The same steps need to be choosen to get the focus from the Text2 text box to
- the Text3 text box.
-
-