I have used onNavigate function in my project to implement certain functionality and my project is under MVC architecture. But when i use onNavigate function in free form it fails. Is there any substitute for onNavigate function in free form?

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

As the form loads i have used shadowdepth and shadowType property to enable shadow to my flexconatiner, this is present within onNavigate function in respective controller. I have to implement the same in free form. How can i achieve the same?

Hi @Levh Slvtew​ ,

You can use preShow in Freefom and this event is executed every time a form is to be displayed

Please refer below doc for more information,

http://docs.kony.com/konylibrary/visualizer/viz_widget_prog_guide/Content/Form_Events.htm#preShow(

Hello @Advm Mvthis​

Thank you!

This works for me.