Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DIM page_fields[3] as P
- with page_fields[1]
- .display = "{B=White,Light Blue}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{Data=e0e6f7f8-2040-43b9-97f3-e8edb7269c61}{I:'$$control.edit'} [fromDateEst]"
- .displayODFlat = "{Data=e0e6f7f8-2040-43b9-97f3-e8edb7269c61}{I:'$$control.edit'} [fromDateEst]"
- .displayOD = "{B=White,Light Blue}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{Data=e0e6f7f8-2040-43b9-97f3-e8edb7269c61}{I:'$$control.edit'} [fromDateEst]"
- .displayODtree = "{B=White,Light Blue}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{Data=e0e6f7f8-2040-43b9-97f3-e8edb7269c61}{I:'$$control.edit'} [fromDateEst]"
- .controltype = "dialog_formcontrol"
- .idInternal = "e0e6f7f8-2040-43b9-97f3-e8edb7269c61"
- .inRepeatingSection = .F.
- .repeatingSectionParentId = -1
- .crc = "4294919103"
- .lastIndex = 0
- .parentContainer = 45
- .inPanelCard = .T.
- .inTreeControl = .F.
- .parentTabPaneIndex = 44
- .indentTree = 5
- .v.comment = ""
- .v._dirty = .F.
- .v.controlType = "Textbox"
- .v.variableName = "fromDateEst"
- .v.type = "Date"
- .v.isArray = .F.
- .v.controlContainerClass = ""
- .v.controlContainerPreventFloat = .F.
- .v.forceFieldTypeToLogical = .F.
- .v.computeSummaryValues = .F.
- .v.maxLength = -1
- .v.fieldBubbleHelp = ""
- .v.labelBubbleHelp = ""
- .v.hasWatermark = .F.
- .v.watermark.text = "<FieldLabel>"
- .v.watermark.class = ""
- .v.watermark.style = ""
- .v.incontrolButtons.has = .F.
- .v.incontrolButtons.isDefined = .F.
- .v.hasLookup = .F.
- .v.lookup.Type = ""
- .v.lookup.editCombo.openLookupOnFocus = .F.
- .v.textboxHTML5Type = ""
- .v.textboxSubTheme = ""
- .v.textboxAutocorrect = .T.
- .v.textboxAutoCapitalize = .T.
- .v.label = "From Date Est"
- .v.defaultValue = ""
- .v.blankDefaultIfVarNotFound = .F.
- .v.displayformat = ""
- .v.displayUnformat = ""
- .v.hide = .F.
- .v.customAttributes = ""
- .v.readonlyAttribute = .F.
- .v.disabledAttribute = .F.
- .v.controlJavascript = ""
- .v.captchaControl = .F.
- .v.class = "<Default>"
- .v.style = ""
- .v.width = ""
- .v.height = ""
- .v.autogrow = .F.
- .v.smartFieldContainerStyle = ""
- .v.breakType = "None"
- .v.breakHeight = ".1in"
- .v.breakHorizontalSpace = ".1in"
- .v.breakHeight2 = ""
- .v.breakHorizontalSpace2 = ""
- .v.validationXbasic = ""
- .v.validationRules = ""
- .v.validationSettings.general.EnableRules = .F.
- .v.validationSettingsDefined = .F.
- .v.labelClass = "<Default>"
- .v.labelStyle = ""
- .v.labelPosition = "Above"
- .v.labelWidth = "{Global.LabelWidth}"
- .v.labelAlignment = "Left"
- .v.repeatingSectionColumnHeading = "<FieldLabel>"
- .v.repeatingSectionColumnWidth = ""
- .v.password = .F.
- .v.embeddedJavascriptControl = .F.
- .v.hasHelp = .F.
- .v.helpID = ""
- .v.helpIcon = "images/$$generic.help.png.a5image"
- .v.showHelpIcon = "None"
- .v.helpIconBehavior = "ShowHelpOnClick"
- .v.initialFocus = .F.
- .v.hasClientSideFormat = .F.
- .v.clientSideFormat.Definition.maskString = ""
- .v.clientSideFormat.Definition.parseOut = ""
- .v.clientSideFormat.type = "Mask"
- .v.calcExpression = ""
- .v.showExpression = ""
- .v.enableExpression = ""
- .v.readOnlyExpression = ""
- .v.getFunction = ""
- .v.setFunction = ""
- .v.clientSideconditionalStyle = ""
- .v.userDefinedClientSideValidationJavascript = ""
- .v.onChange_ValidationOption = "Client-side only"
- .v.securityGroups = ""
- .v.showHideExpn = ""
- .v.dataBinding.updateable = .T.
- .v.dataBinding.tableAlias = ""
- .v.dataBinding.fieldName = ""
- .v.dataBinding.fieldType = ""
- .v.dataBinding.fieldSpec = ""
- .v.dataBinding.nullIfBlank = .F.
- .v.dataBinding.image.base64Encode = .F.
- .v.dataBinding.image.type = "JPG"
- .v.dataBinding.image.scale = ""
- .v.dataBinding.image.fileNameTransformation = ""
- .v.dataBinding.image.noImageFoundImage = "<None>"
- .v.dataBinding.image.newRecordImage = "<None>"
- .v.dataBinding.ink.hasbackgroundimage = .F.
- .v.dataBinding.ink.backgroundimage = ""
- .v.dataBinding.ink.inkunits = 1
- .v.datePicker.friendlyDisplay.enabled = .F.
- .v.datePicker.friendlyDisplay.settingsJSON = ""
- .v.datePicker.display = .T.
- .v.datePicker.timePickerOptionsDefined = .F.
- .v.datePicker.openMethod = "ClickIcon"
- .v.datePicker.useComboBoxes = .T.
- .v.datePicker.dateFormat = "<DefaultDateOnlyFormat>"
- .v.datePicker.lowYear = 1950
- .v.datePicker.highYear = 2050
- .v.datePicker.switchYear = 20
- .v.datePicker.iconNumber = 2
- .v.datePicker.lowDate = ""
- .v.datePicker.highDate = ""
- .v.datePicker.disabledDays = ""
- .v.datePicker.disabledDates = ""
- .v.datePicker.hasDisabledDates = .F.
- .v.datePicker.disabledDatesMethod = "Explicit"
- .v.datePicker.disabledDatesExplicit = ""
- .v.datePicker.disabledDatesJavascript = ""
- .v.datePicker.showDaysOfWeek = .T.
- .v.datePicker.showWeeksOfYear = .F.
- .v.datePicker.showTodayButton = .T.
- .v.datePicker.OKButtonLabel = "OK"
- .v.datePicker.CancelButtonLabel = "Cancel"
- .v.datePicker.lockColumnWidths = .F.
- .v.datePicker.userMustSelectFromDatePicker = .F.
- .v.datePicker.drawBoxAroundDates = .F.
- .v.datePicker.dateItemHoverClassName = ""
- .v.datePicker.dateItemSelectedClassName = ""
- .v.datePicker.dateItemOutOfRangeClassName = ""
- .v.datePicker.dateItemStyle = ""
- .v.datePicker.containerWidth = ""
- .v.datePicker.containerHeight = ""
- .v.datePicker.hasEvents = .F.
- .v.datePicker.event.onItemDraw = ""
- .v.datePicker.event.onClick = ""
- .v.datePicker.event.onRightClick = ""
- .v.datePicker.event.onSelect = ""
- .v.datePicker.event.onNavigate = ""
- .v.datePicker.event.onMonthNavigate = ""
- .v.datePicker.event.onYearNavigate = ""
- .v.datePicker.multiple.allow = .F.
- .v.datePicker.multiple.separators = ".."
- .v.datePicker.hasMask = .F.
- .v.datePicker.format.mask = ""
- .v.datePicker.displayTimePicker = .F.
- .v.specialtype = "None"
- .v.specialtypeJSON = ""
- .v.displayAsSlider = .F.
- .v.listView.class = ""
- .v.flags.clientSideDefinition = .F.
- end with
- with page_fields[2]
- .display = "{B=White,Light Blue}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{Data=b89329d1-0fd0-4ad1-ac98-2ad11dd99bb2}{I:'$$control.edit'} [toDateEst] ¶"
- .displayODFlat = "{Data=b89329d1-0fd0-4ad1-ac98-2ad11dd99bb2}{I:'$$control.edit'} [toDateEst]"
- .displayOD = "{B=White,Light Blue}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{Data=b89329d1-0fd0-4ad1-ac98-2ad11dd99bb2}{I:'$$control.edit'} [toDateEst]"
- .displayODtree = "{B=White,Light Blue}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{Data=b89329d1-0fd0-4ad1-ac98-2ad11dd99bb2}{I:'$$control.edit'} [toDateEst] ¶"
- .controltype = "dialog_formcontrol"
- .idInternal = "b89329d1-0fd0-4ad1-ac98-2ad11dd99bb2"
- .inRepeatingSection = .F.
- .repeatingSectionParentId = -1
- .crc = "4294933626"
- .lastIndex = 0
- .parentContainer = 45
- .inPanelCard = .T.
- .inTreeControl = .F.
- .parentTabPaneIndex = 44
- .indentTree = 5
- .v.comment = ""
- .v._dirty = .F.
- .v.controlType = "Textbox"
- .v.variableName = "toDateEst"
- .v.type = "Date"
- .v.isArray = .F.
- .v.controlContainerClass = ""
- .v.controlContainerPreventFloat = .F.
- .v.forceFieldTypeToLogical = .F.
- .v.computeSummaryValues = .F.
- .v.maxLength = -1
- .v.fieldBubbleHelp = ""
- .v.labelBubbleHelp = ""
- .v.hasWatermark = .F.
- .v.watermark.text = "<FieldLabel>"
- .v.watermark.class = ""
- .v.watermark.style = ""
- .v.incontrolButtons.has = .F.
- .v.incontrolButtons.isDefined = .F.
- .v.hasLookup = .F.
- .v.lookup.Type = ""
- .v.lookup.editCombo.openLookupOnFocus = .F.
- .v.textboxHTML5Type = ""
- .v.textboxSubTheme = ""
- .v.textboxAutocorrect = .T.
- .v.textboxAutoCapitalize = .T.
- .v.label = "To Date Est"
- .v.defaultValue = ""
- .v.blankDefaultIfVarNotFound = .F.
- .v.displayformat = ""
- .v.displayUnformat = ""
- .v.hide = .F.
- .v.customAttributes = ""
- .v.readonlyAttribute = .F.
- .v.disabledAttribute = .F.
- .v.controlJavascript = ""
- .v.captchaControl = .F.
- .v.class = "<Default>"
- .v.style = ""
- .v.width = ""
- .v.height = ""
- .v.autogrow = .F.
- .v.smartFieldContainerStyle = ""
- .v.breakType = "After"
- .v.breakHeight = ".1in"
- .v.breakHorizontalSpace = ".1in"
- .v.breakHeight2 = ""
- .v.breakHorizontalSpace2 = ""
- .v.validationXbasic = ""
- .v.validationRules = ""
- .v.validationSettings.general.EnableRules = .F.
- .v.validationSettingsDefined = .F.
- .v.labelClass = "<Default>"
- .v.labelStyle = ""
- .v.labelPosition = "Above"
- .v.labelWidth = "{Global.LabelWidth}"
- .v.labelAlignment = "Left"
- .v.repeatingSectionColumnHeading = "<FieldLabel>"
- .v.repeatingSectionColumnWidth = ""
- .v.password = .F.
- .v.embeddedJavascriptControl = .F.
- .v.hasHelp = .F.
- .v.helpID = ""
- .v.helpIcon = "images/$$generic.help.png.a5image"
- .v.showHelpIcon = "None"
- .v.helpIconBehavior = "ShowHelpOnClick"
- .v.initialFocus = .F.
- .v.hasClientSideFormat = .F.
- .v.clientSideFormat.Definition.maskString = ""
- .v.clientSideFormat.Definition.parseOut = ""
- .v.clientSideFormat.type = "Mask"
- .v.calcExpression = ""
- .v.showExpression = ""
- .v.enableExpression = ""
- .v.readOnlyExpression = ""
- .v.getFunction = ""
- .v.setFunction = ""
- .v.clientSideconditionalStyle = ""
- .v.userDefinedClientSideValidationJavascript = ""
- .v.onChange_ValidationOption = "Client-side only"
- .v.securityGroups = ""
- .v.showHideExpn = ""
- .v.dataBinding.updateable = .T.
- .v.dataBinding.tableAlias = ""
- .v.dataBinding.fieldName = ""
- .v.dataBinding.fieldType = ""
- .v.dataBinding.fieldSpec = ""
- .v.dataBinding.nullIfBlank = .F.
- .v.dataBinding.image.base64Encode = .F.
- .v.dataBinding.image.type = "JPG"
- .v.dataBinding.image.scale = ""
- .v.dataBinding.image.fileNameTransformation = ""
- .v.dataBinding.image.noImageFoundImage = "<None>"
- .v.dataBinding.image.newRecordImage = "<None>"
- .v.dataBinding.ink.hasbackgroundimage = .F.
- .v.dataBinding.ink.backgroundimage = ""
- .v.dataBinding.ink.inkunits = 1
- .v.datePicker.friendlyDisplay.enabled = .F.
- .v.datePicker.friendlyDisplay.settingsJSON = ""
- .v.datePicker.display = .T.
- .v.datePicker.timePickerOptionsDefined = .F.
- .v.datePicker.openMethod = "ClickIcon"
- .v.datePicker.useComboBoxes = .T.
- .v.datePicker.dateFormat = "<DefaultDateOnlyFormat>"
- .v.datePicker.lowYear = 1950
- .v.datePicker.highYear = 2050
- .v.datePicker.switchYear = 20
- .v.datePicker.iconNumber = 2
- .v.datePicker.lowDate = ""
- .v.datePicker.highDate = ""
- .v.datePicker.disabledDays = ""
- .v.datePicker.disabledDates = ""
- .v.datePicker.hasDisabledDates = .F.
- .v.datePicker.disabledDatesMethod = "Explicit"
- .v.datePicker.disabledDatesExplicit = ""
- .v.datePicker.disabledDatesJavascript = ""
- .v.datePicker.showDaysOfWeek = .T.
- .v.datePicker.showWeeksOfYear = .F.
- .v.datePicker.showTodayButton = .T.
- .v.datePicker.OKButtonLabel = "OK"
- .v.datePicker.CancelButtonLabel = "Cancel"
- .v.datePicker.lockColumnWidths = .F.
- .v.datePicker.userMustSelectFromDatePicker = .F.
- .v.datePicker.drawBoxAroundDates = .F.
- .v.datePicker.dateItemHoverClassName = ""
- .v.datePicker.dateItemSelectedClassName = ""
- .v.datePicker.dateItemOutOfRangeClassName = ""
- .v.datePicker.dateItemStyle = ""
- .v.datePicker.containerWidth = ""
- .v.datePicker.containerHeight = ""
- .v.datePicker.hasEvents = .F.
- .v.datePicker.event.onItemDraw = ""
- .v.datePicker.event.onClick = ""
- .v.datePicker.event.onRightClick = ""
- .v.datePicker.event.onSelect = ""
- .v.datePicker.event.onNavigate = ""
- .v.datePicker.event.onMonthNavigate = ""
- .v.datePicker.event.onYearNavigate = ""
- .v.datePicker.multiple.allow = .F.
- .v.datePicker.multiple.separators = ".."
- .v.datePicker.hasMask = .F.
- .v.datePicker.format.mask = ""
- .v.datePicker.displayTimePicker = .F.
- .v.specialtype = "None"
- .v.specialtypeJSON = ""
- .v.displayAsSlider = .F.
- .v.listView.class = ""
- .v.flags.clientSideDefinition = .F.
- end with
- with page_fields[3]
- .display = "{B=White,Light Blue}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{Data=1cf0edab-5240-4b68-afb6-80266dd71ed2}{I:'$$control.edit'} [daysToAddEst]"
- .displayODFlat = "{Data=1cf0edab-5240-4b68-afb6-80266dd71ed2}{I:'$$control.edit'} [daysToAddEst]"
- .displayOD = "{B=White,Light Blue}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{Data=1cf0edab-5240-4b68-afb6-80266dd71ed2}{I:'$$control.edit'} [daysToAddEst]"
- .displayODtree = "{B=White,Light Blue}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{I:'vertLine'}{Data=1cf0edab-5240-4b68-afb6-80266dd71ed2}{I:'$$control.edit'} [daysToAddEst]"
- .controltype = "dialog_formcontrol"
- .idInternal = "1cf0edab-5240-4b68-afb6-80266dd71ed2"
- .inRepeatingSection = .F.
- .repeatingSectionParentId = -1
- .crc = "4294965503"
- .lastIndex = 0
- .parentContainer = 45
- .inPanelCard = .T.
- .inTreeControl = .F.
- .parentTabPaneIndex = 44
- .indentTree = 5
- .v.comment = ""
- .v._dirty = .F.
- .v.controlType = "Textbox"
- .v.variableName = "daysToAddEst"
- .v.type = "Numeric"
- .v.isArray = .F.
- .v.controlContainerClass = ""
- .v.controlContainerPreventFloat = .F.
- .v.forceFieldTypeToLogical = .F.
- .v.computeSummaryValues = .F.
- .v.maxLength = -1
- .v.fieldBubbleHelp = ""
- .v.labelBubbleHelp = ""
- .v.hasWatermark = .F.
- .v.watermark.text = "<FieldLabel>"
- .v.watermark.class = ""
- .v.watermark.style = ""
- .v.incontrolButtons.has = .F.
- .v.incontrolButtons.isDefined = .F.
- .v.hasLookup = .F.
- .v.lookup.Type = ""
- .v.lookup.editCombo.openLookupOnFocus = .F.
- .v.textboxHTML5Type = ""
- .v.textboxSubTheme = ""
- .v.textboxAutocorrect = .T.
- .v.textboxAutoCapitalize = .T.
- .v.label = "Add Days"
- .v.defaultValue = ""
- .v.blankDefaultIfVarNotFound = .F.
- .v.displayformat = ""
- .v.displayUnformat = ""
- .v.hide = .F.
- .v.customAttributes = ""
- .v.readonlyAttribute = .F.
- .v.disabledAttribute = .F.
- .v.controlJavascript = ""
- .v.captchaControl = .F.
- .v.class = "<Default>"
- .v.style = "text-align: right;"
- .v.width = "100px"
- .v.height = ""
- .v.autogrow = .F.
- .v.smartFieldContainerStyle = ""
- .v.breakType = "None"
- .v.breakHeight = ".1in"
- .v.breakHorizontalSpace = ".1in"
- .v.breakHeight2 = ""
- .v.breakHorizontalSpace2 = ""
- .v.validationXbasic = ""
- .v.validationRules = ""
- .v.validationSettings.general.EnableRules = .F.
- .v.validationSettingsDefined = .F.
- .v.labelClass = "<Default>"
- .v.labelStyle = ""
- .v.labelPosition = "Above"
- .v.labelWidth = "{Global.LabelWidth}"
- .v.labelAlignment = "Left"
- .v.repeatingSectionColumnHeading = "<FieldLabel>"
- .v.repeatingSectionColumnWidth = ""
- .v.password = .F.
- .v.embeddedJavascriptControl = .F.
- .v.hasHelp = .F.
- .v.helpID = ""
- .v.helpIcon = "images/$$generic.help.png.a5image"
- .v.showHelpIcon = "None"
- .v.helpIconBehavior = "ShowHelpOnClick"
- .v.initialFocus = .F.
- .v.hasClientSideFormat = .F.
- .v.clientSideFormat.Definition.maskString = ""
- .v.clientSideFormat.Definition.parseOut = ""
- .v.clientSideFormat.type = "Mask"
- .v.calcExpression = ""
- .v.showExpression = ""
- .v.enableExpression = ""
- .v.readOnlyExpression = ""
- .v.getFunction = ""
- .v.setFunction = ""
- .v.clientSideconditionalStyle = ""
- .v.userDefinedClientSideValidationJavascript = ""
- .v.onChange_ValidationOption = "Client-side only"
- .v.securityGroups = ""
- .v.showHideExpn = ""
- .v.dataBinding.updateable = .T.
- .v.dataBinding.tableAlias = ""
- .v.dataBinding.fieldName = ""
- .v.dataBinding.fieldType = ""
- .v.dataBinding.fieldSpec = ""
- .v.dataBinding.nullIfBlank = .F.
- .v.dataBinding.image.base64Encode = .F.
- .v.dataBinding.image.type = "JPG"
- .v.dataBinding.image.scale = ""
- .v.dataBinding.image.fileNameTransformation = ""
- .v.dataBinding.image.noImageFoundImage = "<None>"
- .v.dataBinding.image.newRecordImage = "<None>"
- .v.dataBinding.ink.hasbackgroundimage = .F.
- .v.dataBinding.ink.backgroundimage = ""
- .v.dataBinding.ink.inkunits = 1
- .v.datePicker.friendlyDisplay.enabled = .F.
- .v.datePicker.friendlyDisplay.settingsJSON = ""
- .v.datePicker.display = .F.
- .v.datePicker.displayTimePicker = .F.
- .v.javascript.onChange = <<%str%
- var fromEst = {dialog.Object}.getValue('fromDateEst');
- var toEst ={dialog.Object}.getValue('toDateEst');
- var addDaysEst ={dialog.Object}.getValue('daysToAddEst');
- var d1 = {dialog.Object}.getValue('fromDateEst');
- var d1 = d1.toFormat('MM/dd/yyyy')
- d1 = new Date(d1);
- var d2 = d1.setDate(d1.getDate() + 7);
- d2 = new Date(d2);
- {dialog.Object}.setValue('toDateEst', d2.toFormat('dd/MM/yyyy'));
- alert(d2);%str%
- .v.specialtype = "None"
- .v.specialtypeJSON = ""
- .v.displayAsSlider = .F.
- .v.listView.class = ""
- .v.flags.clientSideDefinition = .F.
- end with
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement