PB in the Data Window column border style only a few, if you want the border color is colored there is no way. In fact, you can use dynamic create rectangle, change the border color of the Data window column, applicable to free format (do not need to wear a coat of the column tag value set to 0).
Global type Gf_setbordercolor from Function_objectend
Typeforward Prototypesglobal subroutine Gf_setbordercolor
(DataWindow ADW, long al_bodercolor) End Prototypesglobal
Subroutine Gf_setbordercolor (DataWindow ADW,
Long Al_bodercolor);//rectangle (Band=detail x= "599")
y= "height=" "Width=" name=r_1
Brush.hatch= "7" brush.color= "1627389951"
"pen.style=" 0 "pen.width=" 5 "
Pen.color= "8421376" background.mode= "1"
Background.color= "553648127") Integer
istring Ls_syntaxfor i = 1 to Integer
(ADW. Object.DataWindow.Column.Count) If
Adw. Describe ("#" +string (i) + ". Visible ") = ' 1 '
and ADW. Describe (ls_objects[i]+ ". Tag")
<> ' 0 ' thenls_syntax + + ' Create rectangle
(band= "+ADW.") Describe ("#" +string (i) + ". Band ")
+ "" Ls_syntax + = ' x= "' + String (Integer
(ADW. Describe ("#" +string (i) + ". X "))-4)
+ ' "' ls_syntax + = ' y= ' + String (Integer
(ADW. Describe ("#" +string (i) + ". Y "))-4)
+ ' "' ls_syntax + = ' height= ' + String
(Integer (ADW. Describe ("#" +string (i) + ". Height ")) + 8)
+ ' "' ls_syntax + = ' width= ' + String
(Integer (ADW. Describe ("#" +string (i) + ". Width ")) + 8)
+ ' "' ls_syntax + = ' name=rborder_ ' + ADW. Describe
("#" +string (i) + ". Name ") Ls_syntax + = '
Brush.hatch= "7" brush.color= "1627389951"
pen.style= "0" pen.width= "5"
Pen.color= "' +string (Al_bodercolor)
+ ' "background.mode=" 1 "background.color=" 553648127 ")
' End Ifnextadw.modify
(Ls_syntax) End subroutine