VFP9 SP1. I've got a little form with 2 textboxes, a dropdown list, and 
OK/Cancel buttons. I have the tab order set to 
textbox/textbox/list/ok/cancel/, all the controls have tabstop=.T.

There is code in the KeyPress of the form, as follows:

* -- START
Lparameters nKeyCode, nShiftAltCtrl

    Do Case

        Case nKeyCode = 27

            Thisform.EnteredVisitor = ""
            Thisform.EnteredRegistration = ""
            Thisform.EnteredVisitorType = ""

            Thisform.Hide()

        Otherwise

            DoDefault(nKeyCode, nShiftAltCtrl)

    Endcase
* --END

When the form is running, it ignores the tab order completely.

What am I missing?








_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to