The SGPopup class enables the client to display pop-up windows (similar to HTML IFRAME) over the 3D window. This class is used in calls to SGWorld::showPopup().
Constructor
|
Name |
Description |
|
Initializes a new instance of the SGPopup class. |
Properties
|
Name |
Description |
|
Left x coordinate where the pop-up will be displayed relative to the 3D window. |
|
|
Top y coordinate where the pop-up will be displayed relative to the 3D window. |
|
|
Width, in pixels or in percentage of the 3D window, of the pop-up window. |
|
|
Height, in pixels or in percentage of the 3D window, of the pop-up window. |
|
|
Caption of the pop-up. |
|
|
A URL that is the source HTML to be displayed in the pop-up window. |
|
|
Time in milliseconds, the pop-up window is displayed. |
|
|
If the src property is undefined, the pop-up window utilizes an HTML page and lets the user modify its innerHTML as in a regular HTML web page. |
|
|
If both src and innerHTML properties are undefined, the pop-up window is a simple text string. The text string is determined via this property. |
|
|
Enable/disable resizing of the pop-up window. |
|
|
Enable/disable dragging of the pop-up window. |
|
|
If true (default), whenever the user resizes the 3D window, the pop-up window jumps back to its original top, left position. |
|
|
An alignment string that specifies the position of the pop-up window. |