<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Change the stretch mode.
syntax
SetStretch(
viewName,
mode
)
Parameters
viewName
Type:
character
Specify the target view name. The view name to specify is"About form names and view names"See.
Stretch mode.
"NONE" - no stretching
"STRETCH_FULL" - Stretch to fit the size of the dialog.
"STRETCH_KEEPRATE" - Stretch the image to fit the size of the dialog (keep aspect ratio)
"DEFAULT" - Same as the default value (main view's Stretch state)
Return Value
Boolean
FALSE - Failure. TRUE - Success.
Explanation
Supported
×
Script Action
Can be used in server script Ver2 actions
○
Browser script
Can be used in browser scripts
Calculation formula syntax
Can be used in expression syntax (e.g. bind syntax)
reference
OpenForm
OpenViewForm
OpenPrevForm
OpenNextForm
ClearFormHistory
OpenHomeForm
GetCurrentForm
GetForm
IsHavePrevForm
IsHaveNextForm
OpenHiddenForm
AddResourceFile
OpenFile
OpenBrowser
CloseBrowser
OpenApplication
OpenApplicationFile
ShowFullScreen
ShowTaskbarIcon
RefreshScreen
ZoomIn
ResetZoom
SetZoom
GetZoom
SetZoomInRatio
GetZoomInRatio
SetStretch
GetActiveDialogName
GetActiveViewName
GetAllDialogName
SetModalDialog
ShowDialog
BringDialogToTop
BringBrowserToTop
SetDialogState
EnableDialogMenu
GetMenuCandidate
SetBrowserState
GetBrowserState
GetBrowserType
ShowComment
UpdateTitle
SetMouseCursor
GetChildObj