Class uifcDialog
Description
GetDialog,
GetComponent,
CreateInParent,
AddPopupMenu,
IsVisible,
SetVisible,
GetComponentClass,
GetComponentClassName,
IsAlwaysAtFront,
SetAlwaysAtFront,
GetBackgroundColor,
SetBackgroundColor,
IsAttachedAtBottom,
SetAttachedAtBottom,
GetBottomOffset,
SetBottomOffset,
GetCursorImage,
SetCursorImage,
GetTextColor,
SetTextColor,
GetHelpTextAlignment,
SetHelpTextAlignment,
GetHelpTextWidth,
SetHelpTextWidth,
GetHelpTextOriginX,
SetHelpTextOriginX,
GetHelpTextOriginY,
SetHelpTextOriginY,
CanInheritPopupMenu,
SetCanInheritPopupMenu,
IsAttachedAtLeft,
SetAttachedAtLeft,
GetLeftOffset,
SetLeftOffset,
DoesReserveSpace,
SetReserveSpace,
GetParentName,
GetPopupMenuName,
SetPopupMenuName,
CanPopupMenuWhenDisabled,
SetCanPopupMenuWhenDisabled,
IsAttachedAtRight,
SetAttachedAtRight,
GetRightOffset,
SetRightOffset,
IsAttachedAtTop,
SetAttachedAtTop,
GetTopOffset,
SetTopOffset,
IsValidDropSite,
SetValidDropSite,
GetValidDropTypeFlags,
SetValidDropTypeFlags,
GetChildNameArray,
DoesAllowTrailRecording,
SetAllowTrailRecording,
CanReduceHeight,
SetCanReduceHeight,
CanReduceWidth,
SetCanReduceWidth GetMinimumWidth,
SetMinimumWidth,
GetMinimumHeight,
SetMinimumHeight,
GetTitleImage,
SetTitleImage,
DoesRememberSize,
SetRememberSize,
GetTitleText,
SetTitleText,
GetHeight,
SetHeight,
GetWidth,
SetWidth,
HasBorder,
SetHasBorder Method Summary
void | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
Method Detail
Hide the Dialog without changing the state of ReserveSpace attribute. This should be used for a secondary window of an application when the primary window is being minimized.
Returns:
Delete a MenuPane from the component.
Returns:
Determine the position of the component, in pixels, relative to its parent.
Returns:
Add a MenuPane to be displayed when the user presses the right mouse button over the component.
Parameters:
component
Returns:
Set the screen position of the Dialog, in pixels.
Parameters:
value
Returns:
Activate the Dialog and also make it the current foreground window, setting the keyboard input focus on to the component specified by FocusComponentName attribute. N.B. This should be used with caution as it will override any window manager settings which control z-order and keyboard input focus.
Returns:
Parameters:
component
gridData
Returns:
Determine the minimum size of the component, in pixels.
Returns:
Reset the size of the Dialog and all of its children, forcing the size to be completely recalculated.
Returns:
Set the size of the Dialog, in pixels.
Parameters:
value
Returns:
Determine the size and screen position of the component, in pixels.
Returns:
Determine the rectangle of the screen upon which the majority of the given component is displayed.
Returns:
Determine the screen position of the component, in pixels.
Returns:
Activate the Dialog, setting the keyboard input focus on to the component specified by FocusComponentName attribute. N.B. This should be used with caution as it will override any window manager settings which control z-order and keyboard input focus.
Returns:
Raise the Dialog to the top of the z-order.
Returns:
Set the size and screen position of the Dialog, in pixels.
Parameters:
rect
Returns:
Show the Dialog without changing the state of ReserveSpace attribute. This should be used for a secondary window of an application when the primary window is being restored.
Returns:
Delete a component from the parent.
Parameters:
name
Returns:
Determine the size of the component, in pixels.
Returns:
Determine the size and position of the component, in pixels.
Returns:
Returns:
The size of the window-manager decoration at the bottom of the Dialog.
Sets the size of the window-manager decoration at the bottom of the Dialog.
Parameters:
value
Returns:
| DoesMakeActiveOnDisplay | () |
Returns:
Specifies in which cases the Dialog should automatically take the focus.
void | SetMakeActiveOnDisplay | |
Sets specifies in which cases the Dialog should automatically take the focus.
Parameters:
flag
Returns:
Returns:
Flag indicating whether the Dialog generates a OnMove() or a OnSize() dynamically whilst the Dialog is moved or resized, or whether the actions are generated only once the movement has finished.
Sets flag indicating whether the Dialog generates a OnMove() or a OnSize() dynamically whilst the Dialog is moved or resized, or whether the actions are generated only once the movement has finished.
Parameters:
flag
Returns:
Returns:
The name of the component which should receive the keyboard input focus when the Dialog is activated.
If the Dialog is already active then this is also the name of the component within the Dialog which currently has the keyboard input focus.
void | SetFocusComponentName | |
Sets the name of the component which should receive the keyboard input focus when the Dialog is activated.
If the Dialog is already active then this is also the name of the component within the Dialog which currently has the keyboard input focus.
Parameters:
value
Returns:
Returns:
The size of the offset between the top of the Dialog and the top of the screen which contains the Dialog.
Sets the size of the offset between the top of the Dialog and the top of the screen which contains the Dialog.
Parameters:
value
Returns:
Returns:
The width in pixels of the Dialog.
Sets the width in pixels of the Dialog.
Parameters:
value
Returns:
Returns:
Flag indicating whether the Dialog displays a drop-shadow around the bottom and right-hand edges of the window, if permitted to do so by the current OS window manager settings.
Sets flag indicating whether the Dialog displays a drop-shadow around the bottom and right-hand edges of the window, if permitted to do so by the current OS window manager settings.
Parameters:
flag
Returns:
Returns:
The size of the window-manager decoration at the left-hand side of the Dialog.
Sets the size of the window-manager decoration at the left-hand side of the Dialog.
Parameters:
value
Returns:
Returns:
Flag indicating whether the parent of the Dialog should allow keyboard focus traversal into the Dialog, and then onwards to any sibling Dialogs which also have this attribute set.
void | SetCanNavigateIntoParent | |
Sets flag indicating whether the parent of the Dialog should allow keyboard focus traversal into the Dialog, and then onwards to any sibling Dialogs which also have this attribute set.
Parameters:
flag
Returns:
Returns:
The height in pixels of the Dialog.
Sets the height in pixels of the Dialog.
Parameters:
value
Returns:
Returns:
Flag indicating whether the Dialog contains a resizing box at the bottom right-hand corner of the Dialog.
Sets flag indicating whether the Dialog contains a resizing box at the bottom right-hand corner of the Dialog.
Parameters:
flag
Returns:
Returns:
Flag indicating whether the Dialog has a titlebar.
Sets flag indicating whether the Dialog has a titlebar.
Parameters:
flag
Returns:
Returns:
The name of the component of the Dialog which is to be treated as the default button of the Dialog.
The default button is automatically activated when the user hits RETURN or presses the middle mouse button within the Dialog.
Sets the name of the component of the Dialog which is to be treated as the default button of the Dialog.
The default button is automatically activated when the user hits RETURN or presses the middle mouse button within the Dialog.
Parameters:
value
Returns:
Returns:
Flag indicating whether the Dialog should remember its position when it is destroyed so that when it is recreated the Dialog will initially be displayed at the same location.
Sets flag indicating whether the Dialog should remember its position when it is destroyed so that when it is recreated the Dialog will initially be displayed at the same location.
Parameters:
flag
Returns:
Returns:
The accelerator key which, when pressed, will generate a OnClose() for the Dialog.
Sets the accelerator key which, when pressed, will generate a OnClose() for the Dialog.
Parameters:
key
Returns:
| GetInFrontOfDialogName | () |
Returns:
The name of the existing Dialog above which the Dialog should always maintain its position in the z-order.
void | SetInFrontOfDialogName | |
Sets the name of the existing Dialog above which the Dialog should always maintain its position in the z-order.
Parameters:
value
Returns:
Returns:
Flag indicating whether the Dialog contains a window-manager system menu button.
void | SetHasSystemMenuButton | |
Sets flag indicating whether the Dialog contains a window-manager system menu button.
Parameters:
flag
Returns:
Returns:
Flag indicating whether the Dialog contains a window-manager help button.
Sets flag indicating whether the Dialog contains a window-manager help button.
Parameters:
flag
Returns:
Returns:
Flag indicating whether the Dialog should automatically be raised when it is activated.
Sets flag indicating whether the Dialog should automatically be raised when it is activated.
Parameters:
flag
Returns:
Returns:
The x co-ordinate of the position of the Dialog.
Sets the x co-ordinate of the position of the Dialog.
Parameters:
value
Returns:
Returns:
The titlebar icon of the Dialog.
This must be 16x16 pixels and may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
Sets the titlebar icon of the Dialog.
This must be 16x16 pixels and may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
Parameters:
value
Returns:
Returns:
The application-defined class name for the Dialog.
Sets the application-defined class name for the Dialog.
Parameters:
value
Returns:
Returns:
Flag indicating whether the Dialog is maximized (zoomed) (xtrue) or restored (xfalse).
Sets flag indicating whether the Dialog is maximized (zoomed) (xtrue) or restored (xfalse).
Parameters:
flag
Returns:
Returns:
The justification of the title of the Dialog.
LABEL_ALIGNMENT_LEFT | Left justified |
LABEL_ALIGNMENT_CENTER | Center justified |
LABEL_ALIGNMENT_RIGHT | Right justified |
void | SetTitleTextAlignment | |
Sets the justification of the title of the Dialog.
LABEL_ALIGNMENT_LEFT | Left justified |
LABEL_ALIGNMENT_CENTER | Center justified |
LABEL_ALIGNMENT_RIGHT | Right justified |
Parameters:
value
Returns:
Returns:
Flag indicating whether the Dialog contains a window-manager close button. If this attribute is not set then the default value is inherited from the value of SystemMenuButton attribute
Sets flag indicating whether the Dialog contains a window-manager close button. If this attribute is not set then the default value is inherited from the value of SystemMenuButton attribute
Parameters:
flag
Returns:
Returns:
Flag indicating whether to truncate the title of the Dialog with ellipsis if there is insufficient space to display the entire text string.
void | SetCanTruncateTitleText | |
Sets flag indicating whether to truncate the title of the Dialog with ellipsis if there is insufficient space to display the entire text string.
Parameters:
flag
Returns:
Returns:
The name of the command palette associated with the component.
Sets the name of the command palette associated with the component.
Parameters:
value
Returns:
Returns:
The name of the Dialog which is to be treated as the owner of the Dialog.
Sets the name of the Dialog which is to be treated as the owner of the Dialog.
Parameters:
value
Returns:
Returns:
Flag indicating whether the Dialog should automatically be repositioned so that its entire contents are within the bounds of the screen in which the Dialog is contained.
Sets flag indicating whether the Dialog should automatically be repositioned so that its entire contents are within the bounds of the screen in which the Dialog is contained.
Parameters:
flag
Returns:
| CanMakeFrontInBackground | () |
Returns:
Flag indicating whether the Dialog should respond to a MakeFront operation when it is not currently the active foreground process.
void | SetCanMakeFrontInBackground | |
Sets flag indicating whether the Dialog should respond to a MakeFront operation when it is not currently the active foreground process.
Parameters:
flag
Returns:
Returns:
The size of the window-manager decoration at the right-hand side of the Dialog.
Sets the size of the window-manager decoration at the right-hand side of the Dialog.
Parameters:
value
Returns:
Returns:
Flag indicating whether the Dialog is minimized (iconified) (xtrue) or restored (xfalse).
Sets flag indicating whether the Dialog is minimized (iconified) (xtrue) or restored (xfalse).
Parameters:
flag
Returns:
Returns:
Flag indicating whether the Dialog contains window manager resizing handles on its decorated border, and hence whether it may be resized by the user.
Sets flag indicating whether the Dialog contains window manager resizing handles on its decorated border, and hence whether it may be resized by the user.
Parameters:
flag
Returns:
Returns:
Flag indicating whether the Dialog contains a window-manager maximize button, and hence whether it may be maximized by the user.
Sets flag indicating whether the Dialog contains a window-manager maximize button, and hence whether it may be maximized by the user.
Parameters:
flag
Returns:
Returns:
The size of the offset between the left-hand side of the Dialog and the left-hand side of the screen which contains the Dialog.
Sets the size of the offset between the left-hand side of the Dialog and the left-hand side of the screen which contains the Dialog.
Parameters:
value
Returns:
Returns:
The modal style of the Dialog.
DIALOG_STYLE_PARENT_AND_MENU_MODAL | Pro/E use only | Modal with respect to Menu Manager menus and other Dialogs. |
DIALOG_STYLE_PARENT_MODAL | Use anywhere | Modal with respect to its parent Dialog |
DIALOG_STYLE_APPLICATION_MODAL | Use anywhere | Modal with respect to the entire application |
DIALOG_STYLE_WORKING | Use anywhere | A transient Dialog used only to display some state information, usually refering to the progress of some kind of lengthy operation. |
DIALOG_STYLE_MODELESS | Use anywhere | Modeless |
DIALOG_STYLE_MENU_MODELESS | Pro/E use only | Modeless with respect to Menu Manager menus and other Dialogs. |
DIALOG_STYLE_MESSAGE_MODELESS | Pro/E use only | Modeless with respect to the Message Input Window, Menu Manager menus and other Dialogs. |
Sets the modal style of the Dialog.
DIALOG_STYLE_PARENT_AND_MENU_MODAL | Pro/E use only | Modal with respect to Menu Manager menus and other Dialogs. |
DIALOG_STYLE_PARENT_MODAL | Use anywhere | Modal with respect to its parent Dialog |
DIALOG_STYLE_APPLICATION_MODAL | Use anywhere | Modal with respect to the entire application |
DIALOG_STYLE_WORKING | Use anywhere | A transient Dialog used only to display some state information, usually refering to the progress of some kind of lengthy operation. |
DIALOG_STYLE_MODELESS | Use anywhere | Modeless |
DIALOG_STYLE_MENU_MODELESS | Pro/E use only | Modeless with respect to Menu Manager menus and other Dialogs. |
DIALOG_STYLE_MESSAGE_MODELESS | Pro/E use only | Modeless with respect to the Message Input Window, Menu Manager menus and other Dialogs. |
Parameters:
value
Returns:
Returns:
The y co-ordinate of the position of the Dialog.
Sets the y co-ordinate of the position of the Dialog.
Parameters:
value
Returns:
Returns:
Flag indicating whether the Dialog should size itself to fit within the given space.
Sets flag indicating whether the Dialog should size itself to fit within the given space.
Parameters:
flag
Returns:
Returns:
The size of the window-manager decoration at the top of the Dialog.
Sets the size of the window-manager decoration at the top of the Dialog.
Parameters:
value
Returns:
Returns:
Flag indicating whether the Dialog contains a window-manager minimize button, and hence whether it may be minimized by the user.
Sets flag indicating whether the Dialog contains a window-manager minimize button, and hence whether it may be minimized by the user.
Parameters:
flag
Returns:
Returns:
The corner or edge of the Dialog which should attempt to retain its position on the screen when the size of the Dialog is changed as a result of the contents having been changed in some way.
This may be one of the following values:
ANCHOR_POSITION_TOP_LEFT | Top Left Corner |
ANCHOR_POSITION_TOP_RIGHT | Top Right Corner |
ANCHOR_POSITION_BOTTOM_LEFT | Bottom Left Corner |
ANCHOR_POSITION_BOTTOM_RIGHT | Bottom Right Corner |
ANCHOR_POSITION_TOP | Top Edge |
ANCHOR_POSITION_BOTTOM | Bottom Edge |
ANCHOR_POSITION_LEFT | Left Edge |
ANCHOR_POSITION_RIGHT | Right Edge |
ANCHOR_POSITION_CENTER | Center of the Dialog |
Sets the corner or edge of the Dialog which should attempt to retain its position on the screen when the size of the Dialog is changed as a result of the contents having been changed in some way.
This may be one of the following values:
ANCHOR_POSITION_TOP_LEFT | Top Left Corner |
ANCHOR_POSITION_TOP_RIGHT | Top Right Corner |
ANCHOR_POSITION_BOTTOM_LEFT | Bottom Left Corner |
ANCHOR_POSITION_BOTTOM_RIGHT | Bottom Right Corner |
ANCHOR_POSITION_TOP | Top Edge |
ANCHOR_POSITION_BOTTOM | Bottom Edge |
ANCHOR_POSITION_LEFT | Left Edge |
ANCHOR_POSITION_RIGHT | Right Edge |
ANCHOR_POSITION_CENTER | Center of the Dialog |
Parameters:
value
Returns:
Returns:
The default start location of the Dialog on the screen.
This may either be one of the following values, or a user-defined start-location.
START_LOCATION_DEFAULT | The default location which will depend upon the parent of the Dialog. |
START_LOCATION_TOP_LEFT | Top left of the screen of the parent |
START_LOCATION_TOP | Top of the screen of the parent |
START_LOCATION_TOP_RIGHT | Top right of the screen of the parent |
START_LOCATION_LEFT | Left of the screen of the parent |
START_LOCATION_CENTER | Center of the screen of the parent |
START_LOCATION_RIGHT | Right of the screen of the parent |
START_LOCATION_BOTTOM_LEFT | Bottom left of the screen of the parent |
START_LOCATION_BOTTOM | Bottom of the screen of the parent |
START_LOCATION_BOTTOM_RIGHT | Bottom right of the screen of the parent |
START_LOCATION_CURSOR_TOP_LEFT | Top left corner of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_TOP | Titlebar of the Dialog centered at the position of the cursor |
START_LOCATION_CURSOR_TOP_RIGHT | Top right corner of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_LEFT | Left side of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_CENTER | Center of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_RIGHT | Right side of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_BOTTOM_LEFT | Bottom left corner of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_BOTTOM | Bottom side of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_BOTTOM_RIGHT | Bottom right corner of the Dialog at the position of the cursor |
Sets the default start location of the Dialog on the screen.
This may either be one of the following values, or a user-defined start-location.
START_LOCATION_DEFAULT | The default location which will depend upon the parent of the Dialog. |
START_LOCATION_TOP_LEFT | Top left of the screen of the parent |
START_LOCATION_TOP | Top of the screen of the parent |
START_LOCATION_TOP_RIGHT | Top right of the screen of the parent |
START_LOCATION_LEFT | Left of the screen of the parent |
START_LOCATION_CENTER | Center of the screen of the parent |
START_LOCATION_RIGHT | Right of the screen of the parent |
START_LOCATION_BOTTOM_LEFT | Bottom left of the screen of the parent |
START_LOCATION_BOTTOM | Bottom of the screen of the parent |
START_LOCATION_BOTTOM_RIGHT | Bottom right of the screen of the parent |
START_LOCATION_CURSOR_TOP_LEFT | Top left corner of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_TOP | Titlebar of the Dialog centered at the position of the cursor |
START_LOCATION_CURSOR_TOP_RIGHT | Top right corner of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_LEFT | Left side of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_CENTER | Center of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_RIGHT | Right side of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_BOTTOM_LEFT | Bottom left corner of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_BOTTOM | Bottom side of the Dialog at the position of the cursor |
START_LOCATION_CURSOR_BOTTOM_RIGHT | Bottom right corner of the Dialog at the position of the cursor |
Parameters:
value
Returns:
Returns:
The size of the offset between the right-hand side of the Dialog and the right-hand side of the screen which contains the Dialog.
Sets the size of the offset between the right-hand side of the Dialog and the right-hand side of the screen which contains the Dialog.
Parameters:
value
Returns:
Returns:
The translated text representation of the current value of AcceleratorKey attribute.
Returns:
The size of the offset between the bottom of the Dialog and the bottom of the screen which contains the Dialog.
void | SetScreenBottomOffset | |
Sets the size of the offset between the bottom of the Dialog and the bottom of the screen which contains the Dialog.
Parameters:
value
Returns:
Parameters:
listener
Returns:
Parameters:
action
Returns:
Parameters:
timer
timerName
writeInTrail
Returns:
Parameters:
timerName
duration
Returns:
Parameters:
timerName
Returns: