FormPopup
Methods Summarized
Type | Name | Summary |
---|---|---|
Get the component form popup will be shown relative to. | ||
Set component form popup will be shown relative to. | ||
Get the popup form dataprovider (which was set using setter). | ||
Set form popup dataprovider that will be set. | ||
Get the popup form height (which was set using setter). | ||
Set form popup height. | ||
Get/Set the onclose function that is called when the closeFormPopup is called. | ||
Get/Set the onclose function that is called when the closeFormPopup is called. | ||
Get the popup form scope (which was set using setter). | ||
Set form popup scope that will be modified. | ||
void | Show form popup using parameters that were set | |
Get the popup form show backdrop (which was set using setter). | ||
Set whether backdrop will be shown. | ||
Get the popup form width (which was set using setter). | ||
Set form popup width. | ||
Get the popup form x location (which was set using setter). | ||
Set form popup x location. | ||
Get the popup form y location (which was set using setter). | ||
Set form popup y location. |
Methods Detailed
component()
Get the component form popup will be shown relative to.
Returns: Object IComponent
Sample
component(component)
Set component form popup will be shown relative to. If null, will use coordinates or show at screen center.
Parameters
Object component the form to show
Returns: FormPopup this The FormPopup itself
Sample
dataprovider()
Get the popup form dataprovider (which was set using setter).
Returns: String String
Sample
dataprovider(dataprovider)
Set form popup dataprovider that will be set. If this is set, also scope needs to be specified.
Parameters
String dataprovider form popup dataprovider
Returns: FormPopup this The FormPopup itself
Sample
height()
Get the popup form height (which was set using setter).
Returns: Number int
Sample
height(height)
Set form popup height. If not set, form design height will be used.
Parameters
Number height form popup height
Returns: FormPopup
Sample
onClose()
Get/Set the onclose function that is called when the closeFormPopup is called. This onClose will get a JSEvent as the first argument, and the return value that is given to the closeFormPopup(retvalue) call.
Returns: Function Function
Sample
onClose(function)
Get/Set the onclose function that is called when the closeFormPopup is called. This onClose will get a JSEvent as the first argument, and the return value that is given to the closeFormPopup(retvalue) call.
Parameters
Function function function that needs to be called when closed
Returns: FormPopup this The FormPopup itself
Sample
scope()
Get the popup form scope (which was set using setter).
Returns: Object Object
Sample
scope(scope)
Set form popup scope that will be modified. If this is set, also dataprovider needs to be specified.
Parameters
Object scope form popup scope to modify
Returns: FormPopup this The FormPopup itself
Sample
show()
Show form popup using parameters that were set
Returns: void
Sample
showBackdrop()
Get the popup form show backdrop (which was set using setter).
Returns: Boolean boolean
Sample
showBackdrop(showBackdrop)
Set whether backdrop will be shown. Default value is false.
Parameters
Boolean showBackdrop form popup showBackdrop
Returns: FormPopup this The FormPopup itself
Sample
width()
Get the popup form width (which was set using setter).
Returns: Number int
Sample
width(width)
Set form popup width. If not set, form design width will be used.
Parameters
Number width form popup width
Returns: FormPopup this The FormPopup itself
Sample
x()
Get the popup form x location (which was set using setter).
Returns: Number int
Sample
x(x)
Set form popup x location. The priority sequence for location is: related element, set location, center of screen.
Parameters
Number x form popup x location
Returns: FormPopup
Sample
y()
Get the popup form y location (which was set using setter).
Returns: Number int
Sample
y(y)
Set form popup y location. The priority sequence for location is: related element, set location, center of screen.
Parameters
Number y form popup y location
Returns: FormPopup this The FormPopup itself
Sample
Last updated