NetTalk Central

Author Topic: Determine from where a Memory POPUP form is called  (Read 2693 times)

Johan de Klerk

  • Full Member
  • ***
  • Posts: 217
  • Johan de Klerk
    • View Profile
    • Designer Software
Determine from where a Memory POPUP form is called
« on: October 17, 2023, 05:29:52 AM »
Hi,

I have the same Memory Form that is called as a POPUP from a inline button on a browse and it can also be called from a menu item.
Depending from where it is called from certain fields will be readonly or hidden.

How would I determine from where/who it was called from?

Regards

Johan de Klerk
« Last Edit: October 17, 2023, 05:31:55 AM by Johan de Klerk »
Clarion 10, NT 11.57

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: Determine from where a Memory POPUP form is called
« Reply #1 on: November 14, 2023, 05:23:51 PM »
Hey Johan,

Can you not use loc:Parent?

I use that in a few places where I want to do what you are describing - Change behaviour based on what called the form/browse.
Cheers,

Stu Andrews

Johan de Klerk

  • Full Member
  • ***
  • Posts: 217
  • Johan de Klerk
    • View Profile
    • Designer Software
Re: Determine from where a Memory POPUP form is called
« Reply #2 on: November 14, 2023, 09:09:16 PM »
Hi Stu,

Thanks for your reply.

I think I tried it and if I remember correctly it did not work as expected.

Will try again.

Regards

Johan de Klerk
Clarion 10, NT 11.57