Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2069

Re: Datawindow Objects

$
0
0

hi sulfath..

i also had the same problem and i posted in scn and i got the same reply as u got it was helpful but did not work for me that much. but i found a solution my own way

String ls_objects,ls_curr,ls_name

ls_objects = dw_1.Describe("datawindow.objects") + "~t"

Do While len(ls_objects) > 0

ls_curr = mid(ls_objects, 1, pos(ls_objects, "~t") - 1)

dw_1.Modify(ls_curr + ".Font.Weight='700'")

ls_name = dw_1.Describe(ls_curr + ".Name")

if (right(trim(ls_name), 2) = "_t") then

dw_1.Modify(ls_curr+ ".Border='6'")

//  dw_1.Modify(ls_curr + ".Background.Mode='1'")

dw_1.Modify(ls_curr + ".Background.Color=0")

end if

ls_objects = mid(ls_objects, pos(ls_objects, "~t") + 1)

Loop


Viewing all articles
Browse latest Browse all 2069

Trending Articles