怎么设置Label控件的Caption属性文本的对齐方式
怎么设置Label控件的Caption属性文本的对齐方式0 左对齐 1 右对齐 2 中间对齐 $SS_CENTER
$SS_LEFT
$SS_RIGHT
GUICtrlCreateLabel("左右+上下居中",20,20,150,30,BitOR($SS_CENTER,$SS_CENTERIMAGE))
GUICtrlSetBkColor(-1, 0xA6CAF0)
GUICtrlCreateLabel("左+上下居中",20,70,150,30,BitOR($SS_LEFT,$SS_CENTERIMAGE))
GUICtrlSetBkColor(-1, 0xA6CAF0)
GUICtrlCreateLabel("右+上下居中",20,120,150,30,BitOR($SS_RIGHT,$SS_CENTERIMAGE))
GUICtrlSetBkColor(-1, 0xA6CAF0)
GUICtrlCreateLabel("左",20,170,150,30,$SS_LEFT)
GUICtrlSetBkColor(-1, 0xA6CAF0)
GUICtrlCreateLabel("右",20,220,150,30,$SS_RIGHT)
GUICtrlSetBkColor(-1, 0xA6CAF0) $SS_CENTER
$SS_LEFT
$SS_RIGHT 3楼代码很棒
页:
[1]