使用系统 TIPTOP GP 3.0 ,当然高版本可以在GDC里面直接设置
其中样式只要是修改4st文件,其目录(/u1/topprod/tiptop/config/4st/tiptop.4st)
用法
OPEN WINDOW w1 WITH FORM "cxm/42f/cxmi999"
ATTRIBUTE (STYLE="udm_tree3", TEXT="udm_tree")
首先看几张图:
贴一段样式代码:
下面是所有的界面的属性
1.颜色(colors)
white #FFFFFF
black #000000
darkGray #A9A9A9
gray #808080
lightGray #D3D3D3
darkBlue #00008B
blue #0000FF
lightBlue #ADD8E6
darkCyan #008B8B
cyan #00FFFF
lightCyan #E0FFFF
darkMagenta #8B008B
magenta #FF00FF
lightMagenta #FFC0FF
darkOlive #505000
olive #808000
lightOlive #AAAA44
darkGreen #006400
green #00FF00
lightGreen #90EE90
darkTeal #005050
teal #008080
lightTeal #33CCCC
darkRed #8B0000
red #FF0000
lightRed #FF8080
darkOrange #FF8C00
orange #FFA500
lightOrange #FFCC00
darkYellow #AAAA00
yellow #FFFF00
lightYellow #FFFFE0
系统颜色
window Window background.
windowText Text in Windows.
buttonFace Face color for three-dimensional display elements.
buttonText Text on PushButtons.
highLight Item(s) selected in a control.
highLightText Text of item(s) selected in a control
infoBackground Background color for tooltip controls.
infoText Text color for tooltip controls.
grayText Grayed (disabled) text.
appWorkSpace Background color of multiple document interface
background Desktop background
Examples:
2.字体风格(Font Families)
serif/sans-serif/cursive/fantasy/monospace
Examples:
3.字体大小(Font Sizes)
fontSize:xx-small, x-small, small, medium, large, x-large, xx-large.
Examples:
4.常见的样式属性(Common Style Attributes)
backgroundImage
backgroundColor
fontFamily
fontSize
fontStyle
fontWeight
textColor
textDecoration
border
5.窗口样式属性(Window Style Attributes)
windowType(normal/modal 默认为:normal)
windowState(normal/maximized 默认为:normal)
windowOptionClose(yes/no/auto 默认为:no)
windowOptionMinimize(yes/no/auto 默认为:no)
windowOptionMaximize(yes/no/auto 默认为:no)
windowSystemMenu(yes/no/auto 默认为:no)
sizable(yes/no/auto 默认为:yes)
position(default/field/center/center2 默认为:default)
border(normal/frame/tool/none 默认为:normal)
forceDefaultSettings
actionPanelPosition(none/top/left/bottom/right 默认为:right)
actionPanelButtonSize
actionPanelButtonSpace
actionPanelScroll
actionPanelScrollStep
actionPanelHAlign
ringMenuPosition
ringMenuButtonSize
ringMenuButtonSpace
ringMenuScroll
ringMenuScrollStep
ringMenuHAlign
toolBarPosition
commentPosition
messagePosition
errorMessagePosition
statusBarType
6.状态栏的类型(Status bar types)
default
lines1
lines2
lines3
lines4
lines5
lines6
panels1
panels2
panels3
panels4
panels5
panels6
panels7
none
7.开始菜单(StartMenu)
startMenuPosition(none/tree/menu/poptree 默认为:none)
startMenuSize(tiny/small/medium/large/huge 默认为:medium)
startMenuShortcut
startMenuAccelerator
startMenuExecShortcut2
8.容器样式属性(MDI Container Style Attributes)
windowMenu
9.表格样式属性(Table Style Attributes)
highlightColor
highlightTextColor
highlightCurrentRow
highlightCurrentCell
showGrid
headerHidden
10.下拉框(ComboBox Style Attributes)
autoSelectionStart
11.日期框样式属性(DateEdit Style Attributes)
firstDayOfWeek
daysOff
buttonIcon
12.标签样式属性(Label Style Attributes)
textFormat
13.进度条样式属性(ProgressBar Style Attributes)
percentageVisible
14.单选按钮样式属性(RadioGroup Style Attributes)
autoSelectionStart
15.文本编辑框样式属性(TextEdit Style Attributes)
textFormat
wrapPolicy
*************************************************************************************************
==== Till good is better, but better best
====“我的努力不会停止,敬请期待吧!”My trying hard will go on!Please wait and see!
*************************************************************************************************