relxCreateCustomizedTab
relxCreateCustomizedTab(s_formSymbol) =>nil
Description
Adds a customized tab to the Reliability Options form.
Arguments
Value Returned
Example
Add the following SKILL code in the .cdsinit file to:
(defun relxGetCustomTabName ()
"myCustomTab"
)
(defun relxCreateCustomizedTab (formSymbol)
let((cusTagVertLayout circuitReport circuitReportPath circuitType circuitMode
circuitInclude)
circuitReport = relxAddSetupRelxOption( ?name 'circuitReport
?type 'Boolean
?prompt "Circuit Report"
?defValue nil
)
circuitReportPath = relxAddSetupRelxOption(?name 'circuitReportPath
?type 'string
?prompt "Circuit Report Path"
)
circuitType = relxAddSetupRelxOption( ?name 'circuitType
?type 'radio
?choices list("Static" "Dynamic")
?value "Static"
?prompt " Circuit Type"
)
circuitMode = relxAddSetupRelxOption(?name 'circuitMode
?type 'toggle
?choices list( list( 't1 "Simple")
list('t2 "Complex")
list( 't3 "Intermediate")
)
?value list( t t t)
?itemsPerRow 2
?prompt " Circuit Mode"
)
circuitType = relxAddSetupRelxOption(?name 'circuitInclude
?type 'cyclic
?choices list("Include" "Exclude")
?value "Include"
?prompt "Include Circuit?"
)
cusTagVertLayout = relxAddSetupRelxOption( ?name 'cusTagVertLayout
?type 'verticalBoxLayout
?items list(
list(circuitReport)
list(circuitReportPath)
list(circuitType)
list(circuitMode)
list(circuitInclude)
list('spacer_item 5)
list('stretch_item 5)
)
)
cusTagVertLayout
)
)
The customized tab, myCustomTab is added to the Reliability Options form. The tab displays the fields defined bu using the relxAddSeupRelxOption SKILL function.

Return to top