Desmond Lloyd wrote on 2015-03-04: > No, it is set to .f. > > On 4 March 2015 at 14:10, Tracy Pearson <[email protected]> wrote: > >> Desmond Lloyd wrote on 2015-03-04: >>> 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 >> >> Desmond, >> >> Is that Edit/Save buttons Default property set to .T. ? >> >> >> Tracy Pearson >> PowerChurch Software >>
Desmond, And nothing is setting it to .T. during the runtime? The only other time I've seen similar behavior is when code was firing in the When event, instead of the Click event. Tracy Pearson PowerChurch Software _______________________________________________ Post Messages to: [email protected] 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/[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.

