Set properties in a tile item

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Set properties in a tile item

Post by atostaine »

I thought I recall seeing this answered but couldn't find anything. My tile item is an RP that an image control and another RP that is a popup. If they click the image control, I popup the larger view.

I want to use the larger view for maintenance and inquiry functions, so I need to disable the delete button in the popup.

How can I set a property in the tile item or run my own method after the add_Entry?

Thanks, Art
Art Tostaine
dannyoorburg
Posts: 177
Joined: Mon Jan 04, 2016 9:50 am
Location: Australia

Re: Set properties in a tile item

Post by dannyoorburg »

Hi Art,

it's going to be something like

Add_Entry To_List( #TILES )
(#TILES.CurrentItem.Design *AS #MYTILE).MyMethod( ... )

Hope that helps,
Danny
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Set properties in a tile item

Post by atostaine »

Thank you.
Art Tostaine
Post Reply