Named elements in a trailing footer not in the editor

In Servoy 2.2.5, WIN XP, I am trying to see a named element in a Trailing Subsummary part of a report, so I can change it’s .visible property before printing.

Problem is, I can name the element, but it’s not showing up in the servoy method editor Navigator panel as an element on that form, so I can’t reference it with a method. If I move the same element to the body and save the form, it now appears as a named element in the servoy editor. I move it back and it disappears.

Is this a known issue? I looked in the guide, but can’t find a mention of this behaviour.

In the menu of the method editor, there is a refresh-button!

or just go to browse-mode and back to design-mode.
that will bring up the element-name also.

but indeed, it would be handy, if the element-name appears directly

Thanks Harjo. That actually answers a different question I was wondering about! (but not this one)

Please check if you get the same behaviour as I’ve described. When I move an element with the name property set from the Body of a form to a Trailing subsummary, then hit Refresh, the element disappears from the list of named elements in the Navigator panel. Same for elements in Leading Subsummary, and Title Footer. All other form parts are fine, you can see the named elements in the Navigator panel. I’ve tried it on a new form, with just one element that I move around.

Any chance this is being addressed in Servoy 3?

You can’t programmatically control objects that are not in the header, body or footer parts. The summary parts are for printing only, and only show up in print preview.

You can use a calculation that “empties” itself out in those parts.

Hope this helps.

OK, thanks Bob., it’s good to get a definitive answer. Is there a behind-the-scenes rationale for this aspect of Summary parts? Why some types of summary parts yet not others. For example, I can programmatically access named elements in Grand Summary parts but not Subsummary parts. I can control elements in a Title Header, but not a Title Footer. Seems a bit random to the untrained eye, perhaps?

What I want to do is print or hide a logo in a trailing subsummary, because a footer will print at the bottom of every page. I just want it to print at the end of each break - the trailing subsummary.