Modify Control Property in ListPage Interaction Class

Hi,

since it’s not possible to set methods on a listpage form, I need to work with the listpage interaction class.

My question now is, I want to set the label property of a control by code. This was easily done through Autodeclaration and then using “Controlname.label(“blabla”)” in code.

But now I have problems to do this in the interaction class.
How can I get the control object and set its property?

Hello,
you can do it in init of ListPageInteraction class. You can set ListPageInteraction clas in properties of Form (InteractionClass).

For further help please read this manual http://www.axaptapedia.com/Runtime_form_controls