NetTalk Central

Author Topic: Update browse after popup  (Read 4900 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Update browse after popup
« on: May 03, 2011, 11:21:39 PM »
Hi,

I have a browse (Browse1) in a memory form.
The memory form has a button which activates a popup with another browse (Browse2).
Browse2 has an EIP checkbox.
When a checkbox in Browse2 is switched on or off, a particular session var is altered. This session var contains data which is to be used in the filter settings of Browse1

After I close the popup, I would like the browse in the memory form to reset so the data shown is according to the (new) filter setting.
I would be nice to be able to check first if the session var has been changed first.

Doe anyone know how I can achieve this?

Kind regards,
Rene Simons





Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11302
    • View Profile
Re: Update browse after popup
« Reply #1 on: May 04, 2011, 06:52:12 AM »
In version 5.23
Add the "browse 1" as a reset field to the button. ie on the Client-side tab of the button.

cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Update browse after popup
« Reply #2 on: May 04, 2011, 10:42:40 AM »
Hi,

I already did. But it seems that the routine GotFocusBack is not executed.

p_stage never gets the value equal to Net:Web:FocusBack ( = 8388608)

I checked at embed point:

! Checking p_Stage - the case statement
  ! Start of "Before Stage-Case statement in Form"
  ! [Priority 5000]


The values for p_stage that pass at this point are:
8388608
16384
0
16384

Rene
Rene Simons
NT14.14

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Update browse after popup
« Reply #3 on: May 04, 2011, 02:12:38 PM »
The first 8388608 should'nt be there  ;D
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11302
    • View Profile
Re: Update browse after popup
« Reply #4 on: May 05, 2011, 02:43:02 AM »
I'm made some small tweaks in 5.24 which might affect this - if that doesn't help I guess I'll need an example.