• notify()

    From aurora baccio@21:1/5 to All on Mon Oct 17 10:30:46 2022
    good evening,
    I would need to use notify()
    i know i have already made an application using it but i cannot find it.
    i would like an example if possible.
    Basically I need to display the customer's balance on a screen from a_Browse list. I read the customer's code and the balance is displayed next to it, taking it from the tab for the customer in question.
    If there is a faster possibility, I would appreciate the advice, and of course, the example.
    I know I am full of pretensions, but I am not how to do it.
    Thanks for the help.
    Aurora baccio

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Franz Rachbauer@21:1/5 to All on Wed Oct 19 09:46:07 2022
    It's very simple: Each time a record in a DataBrowser, DataListView, DataServer, DataWindow, ...) is moved you have to show balance.
    Regards, Franz

    METHOD Notify(kEvent, uDesc) CLASS YourDataBrowser

    IF kEvent == NOTIFYRECORDCHANGE .OR.;
    kEvent == NOTIFYGOBOTTOM .OR.;
    kEvent == NOTIFYGOTOP
    // Show Balance
    ENDIF

    RETURN SUPER:Notify(kEvent, uDesc)


    Am 17.10.2022 um 19:30 schrieb aurora baccio:
    good evening,
    I would need to use notify()
    i know i have already made an application using it but i cannot find it.
    i would like an example if possible.
    Basically I need to display the customer's balance on a screen from a_Browse list. I read the customer's code and the balance is displayed next to it, taking it from the tab for the customer in question.
    If there is a faster possibility, I would appreciate the advice, and of course, the example.
    I know I am full of pretensions, but I am not how to do it.
    Thanks for the help.
    Aurora baccio

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)