Skip to Content
0
Former Member
Nov 28, 2008 at 03:48 PM

How to "close" a view

23 Views

Dear all,

in my application, when I call a view for the first time WDDOMODIFYVIEW gets executed with FIRST_TIME = 'X'.

the second time I call the view even when I already left it to another one in the meanwhile, FIRST_TIME is not X anymore. How can I really "close" a view completly?

The problem is that this view has three inbound plugs, one for creation, one for maintenance and one for display.

In display mode I want to set "READ_ONLY = X" for all my elements. I have a lot of DropDownByIndex elemtents and need to set the leadselection to the values which are assigned to my data record. I wanted to do this in WDDOMODIFYVIEW because during execution of the inbound plug by contextsnodes are not yet updated.

But anyhow: how can I simple free all stuff that is bound to a loaded view when I leave it? I think this is also a question of memory consumption.

Thanks,

Hendrik