Re: VFP6: Tab Order Issue (I think)

Author: Desmond Lloyd

Posted: 2015-03-05 at 10:52:11

An impressive answer indeed, thank you so much! I think so (not having

looked at the particular details of my code yet ).

I will post a reply later today...

Thank You Again,

Desmond

On 5 March 2015 at 10:43, Dave Crozier <DaveC@flexipol.co.uk> wrote:

> ... 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/CAAJXvaP+FMG0txhk2LCS32LB0SZS79ZbkFMq3EN=DqxyRc+XTQ@mail.gmail.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.

©2015 Desmond Lloyd