Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Conditional formatting for form depending on run from home or in iframe

Questions related to using nuBuilder Forte.
Post Reply
nathan
Posts: 40
Joined: Tue Apr 19, 2022 9:18 pm
Been thanked: 3 times

Conditional formatting for form depending on run from home or in iframe

Unread post by nathan »

Hi I have a form that I want to run from start menu and also in an iframe of another form I would like to change certain properties depending on were it is run from.
Ex: Colum widths of browse, set values of objects…
How can I determine whether it is stand alone or in iframe of a form so that I can apply different code to the form?

Thank you in advance for your great help !!! :ponder: :ponder:
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Conditional formatting for form depending on run from home or in iframe

Unread post by kev1n »

Hi nathan,

Use the function nuIsIframe() to detect if the form is within an iframe.
Post Reply