On Tue, Apr 23, 2024 at 4:22 PM Joe Yoder <j...@wheypower.com> wrote:

>
> The Spaces listbox lost focus event calls the requiry event of the Units
> listbox to update the choices that appear in the Units list box
>

At the event LostFocus(), the Spaces listbox hasn't finished its series of
actions. Specifically, I think it is not until the Valid() event is
completed that the listbox considers the data change valid, and updates the
.Value of the control. You might want to try updating the Valid event with
something like:

DODEFAULT && to let the Control get its new .Value, then
ThisForm.lboUnits.Requery()

or similar.

(confirm this, as I haven't used Fox in a decade or so)


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/cacw6n4v9fs35s_puqo2skqqv0jkv8lyeyoi4knkvqe9c7c+...@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.

Reply via email to