I've got the same issue on a project I inherited. I even went into the
lostfocus() and tried to send the cursor to the correct object via
setfocus(). Still looking....

JH

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Alan Bourke
Sent: Tuesday, January 29, 2008 4:49 AM
To: [email protected]
Subject: Accursed tab order

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?








[excessive quoting removed by server]

_______________________________________________
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]@shelbynet.com
** 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