NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on December 09, 2024, 03:54:14 AM

Title: How to tell if Browse is a CHILD browse as opposed to being called directly
Post by: rjolda on December 09, 2024, 03:54:14 AM
Hi,
C11 NT14.24
I am trying to hide some buttons if a Browse is called as a CHILD BROWSE in a MemoryForm.
Is there something that I can trap to indicate that it is a CHILD in a MemoryForm?
Ron
Title: Re: How to tell if Browse is a CHILD browse as opposed to being called directly
Post by: Alberto on December 09, 2024, 05:32:00 AM
Hi, see loc:parent...

  ! loc:parent is the container (form etc) on which this procedure is embedded.
  loc:parent = p_web.PlainText(lower(p_web.GetValue('_parentProc_')))
Title: Re: How to tell if Browse is a CHILD browse as opposed to being called directly
Post by: rjolda on December 09, 2024, 08:55:20 AM
Alberto,
Got it. Thanks,
ROn