RE: VFP6: Tab Order Issue (I think)

Author: Dave Crozier

Posted: 2015-03-05 at 10:43:00

... I forgot to add there is also a section on that page that deals with updating data that may shed light on your problem. I wold give it a look myself but currently involved in a time critical task...

Dave

-----Original Message-----

From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Desmond Lloyd

Sent: 04 March 2015 19:26

To: ProFox Email List

Subject: VFP6: Tab Order Issue (I think)

Good Afternoon,

Have an odd problem with a form. Have an edit button with the caption Edit, Clicking on the edit button changes the caption to Save, turn off some other buttons, enable some controls and set focus to a combo control, works great. The only issue is that if I press enter it executes the click code in the edit button, with the caption set to save my update procedure executes. If I tab out of the control it goes to the next field properly.

Even tried setting focus to a text box (thinking for some reason the combo control was the issue), no joy...

I have another form that I do the same thing, setting focus on a text box (in this case) and if I press enter it goes to the next field????

While I am it, in the lost focus of the combo box, if the value is changed I enable a previously disabled control box, works fine if I tab out of the comb box, but if I change the value in the combo box and click on the control that should be enabled by the lost focus, no joy!

What am I missing?

Any input would be most appreciated!

Regards,

Desmond

--- StripMime Report -- processed MIME parts --- multipart/alternative

text/plain (text body -- kept)

text/html

---

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/18725B8CD2D5D247873A2BAF401D4AB2468C7CAB@EX2010-A-FPL.FPL.LOCAL

** 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.

©2015 Dave Crozier