Packages
Comm
DB
Debug
Input
Interface
Module
Token
User

Objects
bitmapwidget
databasenode
dragdata
textwidget
tokeninstance
widget
widgetcontainer

Elements
buttoncontrol
categoryselectioncontrol
chatentry
chatwindow
databasecontrol
diecontrol
diefield
formattedtextcontrol
formattedtextfield
genericcontrol
imagecontrol
numbercontrol
numberfield
portraitselectioncontrol
script
scrollbarcontrol
scrollercontrol
stringcontrol
stringfield
subwindow
textbasecontrol
tokenbag
tokencontrol
tokenfield
windowclass
windowcontrol
windowinstance
windowlist
windowreferencecontrol
windowreferencefield

Components
categoryselectionsettings
customdie
desktopframe
die
distance
font
framedef
hotkeybar
icon
imageupdatefolder
importinfo
includefile
panel
portraitset
properties
replaces
template
tokenroot
tooltip
onInstanceCreated



Inherits windowcontrol
Context windowinstance

This control is a container and viewing port for a windowinstance object. The created window will always have the same data source as the parent window. By default, the windowinstance object will not be instantiated until the control is visible on screen. (See fastinit tag below)

Using the positioning and sizing functions for the contained windowinstance may have unpredictable results. If resizing of the windowinstance is desired, the size of the parent subwindow control should be changed instead.

A reference to the contained windowinstance object is available from the script environment of the parent subwindow control through the variable subwindow. In the other direction, a reference to the parent subwindow control is available from the contained windowinstance object through the parentcontrol variable.



Definition

<subwindow name="..." >
<class > ... </class> The name of the window class used to create the window
<activate /> If specified, show the control. By default, the control is hidden.
<fastinit /> If specified, instantiate the windowinstance when this control is created. Otherwise, the windowinstance will not be instantiated until control is drawn on screen.
</subwindow>


Interface

onInstanceCreated

event function onInstanceCreated( )

If present, this function is executed when the window instance contained in the subwindow has been created.



'Fantasy Grounds' is a trademark of SmiteWorks Ltd. All other trademarks are the property of their respective owners.
2004-2010 SmiteWorks Ltd. ALL RIGHTS RESERVED.
Privacy policy